Disable warning and critical states for a SNMP check
Posted: Tue Sep 05, 2017 12:59 pm
Using Nagios XI 5.4.8 on RHEL 7.4
Create some services for a Windows server using the Wizard. The system memory is being checked with check_snmp_storage.pl. The current check command is this:
There are several instances where the memory used will be 100% and I don't mind this. I however would like to keep the performance data.
I've tried leaving off -c and -w, but these are required. Setting to 0 also does not work. I've also attempted to just set both to 100 but this is also invalid.
Is it possible with the check_snmp_storage.pl, or if necessary another check, to get memory usage but not have warning or critical state? This same question would be true for other snmp checks as well, such as CPU usage. I still want to collect the information, and ideally a failure to connect would be bad, but any value between 0 and 100 would be OK.
Create some services for a Windows server using the Wizard. The system memory is being checked with check_snmp_storage.pl. The current check command is this:
Code: Select all
check_snmp_storage.pl -H $HOSTADDRESS$ -C <community> --v2c -m 'Physical Memory' -w 95 -c 99 -fI've tried leaving off -c and -w, but these are required. Setting to 0 also does not work. I've also attempted to just set both to 100 but this is also invalid.
Is it possible with the check_snmp_storage.pl, or if necessary another check, to get memory usage but not have warning or critical state? This same question would be true for other snmp checks as well, such as CPU usage. I still want to collect the information, and ideally a failure to connect would be bad, but any value between 0 and 100 would be OK.