Ignoring Hosts/Services in Downtime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Ignoring Hosts/Services in Downtime

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Ignoring Hosts/Services in Downtime

Post 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.
Previous Nagios employee
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Ignoring Hosts/Services in Downtime

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Ignoring Hosts/Services in Downtime

Post 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.
Previous Nagios employee
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Ignoring Hosts/Services in Downtime

Post 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
You do not have the required permissions to view the files attached to this post.
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Ignoring Hosts/Services in Downtime

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Ignoring Hosts/Services in Downtime

Post by ssax »

Please use this one for 5.2.9:
ajaxhelpers-status.inc.php.zip
Let me know the results.
You do not have the required permissions to view the files attached to this post.
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Ignoring Hosts/Services in Downtime

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Ignoring Hosts/Services in Downtime

Post 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
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: Ignoring Hosts/Services in Downtime

Post 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
Locked