Page 1 of 1

Changing the notification to when the number decreases.

Posted: Tue Jan 06, 2015 4:47 pm
by henryg
I am monitoring a process and I need to get notified when the number decreases from 1 to 0, what would I have to do to set the SNMP alert to only notify when it reaches 0 instead of stating the system is critical when the number is one.
check_xi_service_snmp! -p 161 -o prCount.2 -C public -P 2c -m UCD-SNMP-MIB -w 0 -c 0

Re: Changing the notification to when the number decreses.

Posted: Tue Jan 06, 2015 5:51 pm
by sreinhardt
Per the threshold guidelines, try the following:

Code: Select all

check_xi_service_snmp! -p 161 -o prCount.2 -C public -P 2c -m UCD-SNMP-MIB -w 1: -c 1:
All I added as a colon : after the 0's

Re: Changing the notification to when the number decreases.

Posted: Tue Jan 06, 2015 6:07 pm
by henryg
Thank you that worked!

Re: Changing the notification to when the number decreases.

Posted: Wed Jan 07, 2015 10:37 am
by cmerchant
We'll go ahead and close this thread. Thanks.