Page 1 of 1

Nagios and status.cgi parameter

Posted: Thu Aug 03, 2017 5:34 am
by emi65
Hi

I'm using Nagios Core 4.2.1

I like to know if there is manual o site that describes the parameter can I use with
status.cgi

Justo for example I can show in the browser all service in CRITICAL with this url
http://xxxx.xxxx.xxxx/nagios/cgi-bin/st ... ustypes=16

But if I want to display only the service where the name starts with WIN_Apollo
wich parameter I need to use ?

Thanks a lot for your help
Emilio

Re: Nagios and status.cgi parameter

Posted: Thu Aug 03, 2017 8:56 am
by mcapra
I don't know of any manual or descriptions for all the parameters a given CGI in Nagios Core can accept. Here's all the available CGI variables for status.cgi in code:
https://github.com/NagiosEnterprises/na ... #L594-L821

Or in a more human readable fashion:

Code: Select all

navbarsearch
hostgroup
servicegroup
host
columns
servicestatustypes
hoststatustypes
serviceprops
hostprops
style
sorttype
sortoption
embedded
noheader
servicefilter
start
limit
emi65 wrote:But if I want to display only the service where the name starts with WIN_Apollo
Try adding servicefilter=WIN_Apollo to the request.

Re: Nagios and status.cgi parameter

Posted: Thu Aug 03, 2017 10:04 am
by emi65
Thanks for your answer

I find all my needed

You can consider solved this 3rd

Regards
Emilio