All pastes #561882 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-12 16:34 UTC
rendered paste body
root@flig [/usr/local/nagios/sbin]# env REQEUST_METHOD=GET /usr/local/nagios/sbin/status.cgi
getcgivars(): Unsupported REQUEST_METHOD -> ''

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
GET and HEAD methods, arguments can be passed to the CGI
by setting the "QUERY_STRING" environment variable.  If you're
using the POST method, data is read from standard input.  Also of
note: if you've enabled authentication in the CGIs, you must set the
"REMOTE_USER" environment variable to be the name of the user you're
"authenticated" as.

root@flig [/usr/local/nagios/sbin]#