[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

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

Post by Guest »

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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: kenneth.ray@travelersla.com
Locked