Change the status of hostsexceed time with nrpe only
Posted: Mon Sep 28, 2015 9:13 am
I try to change the status of machines that date back as nagios XI (NRPE) after a exceed time when the check is outdated.
For every 2 minutes my machines go back a WinPing at 15:30 for example (in nrpe [machine to server], status information accurate, "WinPing OK - Round trip: 0 ms Packet loss: 0% packets: 5"), but if I was a disconnect this hour and 30min after I get back on my page, the status of it is still green "Up" but in the "Last check" it is a while 3:32 p.m. the others are at 16h (normal other machines are online).
The problem is that firsthand level, it is not practical to not directly see a red rectangle with "Down" as good if the check has expired for 30min bà is that the machine is offline in my case .
How to view the status "DOWN" red to a machine where the check has expired for example more than 20 minutes? (I said that in my case, I must never make check server-> machine only machine-> server)
For every 2 minutes my machines go back a WinPing at 15:30 for example (in nrpe [machine to server], status information accurate, "WinPing OK - Round trip: 0 ms Packet loss: 0% packets: 5"), but if I was a disconnect this hour and 30min after I get back on my page, the status of it is still green "Up" but in the "Last check" it is a while 3:32 p.m. the others are at 16h (normal other machines are online).
The problem is that firsthand level, it is not practical to not directly see a red rectangle with "Down" as good if the check has expired for 30min bà is that the machine is offline in my case .
How to view the status "DOWN" red to a machine where the check has expired for example more than 20 minutes? (I said that in my case, I must never make check server-> machine only machine-> server)