Nagios state during Downtime
Posted: Tue Sep 24, 2019 6:51 am
I am using Nagios 4.4.3 & have configured service downtime.
During downtime I note the following.
1) Service check wont happen
2) Notifications will not be sent
Both these make sense. But the service retains the last known state as Service Status which can be confusing to user.
For Example: If last known service status was OK before it enters DOWNTIME, the service shows status as OK even during DOWNTIME.
Generating Trends report will also show the state to be in OK state during DOWNTIME.
I also note this service check would change state to PENDING if Nagios service is restarted during DOWNTIME.
I want to have a host/service to be reporting 'PENDING' during downtime.
Is there a way to achieve this?
During downtime I note the following.
1) Service check wont happen
2) Notifications will not be sent
Both these make sense. But the service retains the last known state as Service Status which can be confusing to user.
For Example: If last known service status was OK before it enters DOWNTIME, the service shows status as OK even during DOWNTIME.
Generating Trends report will also show the state to be in OK state during DOWNTIME.
I also note this service check would change state to PENDING if Nagios service is restarted during DOWNTIME.
I want to have a host/service to be reporting 'PENDING' during downtime.
Is there a way to achieve this?