Host Check 'check_tcp' not found!

Peter Beckman beckman at purplecow.com
Thu Apr 29 21:25:29 CEST 2004


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





More information about the Users mailing list