nrmjba / nagioschecker

Automatically exported from code.google.com/p/nagioschecker
0 stars 0 forks source link

Schedule downtime filter does not work as expected #108

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to Settings and then the Filtering tab.
2. Check the "Hosts and services in scheduled downtime" box.
3. Click OK.

What is the expected output? What do you see instead?

Hosts that are in a scheduled downtime within Nagios should be filtered out
but are still displayed along with the other alerting hosts in the status bar. 

I would expect that the hosts would not be displayed, alerting or not, if
they are in a scheduled downtime. 

What version of the product are you using (Nagios Checker and Nagios)? On
what operating system?

Nagios: 2.12
Nagios Checker: 0.13
Browser: Firefox 3.0.4
OS: Win XP SP2

Nagios: 2.12
Nagios Checker: 0.13
Browser: Firefox 3.0.5
OS: Mac OSX

This has been verified on multiple computers using the above two
configurations. 

Please provide any additional information below.

When scheduling a downtime for a host, the services for it will still show
up in the status bar. However, when scheduling a downtime for specific
services, they do not show up in the status bar. Would the appropriate
manner to schedule the downtime is to schedule the downtime for the host
AND services? That would not make sense and as you can imagine, would
become a nightmare to manage. 

Thanks much!

RR

Original issue reported on code.google.com by gedan...@gmail.com on 18 Dec 2008 at 1:01

GoogleCodeExporter commented 9 years ago
First try new beta, there were some improvements of filtering scheduled 
downtime,
probably it helps:
http://code.google.com/p/nagioschecker/downloads/list?q=label:Beta

Original comment by petr.si...@gmail.com on 18 Dec 2008 at 6:46

GoogleCodeExporter commented 9 years ago
Thank you!! I will be testing this over the next few weeks and report back my 
findings. 

This extension rocks btw. :)

Original comment by gedan...@gmail.com on 18 Dec 2008 at 9:15

GoogleCodeExporter commented 9 years ago
The 0.13.9 release did not fix the issues. Apologies for the delay in getting 
back to
you. I am going to try the 0.14.2 release. 

Original comment by gedan...@gmail.com on 15 Apr 2009 at 5:24

GoogleCodeExporter commented 9 years ago
As you probably find out 0.14.2 does not contain the solution.

I think I have fixed it now. Could you please test the attached version if it 
helps?
Thank you very much.

Original comment by petr.si...@gmail.com on 16 Apr 2009 at 8:49

Attachments:

GoogleCodeExporter commented 9 years ago
Apologies for the delay but yes, I will give this one a go as well. 

Thanks! 

Original comment by gedan...@gmail.com on 19 May 2009 at 6:07

GoogleCodeExporter commented 9 years ago
This fix is included in public 0.14.4 version already.

Original comment by petr.si...@gmail.com on 19 May 2009 at 6:11

GoogleCodeExporter commented 9 years ago
Hi, 

I've been testing the 0.14.4 version and verified that I still do see hosts 
that are
in a scheduled downtime. What other info would you need to investigate this 
further? 

Thanks!

Original comment by gedan...@gmail.com on 20 May 2009 at 2:46

GoogleCodeExporter commented 9 years ago
Am still experiencing the issue that if a host is in downtime, services from 
that
host in a "not OK" state are still displayed by the add-on.

Original comment by sup...@gmail.com on 4 Mar 2010 at 2:57

GoogleCodeExporter commented 9 years ago
I can confirm the problem in 0.15.3. Quite annoying some times. Happens if you 
added
a downtime to a host and the services go to critical, but the host stays up. In 
that
case all critical services will be displayed as long as the downtimed host is 
online.

Original comment by goo...@kantert.net on 13 Mar 2010 at 3:31

GoogleCodeExporter commented 9 years ago
We are getting the same on our terminal servers when we schedule them for 
reinstall.
When the terminal server is sced for downtime, but is on during reinstall and 
replies to ping the Nagios Checker will report errors on services.
This is very annoying..

Original comment by patrick....@gmail.com on 27 Aug 2010 at 7:56

GoogleCodeExporter commented 9 years ago
As previous comments, I wanted Nagioschecker not to display services not OK for 
which the host is in scheduled downtime and still up
To fix it, I just added in nagioschecker.js after line 910 these 3 lines :
                   if (probls[j].downtime) {
                       isSched[probls[j].host]=true;
                   }

Original comment by fabrice....@gmail.com on 17 Aug 2011 at 9:36