check_http 404 error

Christian Kalkhoff christian at kalkhoff.net
Wed Dec 17 17:53:49 CET 2003


Hi,

configuration itself looks good. 404 means page not found which is strange in 
this case as it works from command line.

Does that particular directory perhaps have some ip based restrictions and you 
checked the commandline from another host than the nagios one?

Hope that helps.

Christian

Am Mittwoch, 17. Dezember 2003 17:42 schrieb Lars Oeschey:
> 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

-- 
k l a u s - c h r i s t i a n   k a l k h o f f
s o f t w a r e   a r c h i t e c t
s y s t e m   a d m i n i s t r a t o r
w w w . k a l k h o f f . n e t



-------------------------------------------------------
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