Hosts/Services with downtime not listed under problems

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vogster
Posts: 3
Joined: Sat Jan 23, 2016 8:16 am

Hosts/Services with downtime not listed under problems

Post by vogster »

Hi nagios forum,
is it possible not to show hosts/services with a scheduled downtime under Current Status > Problems > Services on the web page?
I use Nagios V3.4.4. The host and the services are marked with a comment and a clock but i dont want to
see them in this view. Thanks very much for your help.
vogster
Last edited by vogster on Tue Feb 02, 2016 1:40 pm, edited 1 time in total.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Hosts/Services with downtime not listed under problems

Post by hsmith »

I'm not familiar with the older versions of core, but in 4.1.1, clicking the "unhandled" button next to services didn't show my host that was in scheduled downtime.
Former Nagios Employee.
me.
vogster
Posts: 3
Joined: Sat Jan 23, 2016 8:16 am

Re: Hosts/Services with downtime not listed under problems

Post by vogster »

Thanks for your answer, this brought me on the right track.
But my problem is that in the services (unhandled) view only host with status pending and up were shown. if a host is down this is only shown in the hosts (unhandled) view. Our nagios web-gui is shown on a big screen in our office, I do not want to change the view/filter many times a day.
I found out that the filters of the different views (e.g. current status > problems > services) are set by a link (mouse over to a link).
Is it possible to configure these links in a config file?
I think my preferred configuration is:
Host Status Types: All
Host Properties: Any
Service Status Types: All Problems
Service Properties: Not in Scheduled Downtime & Has Not been acknowledged & Active Checks Enable
Thanks for your help!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Hosts/Services with downtime not listed under problems

Post by rkennedy »

There isn't a configuration file to change links around specifically, but you can always modify the side.php[/code] located at /usr/local/nagios/share/ to create your own links on the side bar. It'll take a bit of HTML skills.

Is that what you're looking for?
Former Nagios Employee
vogster
Posts: 3
Joined: Sat Jan 23, 2016 8:16 am

Re: Hosts/Services with downtime not listed under problems

Post by vogster »

Yes, thanks very much! It works!
In my case the file is located in /usr/share/nagios/html (CentOS 6.3)
I have removed the string "hoststatustypes=3&" and that´s it.
Now a host with all services critical is shown in Services (Unhandled) and I dont have to change the view!
Locked