check_dhcp issue

Edgar Matzinger Edgar.Matzinger at valid.nl
Fri Jun 26 12:47:06 CEST 2009


LS,

Dei scribbled on 2009-06-26:

> Ok, here's my definition in services:
> 
> define service{
>         use                   local-service
>         host_name             serveip1.dev.net
>         service_description   check_dhcp
>         check_command         check_dhcp!/check_dhcp -s $HOSTADDRESS$
> }

the command_line should be:

    check_command      check_dhcp

Without !/check_dh....!

> 
> Here's my command.cfg:
> define command{
>         command_name    check_dhcp
>         command_line    $USER1$/check_dhcp -s $HOSTADDRESS$
>         }

In your examples from a few posts ago, you specify a *hostname*. In
your service description, an *IP address*. Does that make any difference?

HTH, cu l8r, Edgar.
-- 
    |\  /| :                                : Addr: Valid Eindhoven B.V.
 /  | \/ | :     Edgar R. Matzinger         :       t.a.v. E.R. Matzinger
/   |    | :                                :       Flight Forum 565
\  /|  /\| :                                :       5657DR Eindhoven
 \/   /  \ :     Valid Eindhoven BV         :
  \  /\  / :                                :
   \/ |\/  :                                :
      |    :                                :
Disclaimer: Any comments, opinions made are mine, etc ... 


------------------------------------------------------------------------------
_______________________________________________
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