Discussion:
[Nagios-users] check_dhcp on infoblox
trevor obba
2007-10-26 13:45:36 UTC
Permalink
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



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?











___________________________________________________________
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html
Hari Sekhon
2007-10-26 16:47:06 UTC
Permalink
Post by trevor obba
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.
Post by trevor obba
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
Giles Coochey
2007-10-29 08:30:08 UTC
Permalink
-----Original Message-----
Sent: 26 October 2007 18:47
To: trevor obba
Cc: nagiosplug; nagios-user
Subject: Re: [Nagios-users] [Nagiosplug-help] check_dhcp on infoblox
Post by trevor obba
Has anyone successfully had any check_dhcp nagios plugin working on
infoblox? I could not get it to working on Infoblox
Post by trevor obba
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.
Post by trevor obba
I am running Nagios 2.5 on Suse enterprise linux 10, I am running
check_dhcp
Post by trevor obba
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?
The Infoblox appliance is running a customised version of ISC dhcpd,
check_dhcp should work just fine. I will give it a go at some point as
we have a couple of these devices.
Hari Sekhon
2007-10-26 16:47:06 UTC
Permalink
Post by trevor obba
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.
Post by trevor obba
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


-------------------------------------------------------------------------
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/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
Hari Sekhon
2007-10-29 10:39:43 UTC
Permalink
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
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
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 ----
Sent: Friday, 26 October, 2007 5:47:06 PM
Subject: Re: [Nagios-users] check_dhcp on infoblox
Post by trevor obba
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.
Post by trevor obba
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
trevor obba
2007-10-30 23:57:02 UTC
Permalink
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 <***@googlemail.com>
To: trevor obba <***@yahoo.co.uk>
Cc: Nagios Users mailinglist <nagios-***@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
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
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 ----
Sent: Friday, 26 October, 2007 5:47:06 PM
Subject: Re: [Nagios-users] check_dhcp on infoblox
Post by trevor obba
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.
Post by trevor obba
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-***@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
Patrick Morris
2007-10-31 00:32:56 UTC
Permalink
Post by trevor obba
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.
Check the archives -- this one comes up a lot.

The short answer is that check_dhcp needs root privileges to work
correctly.

Loading...