check_http 404 error

Lars Oeschey extern.lars.oeschey at audi.de
Wed Dec 17 17:42:44 CET 2003


Hi,

one of my servers consistently gives me a "404 Object not found" error. 
The check_http command from commandline works, but not from within nagios.

In checkcommands.cfg I have:

define command{
         command_name    check_url
         command_line    $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$
         }

and the services.cfg entry looks like this:

check_command                   check_url!/audi/busnet/

when I run:
./check_http -H is0618 -u /audi/busnet/

I get:
HTTP ok: HTTP/1.1 200 OK -   0.122 second response time |time=  0.122


What's guing wrong here? I have several other servers where I run the 
check_url command successfully...

Lars



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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