I set up snmpver.monitor, and it runs properly from the command line. However, even though two of the volumes are too low on space, the monitoring never goes red and no problem is reported. Nothing sticks out in the logs. Thanks for any suggestions. Allyn
 
 
watch SNMP_PWA_R1
    service snmp
       description SNMP query PWA R1 server
       interval 2m
       monitor snmpvar.monitor --community=notpublic
       period wd {Mon-Fri} hr {7am-10pm}
           alertevery 12h
           alertafter 5 10m
           alert mail.alert  -S "PWA_R1 SNMP ALERT!" [EMAIL PROTECTED]
           upalert mail.alert -S "PWA_R1 SNMP up alert!" [EMAIL PROTECTED]
       period wd {Sat-Sun}
           alertevery 24h
           alertafter 10 20m
           alert mail.alert  -S "PWA_R1 SNMP ALERT!" [EMAIL PROTECTED]
           upalert mail.alert -S "PWA_R1 SNMP up alert!" [EMAIL PROTECTED]
 

[EMAIL PROTECTED] mon]# /usr/local/mon/mon.d/snmpvar.monitor --community=notpublic PWA_R1 --list
Host        Variable                         min     value         max  stat
----------------------------------------------------------------------------
PWA_R1      Free Space on PWC Hansen Volu 100000  2588288 KB            OK
PWA_R1      Free Space on PWC HTE Volume  100000    27072 KB            FAIL<
PWA_R1      Free Space on PWC Pegasys Vol 100000   847424 KB            FAIL<
PWA_R1      Free Space on PWC Print Volum 100000   253792 KB            OK
PWA_R1      Free Space on PWC SYS Volume  100000   145728 KB            OK
_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to