Running with net-snmp 5.0.9
I have updated my snmpd.conf to support the monitoring of disk usage,
processes, & load. As soon as snmpd is restarted, I can walk the portion of
the mib holding the monitoring information and can see that erroneous
conditions exist. But the traps are not sent until a while later and on ten
minute intervals.
Can I get snmpd to send traps for monitored events quicker than what I am
currently seeing? What is causing the delay?
My full conf is as follows:
###########################################################################
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#
###########################################################################
rwuser root auth
rocommunity public
rwcommunity public
proc syslogd
proc cron
proc myTest
monitor -r1 -s -i -u root -o prNames.1 -o prErrMessage.1 "SYSLOG" prErrorFlag.1
!= 0
monitor -r1 -s -i -u root -o prNames.2 -o prErrMessage.2 "CRON" prErrorFlag.2
!= 0
monitor -r1 -s -i -u root -o prNames.3 -o prErrMessage.3 "myTest" prErrorFlag.3
!= 0
disk /proc 90%
disk /export/home 50%
disk /tmp 80%
disk /var/run 80%
disk /etc/svc/volatile 80%
disk /var/crash 2%
monitor -r1 -s -i -uroot -o dskPath.1 dskErrorFlag.1 != 0
monitor -r1 -s -i -uroot -o dskPath.2 dskErrorFlag.2 != 0
monitor -r1 -s -i -uroot -o dskPath.3 dskErrorFlag.3 != 0
monitor -r1 -s -i -uroot -o dskPath.4 dskErrorFlag.4 != 0
monitor -r1 -s -i -uroot -o dskPath.5 dskErrorFlag.5 != 0
load 5 3 2
monitor -r1 -s -i -uroot -o laNames.1 laErrorFlag.1 != 0
monitor -r1 -s -i -uroot -o laNames.2 laErrorFlag.2 != 0
monitor -r1 -s -i -uroot -o laNames.3 laErrorFlag.3 != 0
syslocation "System administrators office"
syscontact "System administrator"
sysservices 72
createUser internal MD5 "hello world"
rouser internal
agentSecName internal
trap2sink 192.168.40.215 public 162
trap2sink localhost
trapcommunity public
defaultMonitors yes
authtrapenable 1
- Randy M.
________________________________
This e-mail and any files transmitted with it may be proprietary and are
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the sender.
Please note that any views or opinions presented in this e-mail are solely
those of the author and do not necessarily represent those of Exelis Inc. The
recipient should check this e-mail and any attachments for the presence of
viruses. Exelis Inc. accepts no liability for any damage caused by any virus
transmitted by this e-mail.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users