Fail error message

Hegedus, Ervin airween at amit.hu
Sun Jun 22 10:29:55 CEST 2003


Hello,

dear Karl,
first: thank you for your reply.

> Maybe the check_host is misconfigured? In that case, the service checks
> would not be performed until the host came back up. Which it would not
> be able to do until check_host_alive reports success.
what do you mean 'check_host is misconfigured'?

look at this:
monitor:~# grep check-host-alive /usr/local/nagios/etc/hosts.cfg
        check_command           check-host-alive
        check_command           check-host-alive
        check_command           check-host-alive
        check_command		check-host-alive
        check_command		check-host-alive
#       check_command		check-host-alive
        check_command		check-host-alive
	check_command		check-host-alive
        check_command		check-host-alive
        check_command		check-host-alive
        check_command		check-host-alive
        check_command		check-host-alive

as you can see, there is many other host where we use
check-host-alive command - there are works fine.
the commented line is the w2k host, what gives back false alert.

here is the relevant part of checkcommands.cfg:

# 'check-host-alive' command definition
define command{
        command_name    check-host-alive
        command_line    $USER1$/check_ping -H
	$HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
        }

i use _only_ this command, i didn't redefined this command
anywhere...

in my previous mail i attached a sample, where i tested the
command_line line - that works with this host also.


any tips?


thanks:
airween



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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