Page 1 of 1

recurring downtime schedules produce comments everyhour

Posted: Mon May 21, 2012 8:53 am
by CBoekhuis
Hello,

recently we scheduled a number of recurring downtime schedules using service groups for DBA maintenance. We noticed that for every service that has a recurring downtime schedule a comment is created at 1 minute past the hour.
My best bet is that these are created by the following cron entry of the nagiosxi user:
01 * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl > /usr/local/nagiosxi/var/recurringdowntime.log 2>&1

Is there a way to stop this behavior? It doesn't really make sense to have the same comment being entered every hour, it just clutters up the screen ;) .
I attached a screenshot to show what I mean.

Running on RHEL 5.7
nagiosxi 2011R2.4

Greetings,
Hans Blom

Re: recurring downtime schedules produce comments everyhour

Posted: Mon May 21, 2012 1:55 pm
by agriffin
Your guess about where this is caused appears to be correct. Unfortunately there is no way to disable this behavior without modifications to the source. We will try to remedy this, but understand that we have other priorities and can't make any guarantees about when it will happen. I've opened a ticket here on our tracker which you can follow for updates if you want.

Re: recurring downtime schedules produce comments everyhour

Posted: Tue May 22, 2012 3:30 am
by CBoekhuis
Thanks for the confirmation! I'll wait on the fix.

Greetings, Hans

Re: recurring downtime schedules produce comments everyhour

Posted: Tue Jun 12, 2012 8:11 am
by CBoekhuis
Hello,

The earlier mentioned script had generated so many comments (thousands) that we started to experience performance problems.
For example, using the "quick find" field in the left menu, the results would normally appear within 2 seconds, but now it's 12 seconds.
The acknowledgment screen under Incident Management became inoperable because of the huge list it would have to generate.

I've deleted all recurring schedules and using a little script I found on Nagios exchange I also delete all comments. The performance is back to what it used to be (fast and responsive ;) ).

I know the priority isn't high on this issue, but I do want to let you know that apparently it can cause severe performance degradation.

Greetings,
Hans

Re: recurring downtime schedules produce comments everyhour

Posted: Thu Jun 14, 2012 4:22 am
by Brian_M
I've reported a similar issue in another thread. Patiently awaiting a fix for this. Can confirm with above poster, severe performance issue caused by literally hundreds of pages of the same notifications over and over again for every service every hour :-(

-Brian