Server coming out of scheduled downtime in Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gomathyshankar
Posts: 4
Joined: Thu Jul 27, 2017 2:32 am

Server coming out of scheduled downtime in Nagios

Post by Gomathyshankar »

Hi Team,

We have observed that if a device is in maintenance mode in Nagios and if it is put in maintenance again for a smaller duration for any other activity the maintenance period for that device gets overridden. This causes issues since we start receiving alerts and incidents for such devices.
Example - If a device has been kept in maintenance mode for a month and if there is an activity for which multiple devices have to be put in maintenance mode for 2 hours, then the previous maintenance period of one month gets canceled/overridden.

Nagios version-Nagios XI 5.4.4
kyang

Re: Server coming out of scheduled downtime in Nagios

Post by kyang »

Hi @Gomathyshankar,

Are you scheduling the downtime for only hosts? or for services? or both?
Example - If a device has been kept in maintenance mode for a month and if there is an activity for which multiple devices have to be put in maintenance mode for 2 hours, then the previous maintenance period of one month gets canceled/overridden.
I just want to make sure I am understanding this correctly.

Are you saying that if host1 is put in scheduled downtime, and then there are other hosts that need to be put in downtime for 2 hours. Once I do that then host1 scheduled downtime would be canceled?
Gomathyshankar
Posts: 4
Joined: Thu Jul 27, 2017 2:32 am

Re: Server coming out of scheduled downtime in Nagios

Post by Gomathyshankar »

Hi Kyang,

No Issue like we put a server host1 for 1 month in scheduled downtime.But some other team wants to put the all servers in a region which also includes host1 for 2 hours due to some activity the one month scheduled downtime gets overridden with 2 hours for host1 and it comes out of the maintenece mode.This is causing serious issue.Could you please us to fix this issue ASAP.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Server coming out of scheduled downtime in Nagios

Post by tacolover101 »

this is by design i believe. i don't think you cannot assign multiple windows to the same host.
Gomathyshankar wrote:Hi Kyang,

No Issue like we put a server host1 for 1 month in scheduled downtime.But some other team wants to put the all servers in a region which also includes host1 for 2 hours due to some activity the one month scheduled downtime gets overridden with 2 hours for host1 and it comes out of the maintenece mode.This is causing serious issue.Could you please us to fix this issue ASAP.
from what i've seen, this is how other monitoring systems handle this as well. your best bet is writing a scheduler of some sort, and having it make API calls when you need downtime scheduled. for example, we have servicenow handling all downtime from CHG's and that makes REST calls to schedule accordingly.

however, it might make a good feature request for overlapping windows.
Gomathyshankar
Posts: 4
Joined: Thu Jul 27, 2017 2:32 am

Re: Server coming out of scheduled downtime in Nagios

Post by Gomathyshankar »

Hi tacolover101,

No this issue is we are facing from this June.Earlier it was the host takes longest scheduled time of the windows.
EX if a host is put in maintenance mode in today for week but after 2 days someone puts the same server in maintenece mode for 15 days .The host was in maintenance mode for 17 days (2 +15 ).


We have 3 NagiosXI server but only this one Nagios XI server is having this issue. This mostly happens whenever there is network activty and all the servers configured in that Nagios XI is put in Maintenance mode.
Also one more finding we found that during such activty our Nagios XI disk space reaches 100% and also the database also crashes.The event handler is filling rapidly which causes the disk space to reach 100%. Not sure this has something to do with
server coming out of scheduled downtime in Nagios.

Currently we have 1128 servers and 180501 services configured on that NagiosXI
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Server coming out of scheduled downtime in Nagios

Post by npolovenko »

@Gomathyshankar, Looks like your colleague already opened the same post in the customer section.
https://support.nagios.com/forum/viewto ... 93#p236793
I think we should close one of the threads. :) How about this one?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked