Host Check 'check_tcp' not found!
Russell Scibetti
rscibetti at opensight.net
Thu Apr 29 21:37:00 CEST 2004
In Nagios 1.*, the check_command for host definitions cannot take any
arguments. Hence, it is trying to find a command called 'check_tcp!9931',
which doesn't exist.
Russell Scibetti
----- Original Message -----
From: "Peter Beckman" <beckman at purplecow.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Thursday, April 29, 2004 3:25 PM
Subject: [Nagios-users] Host Check 'check_tcp' not found!
> Since when does check_tcp not work in hosts, but work in services?
>
> Relevant Config:
> define host{
> use generic-host
> host_name www.somex.com
> alias Pierre's server
> address www.somex.com
> parents some-parent
> check_command check_tcp!9931
> max_check_attempts 20
> notification_interval 60
> notification_period 24x7
> notification_options d,u,r
> }
>
> Error:
> Error: Host check command 'check_tcp!9931' specified for host
'www.somex.com' is not defined anywhere!
>
> Yet I use check_tcp in my services without any problems:
>
> define service{
> use generic-service ; Name of
service template to use
> host_name somehost
> service_description MYSQL
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 2
> retry_check_interval 1
> contact_groups me,someone-else
> notification_interval 120
> notification_period 24x7
> notification_options w,u,c,r
> check_command check_tcp!3306
> }
>
> What's the deal?
>
> Using:
> Nagios 1.1
> Last Modified: 06-02-2003
>
> beckman
> --------------------------------------------------------------------------
-
> Peter Beckman Internet
Guy
> beckman at purplecow.com
http://www.purplecow.com/
> --------------------------------------------------------------------------
-
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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
>
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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