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?
Nagios state during Downtime
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios state during Downtime
Nagios should continue to check service state during downtime, it just suppresses notifications.
If you do not want to count downtime, see the advanced tab of the trend report and check "Assume States During Program Downtime"vlakshman wrote:Generating Trends report will also show the state to be in OK state during DOWNTIME.
Make sure your nagios.cfg has the following setvlakshman wrote:I also note this service check would change state to PENDING if Nagios service is restarted during DOWNTIME.
Code: Select all
retain_state_information=1
This is not possible.vlakshman wrote:I want to have a host/service to be reporting 'PENDING' during downtime.
Is there a way to achieve this?