D. Ubevidste | 2 Jan 2008 03:41
Picon

Re: [opennms-discuss] apache mod_ssl mod_proxy (or mod_rewrite) frontend for openms

Alex, Gracious thanks for your suggestion.

I looked at that page closely when I first looked at this project. However, the hassles of supporting a new application in the environment--even one that is the best fit--will probably keep us using Apache, since it is both our web platform and in use as a reverse proxy for several other applications.

I've heard nothing but crickets on web gui access logs, I'll have to dig into this more on my own, I guess.

du


On Dec 29, 2007 9:51 AM, Alex Finger < af <at> genevainformation.ch> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you don't need the functionality of Apache2 you can as well tune to
use nginx; I am running nginx+jetty which makes a lightweight
ssl-frontend.
- -> http://www.opennms.org/index.php/Nginx_and_opennms_1.3.8%2B


(I tried everything: Apache2+Tomcat, Apache2+Reverse Proxy and I like
nginx the best, for simplicity and stability)

/af
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHdl706TZ18FK2jZgRApZPAJsGVNpjcqAeYje9fO3Di05Vh1bvrgCfULAP
49Upj8kzsZdTygx0BNcNWhA=
=qAfh
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
buzzmc | 2 Jan 2008 06:19
Picon
Favicon

[opennms-discuss] Capsd.log -> undeclared throwable exception

RHEL4
OpenNMS 1.3.9

I have what I think is a large number of these errors in my capsd.log  
file:

Undeclared throwable exception caught .....

Seems to be for FTP and SSH only.  I did some searching on the lists  
as well as good and didn't find a lot of info... Seems like it might  
be an OS level thing, too many files open, things like that, but I  
have no idea where to go.

Here's a few lines of the log file:

2008-01-01 21:05:12,136 WARN  [Capsd Suspect Pool-fiber3] SshPlugin:  
SshPlugin: An undeclared throwable exception was caught connecting to  
host x.x.x.x on port 22
java.lang.NullPointerException
	at org.apache.regexp.StringCharacterIterator.isEnd(Unknown Source)
	at org.apache.regexp.RE.match(Unknown Source)
	at org.apache.regexp.RE.match(Unknown Source)
	at org.apache.regexp.RE.match(Unknown Source)
	at org.opennms.netmgt.capsd.plugins.SshPlugin.isServer(SshPlugin.java: 
146)
	at  
org 
.opennms 
.netmgt.capsd.plugins.SshPlugin.isProtocolSupported(SshPlugin.java:287)
	at org.opennms.netmgt.capsd.IfCollector.probe(IfCollector.java:203)
	at org.opennms.netmgt.capsd.IfCollector.run(IfCollector.java:359)
	at  
org 
.opennms 
.netmgt.capsd.SuspectEventProcessor.run(SuspectEventProcessor.java:1401)
	at org.opennms.core.concurrent.RunnableConsumerThreadPool 
$FiberThreadImpl.run(RunnableConsumerThreadPool.java:422)
	at java.lang.Thread.run(Thread.java:595)
2008-01-01 21:05:12,542 WARN  [Capsd Suspect Pool-fiber3] SshPlugin:  
SshPlugin: An undeclared throwable exception was caught connecting to  
host x.x.x.x on port 22
java.lang.NullPointerException
	at org.apache.regexp.StringCharacterIterator.isEnd(Unknown Source)
	at org.apache.regexp.RE.match(Unknown Source)
	at org.apache.regexp.RE.match(Unknown Source)
	at org.apache.regexp.RE.match(Unknown Source)
	at org.opennms.netmgt.capsd.plugins.SshPlugin.isServer(SshPlugin.java: 
146)
	at  
org 
.opennms 
.netmgt.capsd.plugins.SshPlugin.isProtocolSupported(SshPlugin.java:287)
	at org.opennms.netmgt.capsd.IfCollector.probe(IfCollector.java:203)
	at org.opennms.netmgt.capsd.IfCollector.run(IfCollector.java:359)
	at  
org 
.opennms 
.netmgt.capsd.SuspectEventProcessor.run(SuspectEventProcessor.java:1401)
	at org.opennms.core.concurrent.RunnableConsumerThreadPool 
$FiberThreadImpl.run(RunnableConsumerThreadPool.java:422)
	at java.lang.Thread.run(Thread.java:595)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

John Natschev | 3 Jan 2008 02:21
Picon

Re: [opennms-discuss] Windows SNMP CPU graphs

David Hustace wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Dec 13, 2007, at 5:38 PM, David Hustace wrote:
>
>   
>> Fixed this today with a commit having changes to datacollection-
>> config.xml.... please test and let us know if this fixes or you notice
>> any other peculiar behavior.
>>     
>
>
> John? Kurt? Have you any feedback on this?
>
>
>
> David Hustace
> The OpenNMS Group, Inc.
>
>   
Hi David.
Well I've checked this now and it seems that it is all good.  Metrics 
were being collected just not displayed.  The metrics are now being 
displayed too.

