check_dhcp problem

Andreas Brandino mailinglist at ebox.gr
Tue Oct 18 14:12:16 CEST 2005


hi all



in hosts.cfg:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

define service{

        use                             generic-service        
 ; Name of service template to use

        host_name                       gw

        service_description             DHCP

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              3

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  linux-admins

        notification_interval           120

        notification_period             24x7

        notification_options            c,r

        check_command                   check_dhcp

        }



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and i get this error:



Error: Service check command 'check_dhcp' specified in service 'DHCP'
 for

host 'exc' not defined anywhere!





Same problem here but no answers:



http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi
1[sword]=check_dhcp&tx_maillisttofaq_pi1[answered_only]=0&tx_maillist
tofaq_pi1[mode]=1&tx_maillisttofaq_pi1[showUid]=6322





Any idea what i am doing wrong??

file has +x and works fine from command line



thx

- Andreas Brandino (ampranti)



-----------------------

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html

				


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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