Running status.cgi from command line
Chuck Lidderdale
chuck at blackforest-co.com
Wed Mar 9 21:15:59 CET 2005
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
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
More information about the Users
mailing list