Page 1 of 1

Search the Status Information field

Posted: Tue Jun 11, 2019 2:24 pm
by BanditBBS
I searched but couldn't find a previous thread about this and am surprised or blind.

Is there some way to search the service status screen by the "Status Information" field? As far as I am aware when using the search box it only searches Host and Service names.

Thanks!

Re: Search the Status Information field

Posted: Tue Jun 11, 2019 2:59 pm
by npolovenko
Hello, @BanditBBS. You can use MySQL query to search for a string in the service status field:

Code: Select all

echo "select * from nagios_servicestatus where output LIKE '%PING OK%'\G;" | mysql -u root -pnagiosxi nagios
But there is no way to do the same from the GUI. This could be a good idea for a feature request though.

Re: Search the Status Information field

Posted: Tue Jun 11, 2019 3:28 pm
by BanditBBS
Thanks @npolovenko please add it to feature request list!

Re: Search the Status Information field

Posted: Tue Jun 11, 2019 3:39 pm
by npolovenko
@BanditBBS, Ok, done.