check_dhcp on infoblox

trevor obba trevor_obba at yahoo.co.uk
Wed Oct 31 00:57:02 CET 2007


when i run my nagios server as dhcp client i get ip lease to it. dhcp work fine however when i try to run check_dhcp it fails. 

here is how i am runing check_dhcp 

./check_dhcp -s 160.78.76.54 -t 40 -i eth0 -v
DHCP socket: 3
Hardware address: 000e0cb529c0
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 465293895 (0x1BBBD247)
DHCDISCOVER ciaddr:  0.0.0.0
DHCDISCOVER yiaddr:  0.0.0.0
DHCDISCOVER siaddr:  0.0.0.0
DHCDISCOVER giaddr:  0.0.0.0
send_dhcp_packet result: 548


No (more) data received
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
DHCP problem: No DHCPOFFERs were received.


please note when i run check_dhcp my nagios server is using a static ip address and eth0 is the only interface present on my nagios server.
my dhcp server is an infoblox network device (Black Box)






----- Original Message ----
From: Hari Sekhon <hpsekhon at googlemail.com>
To: trevor obba <trevor_obba at yahoo.co.uk>
Cc: Nagios Users mailinglist <nagios-users at lists.sourceforge.net>
Sent: Monday, 29 October, 2007 10:39:43 AM
Subject: Re: [Nagios-users] check_dhcp on infoblox

Please make sure you reply to the mailing list rather than me 
personally. This way other people can follow the thread and help you as 
well, or see a solution if they have this problem and are reading an 
archive of it.

What is your primary interface on the box on which you are running this 
plugin? If it is eth1 for example, the plugin uses eth0 by default and 
you will get no response on the interface because it is not the active 
one. In that case you would need to run

./check_dhcp -i eth1

to make it use the right interface.

Also, have you tried doing

./check_dhcp -vvv [other options you need]

could you please reply with the full output of that?

We really need more information otherwise all we can do it guess what 
the problem is.

-h

Hari Sekhon



trevor obba wrote:
> Thanks for your reply.
>
> Sorry i am using using check_dhcp from nagios plugins 
>
> ./check_dhcp -h
> check_dhcp (nagios-plugins 1.4.3) 1.1
> Copyright (c) 2001-2004 Ethan Galstad (nagios at nagios.org)
>
> my black box (infoblox) lease ip addresses to windows workstation, linux workstation but not check_dhcp nagios plugin.
> it does not even log any ip requirest from check_dhcp.
>
> Can you help? please.
>
>
> ----- Original Message ----
> From: Hari Sekhon <hpsekhon at googlemail.com>
> To: trevor obba <trevor_obba at yahoo.co.uk>
> Cc: nagiosplug <nagiosplug-help at lists.sourceforge.net>; nagios-user <nagios-users at lists.sourceforge.net>
> Sent: Friday, 26 October, 2007 5:47:06 PM
> Subject: Re: [Nagios-users] check_dhcp on infoblox
>
> trevor obba wrote:
>  
>> Has anyone successfully had any check_dhcp nagios plugin working on infoblox? I could not get it to working on Infoblox
>> network appliance, I not even getting any log in infoblox logs
>>  
>>    
> It should work from your linux server over the standard ethernet for any 
> dhcp server that responds over the network. If your black box solution 
> "Infoblox" which I am not familiar with, actually responds to dhcp 
> requests with dhcp offers then it should work the same as any other dhcp 
> server test.
>  
>> I am running Nagios 2.5 on Suse enterprise linux 10, I am running check_dhcp
>> version 0.1 
>>
>> Do you have ideas why check_dhcp.pl is not working for infoblox network
>> alliances? What am I doing rough? Can you help please?
>>
>>  
>>    
> Version 0..1? That sounds completely wrong. I am using the standard plugin from the nagios plugins distribution which is not a perl plugin but a compiled plugin, and that is version 1.8 from nagios-plugins 1.4.8.
>
> Check you are using the right plugin and then try again?
>
> -h
>
>
>      ___________________________________________________________ 
> Want ideas for reducing your carbon footprint? Visit Yahoo! For Good   http://uk.promotions.yahoo.com/forgood/environment.html
>
>
>  

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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