SNMP and MIB warnings and criticals
Posted: Tue Apr 15, 2014 10:23 am
Hello,
I loaded a MIB to monitor some NAS devices. Instead of using a plugin from the Exchange (which I also have loaded) I just wanted to pull the values from the SNMP results. I used the SNM<P Walk wizard, and created the items. Works fine except the warning and criticals for disk free space. I wanted to see if the check had a way to reverse or negate the check, or if I could also use the "negate" plugin to reverse the check, or just use a different check altogether. My goal was to stay clear of the plugins, and generate results simply based on the feedback from the poll.
Is there a switch like "!" than might be used with the -w and -c to reverse the output?
The check: Disk space is currently 750000. I want to warn or crit based on lower numbers.
check_xi_service_snmp! -p 161 -o volumeFreeSpace.1 -C public -P 2c -m READYNAS-MIB -w 250000 -c 100000
I loaded a MIB to monitor some NAS devices. Instead of using a plugin from the Exchange (which I also have loaded) I just wanted to pull the values from the SNMP results. I used the SNM<P Walk wizard, and created the items. Works fine except the warning and criticals for disk free space. I wanted to see if the check had a way to reverse or negate the check, or if I could also use the "negate" plugin to reverse the check, or just use a different check altogether. My goal was to stay clear of the plugins, and generate results simply based on the feedback from the poll.
Is there a switch like "!" than might be used with the -w and -c to reverse the output?
The check: Disk space is currently 750000. I want to warn or crit based on lower numbers.
check_xi_service_snmp! -p 161 -o volumeFreeSpace.1 -C public -P 2c -m READYNAS-MIB -w 250000 -c 100000