Page 1 of 1

Display inactive hosts

Posted: Wed Mar 05, 2014 12:32 pm
by BanditBBS
Ok, I have thousands of hosts and services and there is no way to show me the few that I have disabled. I have to show all and then scroll down and look for the NO. That isn't very good approach as I could easily miss one. I then tried to use the backend api to show hosts. There is a column "is_active" but the problem with the backend, it only shows the active configurations, so why even show that field. Is there a way to get the inactive or am I going to have to put in a feature request?

Re: Display inactive hosts

Posted: Wed Mar 05, 2014 1:22 pm
by abrist
I don't know if this option exists in the ui. But you can get it from a query:

Code: Select all

echo 'use nagiosql;select host_name from tbl_host where active like 0;' | mysql -pnagiosxi

Re: Display inactive hosts

Posted: Wed Mar 05, 2014 1:49 pm
by BanditBBS
Yeah, well, you just gave me that Andy so I couldn't say you are telling me No yet again, LOL.

I opened a feature request and this thread can be closed. feature request here: http://tracker.nagios.com/view.php?id=510