From: Kevin D. <Da...@na...> - 2007-02-09 20:40:24
|
>>> 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/si= te_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/p= erl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at /usr/sbin/snmptt = line 3515. Must have to do something with Perl....=20 >>> Patrick Morris <pat...@hp...> 2/9/2007 3:30 PM >>> On Fri, 09 Feb 2007, Kevin DaSilva wrote: > Patrick... >=20 > I am running the service as root. Root is the owner of /var/log, and = everything in that directory. >=20 >=20 > Brian... >=20 > 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=20= that may tell you what your problem is. If it doesn't, try running the=20 handler manually to see if it's choking on something like a missing = Perl=20 module or a file permissions issue somewhere. |