check_dhcp issue

Dei Bertine deibertine at yahoo.com
Mon Jun 29 21:08:53 CEST 2009


I actually tried     check_command      check_dhcp Without !/check_dh....! but still error. 

Having an ip address didnt make a difference. 
Also chmod (u+s) on the plugin but that didnt help either. 
Dont you think it had something to do with the fact that this particular server is a slave dhcp?
 


________________________________
From: Edgar Matzinger <Edgar.Matzinger at valid.nl>
To: Dei Bertine <deibertine at yahoo.com>
Cc: "nagios-users at lists.sourceforge.net" <nagios-users at lists.sourceforge.net>
Sent: Friday, June 26, 2009 3:47:06 AM
Subject: RE: [Nagios-users] check_dhcp issue

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


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090629/838be81e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
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