Re: [Nagios-devel] Re: Re: Nagios CGI issue

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
Guest

Re: [Nagios-devel] Re: Re: Nagios CGI issue

Post by Guest »

I am missing something here and I am lacking the sugar or soda intake to figure
this out.

The URL I posted does work and it gives me the specific list I need which is
all HOSTS and SERVICES in any state other than OK. SO it will show all DOWN,
UNKNOWN, RECOVERING and other state changes for all servicdes and hosts.

When I tried your url's I see all services with OK status as well which takes
away from what I need. I just went back through the documentation and don't see
what I think should be added next. Some information on cgi options and values
for custom displays would be really helpful :)

You are right in that with your URL's the header did go away.

Anyone have anymore information on what url I should call to acomplish this ?

Thanks.


Quoting "Kenneth.ray" :

> ok have an answer for you..
> your syntax is incorrect. or at least the one in your post is.
>
> below `please find the correct (tested) syntax.
>
> http://...../cgi-bin/status.cgi?
host=all&hoststatustypes=15&servicestatus&types=253&noheader=FALSE
>
> also the value for noheader can be either true or false, however the
> existance of the noheader switch is what turns off the header. and you can
> put , the following url and it will still not put a header....
>
> http://.........../cgi-bin/status.cgi?
host=all&hoststatustypes=15&servicestatus&types=253&noheader
> but this will not work...
>
> http://........./cgi-bin/status.cgi?
host=all&hoststatustypes=15&servicestatustypes=253&noheader
>
> because 'servicestatustypes' is not a vaild switch to pass to the cgi.
>
> just prior to the post i tested both of the working syntaxs to ensure they
> worked. so if you dont get the proper output you want, its not the normal CGI
> so your best bet would be to recompile your CGI
>
> this is true in both netsaint and nagios Latest `versions'.
> hope this helps have a nice day..
>
>
>
>
>
>
> nagios-devel-request@lists.sourceforge.net wrote:
>
> > --__--__--
> >
> > Message: 2
> > Date: Wed, 24 Jul 2002 07:35:14 -0700
> > From: "local.coder"
> > To: "'Nagios-devel@lists.sourceforge.net'"
>
> > Subject: [Nagios-devel] Re: Nagios CGI issue
> >
> > Dumb question for the week.
> >
> > I am calling this url
> > /nagios/cgi-bin/status.cgi?
> > host=all&hoststatustypes=15&servicestatustypes=253&noheader=FALSE
> >
> > I have tried setting noheader to TRUE or FALSE and the header still shows
> up.
> > has anyone else seen this ? I remember looking into this before so this
> has
> > been this way for awhile and I was hoping that I could use it to remove
> the
> > grey box in the upper left with the display filters infromation.
> >
> > Thanks.
> >
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> >
> > --__--__--
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: code@novageeks.org
Locked