Running status.cgi from command line
Andreas Ericsson
ae at op5.se
Thu Mar 10 00:25:52 CET 2005
Chuck Lidderdale wrote:
> I'm planning on running Nagios from a box that doesn't have
> a web server. (per-se) I *can* open a port (12345) and put
> an entry in /etc/xinetd.d where it points to a script that
> will call ie: echo "hostgroup=all&style=summary" | status.cgi
>
> All I get is: I'm guessing you're trying to execute the CGI
> from a command line. In order to do that, you need to set the
> REQUEST_METHOD environment variable to either "GET", "HEAD",
> or "POST". When using the ... yada yads ....
>
> Ok ... export REQ...
> nope
> set it to HEAD
> nope
Read the entire message and act accordingly. The rest of the sentences
aren't there just for fun, you know.
> Ok, then...
> nope
> $@$& !%#$ $!#!&
> Watch it!
>
>
> HELP!!!!
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue. ::: Messages without supporting info will risk
> being sent to /dev/null
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list