[Bug] Recurring downtime with wildcard not visible
[Bug] Recurring downtime with wildcard not visible
Hello, I recently upgraded to 5.6.5 from 5.5.? and I'm noticing an issue with recurring downtime. It is possible this issue may have existed before the upgrade and I'm just now noticing it. I have a CPU usage monitor on a specific Windows server that is scheduled for recurring downtime each night for an hour or so. The issue is that this recurring downtime no longer appears anywhere in "Incident Management -> Recurring Downtime"! I can see it is still getting scheduled each night in scheduled downtime and starts with "AUTO", but it is nowhere to be found in Recurring Downtime. I imagine this is not the only one I'm missing there. Could you please help me to restore the Recurring Downtime views to show everything that's scheduled there? Thanks!
Last edited by gmackey on Wed Aug 07, 2019 2:55 pm, edited 2 times in total.
=================================================
Nagios XI 5.6.5 Enterprise
CentOS 6.10 (64-bit) VMware image
SSL implemented and forced, with exception for localhost
Nagios XI 5.6.5 Enterprise
CentOS 6.10 (64-bit) VMware image
SSL implemented and forced, with exception for localhost
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Hidden recurring downtime
somewhere something must have gotten lost in the DB durring the migration, here is what I would suggest, edit the following file
/usr/local/nagios/etc/recurringdowntime.cfg
You will see blocks similar to the following
I would suggest finding the entry that isn't showing in the UI and remove that block.
Then re-add it through the UI
/usr/local/nagios/etc/recurringdowntime.cfg
You will see blocks similar to the following
Code: Select all
define schedule {
sid f085a03d0b86e4ad5abd327ba08e6efc
user nagiosadmin
comment
time 00:00
duration 60
days_of_week mon,tue,wed,thu,fri,sat,sun
days_of_month
schedule_type host
host_name ScottsServer
}Then re-add it through the UI
Re: Hidden recurring downtime
Yep, I see them in there. Thanks, I will do that. Please feel free to lock this thread and consider the issue resolved.
=================================================
Nagios XI 5.6.5 Enterprise
CentOS 6.10 (64-bit) VMware image
SSL implemented and forced, with exception for localhost
Nagios XI 5.6.5 Enterprise
CentOS 6.10 (64-bit) VMware image
SSL implemented and forced, with exception for localhost
Re: Hidden recurring downtime
As a follow up, I found a Nagios XI bug. When using a wildcard, as it says you can use (and it does work), the service will no longer display in the Services tab in Recurring Downtime. Here was the problem config. Removing the wildcard character immediately resolved the issue without restarting anything. The services encompassed by the wildcard were "CPU Usage - Total" and "CPU Usage - Core [2]".
Code: Select all
define schedule {
sid 49cd3825f88b38871f43673ffc6fcc0a
user adm-gmackey
comment D2LDataDownload task - Full D2L export and import into Civitas
time 05:00
duration 90
days_of_week
days_of_month
months_of_year
schedule_type service
service_description CPU Usage - *
host_name Zelus
}=================================================
Nagios XI 5.6.5 Enterprise
CentOS 6.10 (64-bit) VMware image
SSL implemented and forced, with exception for localhost
Nagios XI 5.6.5 Enterprise
CentOS 6.10 (64-bit) VMware image
SSL implemented and forced, with exception for localhost
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: [Bug] Recurring downtime with wildcard not visible
Thanks for the followup and I have confirmed this is a bug and filed the bug report
Code: Select all
NEW TASK ID 14388 created - Nagios XI Bug Report: Recurring Service Downtime with Wildcards do not display in UI