Page 1 of 2

Ignoring Hosts/Services in Downtime

Posted: Thu Oct 20, 2016 4:13 am
by Fred Kroeger
I've setup a dashboard that contains several Hostgroup Overview screens. Is there a way that I can only display the Hosts/Services that are not in Downtime in a HostGroup Overview?
I've seen that in some of the Ops Screens, you can hide Handled/Soft Statuses but nothing for Downtime
Regards... Fred

Re: Ignoring Hosts/Services in Downtime

Posted: Thu Oct 20, 2016 11:51 am
by avandemore
I'm not aware of any dashlet which is capable of doing the requested.

You can browse this for any that may: Category: Dashlets

Of course you can always develop your own and here are some tips: Custom Wizards, Components and Dashlets in Nagios XI

We do offer custom development for a fee. Let us know if you would like to pursue that route.

Re: Ignoring Hosts/Services in Downtime

Posted: Mon Nov 14, 2016 5:16 pm
by Fred Kroeger
Any further info on how to stop displaying the status of devices that are in Down Time?
With many of our devices scheduled for Recurring downtime, Operators have no idea when they look at the console if they are in downtime except for physically selecting each host.
It also makes us look bad, as management sees all the *Red* and start to panic.

regards... Fred

Re: Ignoring Hosts/Services in Downtime

Posted: Mon Nov 14, 2016 5:42 pm
by avandemore
I could put in a Feature Request if you like but even if it displayed the comment as it does in the Host Detail view it doesn't sound like it will help you.

The downtime feature isn't going to stop a Red status, downtime just means notifications are suppressed. What you probably want instead is check_periods found here:

Time Periods

By defining that, you can ensure Nagios doesn't check the device during a certain time period therefore the status will never change.

Re: Ignoring Hosts/Services in Downtime

Posted: Mon Nov 14, 2016 5:54 pm
by ssax
What version of XI are you using? You can grab it from the bottom left hand side of the web interface. The attached file is for XI 5.3.2.

Please replace the file below with the one I've attached, now it will show the other icons (if it's in downtime or not, etc) next to the host as well:

Code: Select all

/usr/local/nagiosxi/html/includes/components/xicore/ajaxhelpers-status.inc.php
Let us know the results.

Thank you

Re: Ignoring Hosts/Services in Downtime

Posted: Mon Nov 21, 2016 4:08 am
by Fred Kroeger
Thanks - I am running 5.2.9 at all my sites and recently got my first 5.3.2 install.
Will this file be OK for 5.2.9 ?

regards.... Fred

Re: Ignoring Hosts/Services in Downtime

Posted: Mon Nov 21, 2016 11:01 am
by ssax
Please use this one for 5.2.9:
ajaxhelpers-status.inc.php.zip
Let me know the results.

Re: Ignoring Hosts/Services in Downtime

Posted: Mon Nov 21, 2016 7:56 pm
by Fred Kroeger
Brilliant!
The other places where it would be helpful to indicate/display that servers are in Downtime are in the Operations Center & Operations Screens display - Maybe also another button to hide/show servers in Downtime?

Thanks for providing this
Regards.... Fred

Re: Ignoring Hosts/Services in Downtime

Posted: Tue Nov 22, 2016 5:42 pm
by ssax
The others are going to be a bit more complicated, the developers will need to implement them, I've created a feature request with a link back to this thread so the developers will see it:

Code: Select all

NEW TASK ID 10200 created - Nagios XI Feature Request: Add host/service icons to Operations Center, Operations Screen, and Home > Hostgroup* screens

Thank you

Re: Ignoring Hosts/Services in Downtime

Posted: Tue Nov 22, 2016 11:56 pm
by Fred Kroeger
Much appreciated ....... If I could be bold - could you also add Show/Hide Downtime button on those Ops screens so that we can filter out the downtime entries?

Ta..... Fred