Newbie question: Check_http problem
Matt Cowger
mcowger at plu.edu
Mon Dec 22 22:38:02 CET 2003
What does the web interface give for a return code? Have you tried to
run the plugin as thenagios user?
--m
Scott Elliott wrote:
> This is my first venture into the Nagios world, and so far I’ve managed
> to install Nagios 1.1, using the 1.3.1 plug-ins, and running on a Debian
> 3.0 box.
>
>
>
> As expected, I haven’t gotten everything to work on my first try, but I
> have managed to configure the software to a point such that I can do a
> simple ping check on four boxes, and for it to send out notifications if
> it detects anything wrong.
>
>
>
> My problem is that it seems that Nagios is return a “service down” when
> doing check_http request. I’ve look at the checkcommands.cfg file, and
> it is the default definition:
>
>
>
> # 'check_http' command definition
>
> define command{
>
> command_name check_http
>
> command_line $USER1$/check_http -H $HOSTADDRESS$
>
> }
>
>
>
> When I run check_http from the command line, using the same options as
> listed in the check_http, is says HTTP is ok. I’ve tried both the
> hostname, host ip address, and the url, all of which seem to come
> through just fine.
>
>
>
> Can somebody point me the right direction to go on this one?
>
>
>
> Scott Elliott
>
>
>
--
+----------------------------+-----------------+
|Matt Cowger |w:253.535.7262 |
|Systems Administrator |c:425.941.6365 |
|Pacific Lutheran University |p:253.280.7601 |
+----------------------------+-----------------|
|The Internet treats censorship as a |
|malfunction and routes around it. |
| —John Perry Barlow |
+----------------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cowgermk.vcf
Type: text/x-vcard
Size: 139 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031222/de36b84e/attachment.vcf>
More information about the Users
mailing list