Hi all,

I'm using the monitor Disman event directives in my net-snmp installation but 
I'm facing a problem. One of the directives tells the agent to monitor disk 
space and send a notification if disk space available is lesser than 99% (this 
value is only for test purposes of course). The correspondent lines are:

"...
# Disk Monitoring
disk / 10%
disk /var 99%

monitor -u internal -r 60 -o dskIndex -o dskPath -o dskDevice -o dskAvail -o 
dskErrorMsg "dskSpace" dskErrorFlag == 1
..."

The problem I'm facing is that I only receive one trap (either trapsink, 
trap2sink or informsink work the same) if I restart the snmpd agent (I suppose 
that if I would force the available disk space to set the dskErrorFlag from 
"noerror" to "error" this would work as well, as expected).

So my doubt here is: is this the correct behaviour, or should it send one trap 
for each verification cycle, even if the error flag did not change between the 
verifications (dskErrorFlag = 1)?

Thanks in advance for any help,


Nelson Vale

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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

Reply via email to