Cheers,
John Natschev

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

list mail | 3 Jan 2008 04:40
Picon

[opennms-discuss] Upgrading OpenNMS from 1.3.7 to 1.3.9 on Solairs 10

	
I'm looking to upgrade Opennms from 1.3.7 to 1.3.9 on a Soalris 10  
box. The original install was with a Solaris package, but the  
sourceforge site only has rpm's. Also do I need to install 1.3.8  
first ??

Thanks in advance,

Eric

Original install

# pkginfo -l NMSopennms
    PKGINST:  NMSopennms
       NAME:  opennms
   CATEGORY:  application
       ARCH:  sparc
    VERSION:  1.3.7-1
    BASEDIR:  /opt
     VENDOR:  OpenNMS
     PSTAMP:  Tarus Balog
   INSTDATE:  Oct 03 2007 23:55
      EMAIL:  tarus <at> opennms.org
     STATUS:  completely installed
      FILES:     3906 installed pathnames
                  374 directories
               354568 blocks used (approx)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

buzzmc | 3 Jan 2008 05:41
Picon
Favicon

Re: [opennms-discuss] Capsd.log -> undeclared throwable exception

fyi,

This appears to be preventing OpenNMS from discovering the FTP service  
on several nodes, as well as SSH (though I don't care about this as  
much as ftp).

Not sure if that helps any, but it is what it is.

-b

On Jan 1, 2008, at 9:19 PM, buzzmc wrote:

> RHEL4
> OpenNMS 1.3.9
>
> I have what I think is a large number of these errors in my capsd.log
> file:
>
> Undeclared throwable exception caught .....
>
> Seems to be for FTP and SSH only.  I did some searching on the lists
> as well as good and didn't find a lot of info... Seems like it might
> be an OS level thing, too many files open, things like that, but I
> have no idea where to go.
>
> Here's a few lines of the log file:
>
> 2008-01-01 21:05:12,136 WARN  [Capsd Suspect Pool-fiber3] SshPlugin:
> SshPlugin: An undeclared throwable exception was caught connecting to
> host x.x.x.x on port 22
> java.lang.NullPointerException
> 	at org.apache.regexp.StringCharacterIterator.isEnd(Unknown Source)
> 	at org.apache.regexp.RE.match(Unknown Source)
> 	at org.apache.regexp.RE.match(Unknown Source)
> 	at org.apache.regexp.RE.match(Unknown Source)
> 	at  
> org.opennms.netmgt.capsd.plugins.SshPlugin.isServer(SshPlugin.java:
> 146)
> 	at
> org
> .opennms
> .netmgt.capsd.plugins.SshPlugin.isProtocolSupported(SshPlugin.java: 
> 287)
> 	at org.opennms.netmgt.capsd.IfCollector.probe(IfCollector.java:203)
> 	at org.opennms.netmgt.capsd.IfCollector.run(IfCollector.java:359)
> 	at
> org
> .opennms
> .netmgt.capsd.SuspectEventProcessor.run(SuspectEventProcessor.java: 
> 1401)
> 	at org.opennms.core.concurrent.RunnableConsumerThreadPool
> $FiberThreadImpl.run(RunnableConsumerThreadPool.java:422)
> 	at java.lang.Thread.run(Thread.java:595)
> 2008-01-01 21:05:12,542 WARN  [Capsd Suspect Pool-fiber3] SshPlugin:
> SshPlugin: An undeclared throwable exception was caught connecting to
> host x.x.x.x on port 22
> java.lang.NullPointerException
> 	at org.apache.regexp.StringCharacterIterator.isEnd(Unknown Source)
> 	at org.apache.regexp.RE.match(Unknown Source)
> 	at org.apache.regexp.RE.match(Unknown Source)
> 	at org.apache.regexp.RE.match(Unknown Source)
> 	at  
> org.opennms.netmgt.capsd.plugins.SshPlugin.isServer(SshPlugin.java:
> 146)
> 	at
> org
> .opennms
> .netmgt.capsd.plugins.SshPlugin.isProtocolSupported(SshPlugin.java: 
> 287)
> 	at org.opennms.netmgt.capsd.IfCollector.probe(IfCollector.java:203)
> 	at org.opennms.netmgt.capsd.IfCollector.run(IfCollector.java:359)
> 	at
> org
> .opennms
> .netmgt.capsd.SuspectEventProcessor.run(SuspectEventProcessor.java: 
> 1401)
> 	at org.opennms.core.concurrent.RunnableConsumerThreadPool
> $FiberThreadImpl.run(RunnableConsumerThreadPool.java:422)
> 	at java.lang.Thread.run(Thread.java:595)
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom  
> of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Jeff Gehlbach | 3 Jan 2008 14:54
Favicon

