Nagios and status.cgi parameter

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
emi65
Posts: 129
Joined: Fri Aug 17, 2012 3:41 am

Nagios and status.cgi parameter

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios and status.cgi parameter

Post 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.
Former Nagios employee
https://www.mcapra.com/
emi65
Posts: 129
Joined: Fri Aug 17, 2012 3:41 am

Re: Nagios and status.cgi parameter

Post by emi65 »

Thanks for your answer

I find all my needed

You can consider solved this 3rd

Regards
Emilio
Locked