Fwd: Re: Net-SNMP and SNMPTT

Kevin DaSilva DaSilva at naps.edu
Fri Feb 9 21:40:06 CET 2007



>>> Kevin DaSilva 2/9/2007 3:39 PM >>>
I set to the debug to 2 and no logging... When I try to run the handler manually this is what I get...

nagios1:/sbin # snmptt
Can't locate Config/IniFiles.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at /usr/sbin/snmptt line 3515.


Must have to do something with Perl.... 


>>> Patrick Morris <patrick.morris at hp.com> 2/9/2007 3:30 PM >>>
On Fri, 09 Feb 2007, Kevin DaSilva wrote:

> Patrick...
> 
> I am running the service as root. Root is the owner of /var/log, and everything in that directory.
> 
> 
> Brian...
> 
> Yes, I do see the traps in the syslog. I also changed the severity level to debug and still nothing. Once I start creating these logs, I would like to focus on Nagios and work on some notification.

What's logging looks like it's coming from snmptrapd, not snmptt.

I would definitely turn on debugging in your config: set the level for
both snmptt and snmptthandler to 2.  That should get it to log something 
that may tell you what your problem is.  If it doesn't, try running the 
handler manually to see if it's choking on something like a missing Perl 
module or a file permissions issue somewhere.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list