Show 100% as ok and lower than 50% as warning

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vestrainferno
Posts: 5
Joined: Mon Oct 05, 2015 9:59 am

Show 100% as ok and lower than 50% as warning

Post by vestrainferno »

Hi I am using SNMP with a UPS and I want it to show that 100% is ok as the battery is at 100%, But I want alerts when it falls to 80% and 50%,

At the moment it will only accept 100% as critical
vestrainferno
Posts: 5
Joined: Mon Oct 05, 2015 9:59 am

Re: Show 100% as ok and lower than 50% as warning

Post by vestrainferno »

Now the post is approved I will put a little bit more detail in,

This is the code I am using on the service,

check_xi_service_snmp! -p 161 -o mib-2.33.1.2.4.0 -P 3 --seclevel=noAuthNoPriv --secname=vestra --authproto=MD5 -x des -u "%" -m SNMPv2-SMI -w -80 -c -60
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Show 100% as ok and lower than 50% as warning

Post by rkennedy »

I noticed you have two threads regarding this. I am going to close this one up, and we can continue discussion at the first one.

https://support.nagios.com/forum/viewtopic.php?t=36161
Former Nagios Employee
Locked