Re: [opennms-discuss] Capsd.log -> undeclared throwable exception


Yo Buzz,

I think this is more likely a configuration issue on the SSH and FTP  
servers.  Are you by any chance using TCP Wrappers on those hosts?

As an experiment, what happens if you telnet from the OpenNMS server  
to port 22 (SSH) and to port 21 (FTP) on one of the problem hosts?   
Under normal circumstances, you should see something like this for SSH:

$ telnet vishnu 22
Trying x.x.x.x...
Connected to vishnu.
Escape character is '^]'.
SSH-2.0-OpenSSH_4.3p2 Debian-8ubuntu1

Same thing for FTP on port 21, except the banner will say something  
like "220 (vsFTPd 2.0.5)" instead of the "SSH-2.0-OpenSSH..." above.

-jeff
Graeme Fowler | 3 Jan 2008 15:10

[opennms-discuss] OpenNMS crashes...

...well, more accurately, the Java VM surrounding OpenNMS does - see
attached error log.

Unfortunately I have next to no idea why this happens - and it happens
in a completely unpredictable way, with no apparent connection between
events. Sometimes it'll run for days or even weeks, and sometimes it'll
die on two consecutive days or more than once on a given day (twice
today).

output.log looks perfectly normal every time, but traps the JVM error
before closing down. Other than that entry, the JVM log is all I've got.

The system is:

Version: 1.3.10-SNAPSHOT
Server Time: Thu Jan 03 14:08:21 GMT 2008
Client Time: Thu Jan 03 2008 14:08:21 GMT+0000 (BST)
Java Version: 1.5.0_13 Sun Microsystems Inc.
Java Virtual Machine: 1.5.0_13-b05 Sun Microsystems Inc.
Operating System: Linux 2.6.23.1-42.fc8 (i386)
Servlet Container: jetty-6.1.5 (Servlet Spec 2.5)

This is opennms-core-1.3.10-0.8094.snapshot, but this has happened with
several other previous versions too. It's very likely a local (ie. not
OpenNMS) problem, but I'm damned if I can work it out.

If anyone can help, that'd be great - if you need more info, just ask.

Thanks

Graeme
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Aaron Scamehorn | 3 Jan 2008 15:23

[opennms-discuss] ucd-sysstat uses deprecated OIDs in datacollection-config.xml

Hello,
 
Some time ago, I submitted a bug for the above (http://bugzilla.opennms.org/show_bug.cgi?id=2170), as well as a patch to datacollection-config.xml to use the proper OIDs.
 
 
The new OIDs are of type counter whereas the old OIDs were of type integer.
 
Problem now is that my SNMP Graphs have the classic "stair step" shape indicating that the type of the OID is not being handled properly.
 
What else must I change for the new OIDs to be graphed properly?  Is this a function of the datacollection, or the RRD?

Thanks,
Aaron
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Jeff Gehlbach | 3 Jan 2008 15:47
Favicon

Re: [opennms-discuss] OpenNMS crashes...


On Jan 3, 2008, at 9:10 AM, Graeme Fowler wrote:
> It's very likely a local (ie. not
> OpenNMS) problem, but I'm damned if I can work it out.

I suspect you're right, JVM crashes are rare and usually point to a  
problem with the system where the JVM is running.

I'd suggest grabbing and installing a Java 6 JDK and configuring  
OpenNMS to use that in place of the Java 5 one you have in place now.   
Just run:

/opt/opennms/bin/runjava -s /path/to/java6sdk/bin/java

And then restart OpenNMS.  There's certainly no guarantee that this  
will fix your problem, but even if it does not, you've at least  
eliminated one variable.

-jeff
Jeff Gehlbach | 3 Jan 2008 16:00
Favicon

Re: [opennms-discuss] ucd-sysstat uses deprecated OIDs in datacollection-config.xml


On Jan 3, 2008, at 9:23 AM, Aaron Scamehorn wrote:
> The new OIDs are of type counter whereas the old OIDs were of type  
> integer.
> Problem now is that my SNMP Graphs have the classic "stair step"  
> shape indicating that the type of the OID is not being handled  
> properly.

Looking at your patch, I see that you did not change the alias names  
of the mibObjs in datacollection-config.xml.  Did you blow away the  
old RRD / JRB files after making this change?  If you did not, then  
the values are still being treated as gauges, since the treatment of a  
given DS is set at the time of RRD creation and cannot be subsequently  
changed.

We would not commit your patch as it stands now because it would cause  
the same problem you've observed on every system where these mibObjs  
have been previously collected.  You would need to change the alias  
names of the new mibObjs and update the netsnmp.interrupts and  
netsnmp.context reports or in snmp-graph.properties to do this the  
right way.

-jeff

Gmane