Page 1 of 1

Not possible to delete Scheduled Downtime

Posted: Wed Jul 25, 2018 5:58 pm
by giponino
Hi, we have a RedHat server on Azure with Nagios XI 5.5.1. Recently we added a scheduled downtime for a long period for one host and all its services, until year 2050. Now I need to remove it but I can't. I can see on host and services the black ball and the comics for the downtime period but:
- If I go under scheduled downtime page, host and its services are not present
- If I click the 'x' near comic inside host to manually delete downtime, it remove the comic but the black ball is still present. After that, if I restart the nagios monitoring engine the comic return in its position.

Is it a bug of XI 5.5.0/5.5.1? How I can remove the scheduled downtime?

Thank you
Matteo

Re: Not possible to delete Scheduled Downtime

Posted: Wed Jul 25, 2018 8:39 pm
by scottwilkerson
Can you post the output of the following

Code: Select all

ps -ef|grep nagios.cfg

Re: Not possible to delete Scheduled Downtime

Posted: Thu Jul 26, 2018 1:29 am
by giponino
Hi, this is the output:

Code: Select all

nagios    16603      1  1 Jul25 ?        00:06:05 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios    16615  16603  0 Jul25 ?        00:00:01 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

Re: Not possible to delete Scheduled Downtime

Posted: Thu Jul 26, 2018 7:26 am
by scottwilkerson
Can you also show the following:

Code: Select all

ls -al /usr/local/nagios/var/rw
Additionally, please upload your /usr/local/nagios/etc/nagios.cfg

Re: Not possible to delete Scheduled Downtime

Posted: Thu Jul 26, 2018 11:31 am
by giponino
Here the output:

Code: Select all

ls -al /usr/local/nagios/var/rw
total 4
drwxrwsr-x. 2 nagios nagios   39 Jul 25 22:50 .
drwxrwxr-x. 6 nagios nagios 4096 Jul 26 17:26 ..
prw-rw----  1 nagios nagios    0 Jul 25 22:50 nagios.cmd
srw-rw----  1 nagios nagios    0 Jul 25 22:50 nagios.qh

Re: Not possible to delete Scheduled Downtime

Posted: Thu Jul 26, 2018 12:24 pm
by scottwilkerson
does this file exist?

Code: Select all

ls -al /usr/local/nagios/var/objects.precache

Re: Not possible to delete Scheduled Downtime

Posted: Thu Jul 26, 2018 3:03 pm
by giponino
Yes!

Code: Select all

ls -al /usr/local/nagios/var/objects.precache
-rw-r--r--. 1 nagios nagios 2971496 Jul 25 22:50 /usr/local/nagios/var/objects.precache

Re: Not possible to delete Scheduled Downtime

Posted: Thu Jul 26, 2018 3:37 pm
by scottwilkerson
I'm not sure if this is related because we have not had any other reports of this behavior, but 5.5.2 came out today and it did have several other issues that were resolved revolving around downtime.

Possibly an upgrade would remove the issue

Re: Not possible to delete Scheduled Downtime

Posted: Fri Jul 27, 2018 7:01 am
by giponino
Hi,
we upgraded to 5.5.2 but we have the same problem. Is it possible to move the ticket under "Customer Support" section?

Re: Not possible to delete Scheduled Downtime

Posted: Fri Jul 27, 2018 8:53 am
by scottwilkerson
giponino wrote:Hi,
we upgraded to 5.5.2 but we have the same problem. Is it possible to move the ticket under "Customer Support" section?
Yes please open a ticket at
https://support.nagios.com/tickets/

reference this thread.

Thanks.

locking topic