I am trying to create a check that I'm acquiring from an snmp mib. An unchanged value (a zero increase) is valid, but a zero increase for one hour is critical.
Does anyone have any tips how to do this?
I'm using NRPE and a command on the remote host that looks like this:
and that translates to:
The value always increases but a short duration with no increases is OK. If no increase for some amount of time, like 1 hour, it should alert as critical.
Any tips appreciated,
Chris.
Does anyone have any tips how to do this?
I'm using NRPE and a command on the remote host that looks like this:
![]() |
Quellcode |
1 |
/nrpe/current/libexec/check_nrpe -H localhost -c check_numberTransactionsProcessedOverall |
and that translates to:
![]() |
Quellcode |
1 |
/nrpe/libexec/check_snmp -H 127.0.0.1 -p 30104 -C wacky -P 2c -o 1.3.6.1.4.1.38842.1.2.2.0 |
The value always increases but a short duration with no increases is OK. If no increase for some amount of time, like 1 hour, it should alert as critical.
Any tips appreciated,
Chris.