Page 1 of 1
Hosts/Services with downtime not listed under problems
Posted: Sat Jan 23, 2016 8:33 am
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
Re: Hosts/Services with downtime not listed under problems
Posted: Mon Jan 25, 2016 1:34 pm
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.
Re: Hosts/Services with downtime not listed under problems
Posted: Sat Jan 30, 2016 3:23 am
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!
Re: Hosts/Services with downtime not listed under problems
Posted: Mon Feb 01, 2016 4:03 pm
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?
Re: Hosts/Services with downtime not listed under problems
Posted: Tue Feb 02, 2016 11:58 am
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!