Net-SNMP and SNMPTT
Kevin DaSilva
DaSilva at naps.edu
Fri Feb 9 21:11:13 CET 2007
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.
Attached is what I'm seeing in my syslog.
>>> Patrick Morris <patrick.morris at hp.com> 2/9/2007 2:48 PM >>>
On Fri, 09 Feb 2007, Kevin DaSilva wrote:
> I am currently trying to do a standalone setup 1st. My snmptrapd.conf looks like
> traphandle default /usr/sbin/snmptt
>
> Attached is my snmptt.ini
>
> >>> "Brian Loe" <knobdy at gmail.com> 2/9/2007 1:58 PM >>>
> What's your config look like? I found stuff on the 'Net for what I
> wanted to do, and unless you can do the same it can be a struggle.
>
> For snmptrapd.conf I have one line:
> traphandle default /usr/sbin/snmptthandler
>
> For snmptt, snmptt.conf, I have the events I'm looking for and the
> commands I want to run on those events. The snmptt.ini file tells it
> where to log messages, and if its supposed to.
>
> On 2/9/07, Kevin DaSilva <DaSilva at naps.edu> wrote:
> > Well for starters... non of the snmpt logs are being created, but I do see the traps in the system log.
> >
> > For some reason, I don't think I have net-snmp setup correctly.
> >
> > Thanks for the help!
Are the permissions on your log directory set properly for the user
snmptt runs as to write the logs?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: New Text Document (3).txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070209/ae8194f0/attachment.txt>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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