check_snmp rate
Posted: Sun Dec 08, 2013 1:15 am
Can anyone tell me how the rate system is calculating warn, critical or ok state?
I'm using it to check the mail queue status, if a flood comes in (huge change), I'd like to be notified.
So, I have:
/usr/local/nagios/libexec/check_snmp -t 20 -P 3 -L authPriv -a MD5 -x DES -U USERNAME -A PASS -X PASS -H HOST -o .1.3.6.1.4.1.2021.8.1.101.2 --rate -w 15 -c 30
Expected result:
If the mail queue suddenly jumps by 15 or more, warning state and if by 30 or more, critical state. Anything under 15 should be shown as OK.
Result:
Negative numbers, like: -0.0003333333 result in Critical state.
other times -3 will result in OK.
15 or more jump does show warning
Any ideas on what I can do to resolve this?
I'm using it to check the mail queue status, if a flood comes in (huge change), I'd like to be notified.
So, I have:
/usr/local/nagios/libexec/check_snmp -t 20 -P 3 -L authPriv -a MD5 -x DES -U USERNAME -A PASS -X PASS -H HOST -o .1.3.6.1.4.1.2021.8.1.101.2 --rate -w 15 -c 30
Expected result:
If the mail queue suddenly jumps by 15 or more, warning state and if by 30 or more, critical state. Anything under 15 should be shown as OK.
Result:
Negative numbers, like: -0.0003333333 result in Critical state.
other times -3 will result in OK.
15 or more jump does show warning
Any ideas on what I can do to resolve this?