On 06/05/2013 10:01 AM, Maxwell Carey wrote:
When I run check_dhcp as the nagios user, I get the following error:
$ /usr/local/nagios/libexec/check_dhcp
Error: Could not bind socket to interface eth0. Check your privileges...
Even when I run the plugin as the root user, I get the same
?
From: Edgar Matzinger edgar.matzin...@valid.nl
To: Dei Bertine deibert...@yahoo.com
Cc: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Friday, June 26, 2009 3:47:06 AM
Subject: RE: [Nagios-users] check_dhcp issue
LS,
Dei scribbled
On Jun 29, 2009, at 2:08 PM, Dei Bertine wrote:
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
.
From: Dei Bertine deibert...@yahoo.com
To: Edgar Matzinger edgar.matzin...@valid.nl
Cc: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Monday, June 29, 2009 12:08:53 PM
Subject: Re: [Nagios-users] check_dhcp issue
I actually tried
Matzinger edgar.matzin...@valid.nl
Cc: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net
Sent: Monday, June 29, 2009 12:08:53 PM
Subject: Re: [Nagios-users] check_dhcp issue
I actually tried check_command check_dhcp Without !/check_dh! but
still error.
Having an ip
On Mon, Jun 29, 2009 at 1:08 PM, Dei Bertine deibert...@yahoo.com wrote:
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
Dei Bertine wrote:
Ok did that but still error:
r...@tool:/usr/local/nagios/libexec# chmod 4755 ./check_dhcp
r...@tool:/usr/local/nagios/libexec# ls -als check_dhcp
76 -rwsr-xr-x 1 nagios nagios 72834 2009-04-26 21:06 check_dhcp
nag...@tool:~/libexec$ ./check_dhcp -s serveip1
Error: Could
: Re: [Nagios-users] check_dhcp issue
Dei Bertine wrote:
Ok did that but still error:
r...@tool:/usr/local/nagios/libexec# chmod 4755 ./check_dhcp
r...@tool:/usr/local/nagios/libexec# ls -als check_dhcp
76 -rwsr-xr-x 1 nagios nagios 72834 2009-04-26 21:06 check_dhcp
nag...@tool:~/libexec
Dei Bertine wrote:
Ok some progress doing this command... :-)
chown root:root check_dhcp chmod 4755 check_dhcp
However, what's odd is when I launch the plugin command via cli I am ok:
OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec.
But when I look at the nagios monitor page, I
@lists.sourceforge.net
Sent: Friday, June 26, 2009 1:20:30 AM
Subject: Re: [Nagios-users] check_dhcp issue
Dei Bertine wrote:
Ok some progress doing this command... :-)
chown root:root check_dhcp chmod 4755 check_dhcp
However, what's odd is when I launch the plugin command via cli I am ok:
OK
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$
Dei Bertine wrote:
Hi all,
I need to monitor our dhcp server and came to see the check_dhcp plugin.
However I'm getting this error when initiating the command:
nag...@tool:~/libexec$ ./check_dhcp -s serveip1
Error: Could not bind socket to interface eth0. Check your privileges...
to interface eth0. Check your privileges...
Any other ideas?
Thanks.
From: Andreas Ericsson a...@op5.se
To: Dei Bertine deibert...@yahoo.com
Cc: nagios-users@lists.sourceforge.net
Sent: Thursday, June 25, 2009 10:43:13 PM
Subject: Re: [Nagios-users] check_dhcp issue
enero, 2009 21:55:07
Asunto: Re: [Nagios-users] check_dhcp seems not working
Thank you!
In my case, the server-side firewall works without a problem. The server
does hand out DHCP addresses all the time.
It was the client-side firewall (i.e., the one on the Nagios server)
that blocked the DHCP
Christian Iñiguez challenger_jos...@yahoo.com.mx wrote:
Thank you.
But I have neither firewall nor SELinux enabled. In deed for a moment
worked, but a couple of hours later it didn't work again.
It's really weird.
Have you checked your DHCP logs? Do you have enough leases available in
the
Christian Iñiguez challenger_jos...@yahoo.com.mx wrote:
Hi Everyone
I have a linux server as dhcp server and it's working very well, and I'd
like to monitoring it with nrpe plugin and check_dhcp.
The problem here is the outcome of check_dhcp is always: CRITICAL: No
DHCPOFFERs were
: nagios-users@lists.sourceforge.net
Enviado: jueves, 15 de enero, 2009 13:06:21
Asunto: Re: [Nagios-users] check_dhcp seems not working
Christian Iñiguez challenger_jos...@yahoo.com.mx wrote:
Hi Everyone
I have a linux server as dhcp server and it's working very well, and I'd
like
I have a linux server as dhcp server and it's working very well, and
I'd like to monitoring it with nrpe plugin and check_dhcp.
The problem here is the outcome of check_dhcp is always: CRITICAL: No
DHCPOFFERs were received. But the server is working alright.
The command line is:
@lists.sourceforge.net
Enviado: jueves, 15 de enero, 2009 13:18:08
Asunto: RE: [Nagios-users] check_dhcp seems not working
I have a linux server as dhcp server and it's working very well, and
I'd like to monitoring it with nrpe plugin and check_dhcp.
The problem here is the outcome of check_dhcp is always
James Moseley
Christian Iñiguez challenger_jos...@yahoo.com.mx wrote:
In deed both servers (the dhcp server and nagios server) are in the same
subnet and there is no firewall between them. From the nagios server I run
check_nrpe!check_dhcp
And in the side of dhcp server I run the command:
jmose...@corp.xanadoo.com wrote:
Christian Iñiguez challenger_jos...@yahoo.com.mx wrote:
Hi Everyone
I have a linux server as dhcp server and it's working very well, and I'd
like to monitoring it with nrpe plugin and check_dhcp.
The problem here is the outcome of check_dhcp
-users@lists.sourceforge.net
Enviado: jueves, 15 de enero, 2009 13:25:24
Asunto: Re: [Nagios-users] check_dhcp seems not working
James Moseley
Christian Iñiguez challenger_jos...@yahoo.com.mx wrote:
In deed both servers (the dhcp server and nagios server) are in the same
subnet
Exactly Kevin, you are right
- Mensaje original
De: Kevin Keane subscript...@kkeane.com
CC: nagios-users@lists.sourceforge.net
Enviado: jueves, 15 de enero, 2009 13:39:47
Asunto: Re: [Nagios-users] check_dhcp seems not working
jmose...@corp.xanadoo.com wrote:
Christian Iñiguez
cc
Subject
Re: [Nagios-users] check_dhcp seems
not working
: [Nagios-users] check_dhcp seems not working
jmose...@corp.xanadoo.com wrote:
Christian Iñiguez challenger_jos...@yahoo.com.mx wrote:
Hi Everyone
I have a linux server as dhcp server and it's working very well, and I'd
like to monitoring it with nrpe plugin
wrote:
Exactly Kevin, you are right
- Mensaje original
De: Kevin Keane subscript...@kkeane.com
CC: nagios-users@lists.sourceforge.net
Enviado: jueves, 15 de enero, 2009 13:39:47
Asunto: Re: [Nagios-users] check_dhcp seems not working
jmose...@corp.xanadoo.com wrote:
Christian
Kevin Keane subscript...@kkeane.com wrote:
Christian, actually, your question prompted me to try it again. Turned
out that it was the firewall software on my Nagios box that blocked the
DHCP request. As soon as I turned it off, check_dhcp worked. I'm not yet
sure which ports to open to make
JFTR:
* jmose...@corp.xanadoo.com [2009-01-15 13:06]:
If you're running Nagios on a different network than the DHCP server and
there is a firewall in between, you'll probably have to do several things:
1. Open up a hole in the firewall to allow the Nagios server to request a
DHCP address
* Christian Iñiguez challenger_jos...@yahoo.com.mx [2009-01-15 10:46]:
I have a linux server as dhcp server and it's working very well, and
I'd like to monitoring it with nrpe plugin and check_dhcp.
The problem here is the outcome of check_dhcp is always: CRITICAL: No
DHCPOFFERs were
Holger Weiss hol...@cis.fu-berlin.de wrote:
* jmose...@corp.xanadoo.com [2009-01-15 13:06]:
2. Have a DHCP relay statement on the router's interface your Nagios
server
connects to so it knows to which server to relay the DHCP request to
For such a setup, step (2) isn't necessary, as
* jmose...@corp.xanadoo.com [2009-01-15 14:59]:
Holger Weiss hol...@cis.fu-berlin.de wrote:
* jmose...@corp.xanadoo.com [2009-01-15 13:06]:
2. Have a DHCP relay statement on the router's interface your Nagios server
connects to so it knows to which server to relay the DHCP request to
For
Holger Weiss hol...@cis.fu-berlin.de wrote:
* jmose...@corp.xanadoo.com [2009-01-15 14:59]:
Holger Weiss hol...@cis.fu-berlin.de wrote:
* jmose...@corp.xanadoo.com [2009-01-15 13:06]:
2. Have a DHCP relay statement on the router's interface your Nagios
server
connects to so it knows
are right
- Mensaje original
De: Kevin Keane subscript...@kkeane.com
CC: nagios-users@lists.sourceforge.net
Enviado: jueves, 15 de enero, 2009 13:39:47
Asunto: Re: [Nagios-users] check_dhcp seems not working
jmose...@corp.xanadoo.com wrote:
Christian Iñiguez challenger_jos
Hari Sekhon wrote:
Jean Frontin wrote:
Hello,
I run the command :
check_dhcp -s 1.2.3.4
I Know that dhcpd is running on this host !
What does it happend ? I appreciate some ideas
The Dhcp server has enough intelligence to not respond to itself for a
dhcp lease.
Check it from
PROTECTED]
To: trevor obba [EMAIL PROTECTED]
Cc: Nagios Users mailinglist nagios-users@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
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.
.
- Original Message
From: Hari Sekhon [EMAIL PROTECTED]
To: trevor obba [EMAIL PROTECTED]
Cc: nagiosplug [EMAIL PROTECTED]; nagios-user
nagios-users@lists.sourceforge.net
Sent: Friday, 26 October, 2007 5:47:06 PM
Subject: Re: [Nagios-users] check_dhcp on infoblox
trevor obba wrote
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
Marc Powell wrote:
-Original Message-
From: Lacayo, Luis F [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:07 PM
To: Marc Powell; Nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] check_dhcp question...
Here is the output of the verbose.
[EMAIL PROTECTED
-Original Message-
From: [EMAIL PROTECTED] [mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of Lacayo, Luis F
Sent: Wednesday, June 27, 2007 1:41 PM
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_dhcp question...
Hi Everyone,
I am doing a check of
Public Schools
OTS / UNIX Administration
[EMAIL PROTECTED]
Office: 773-553-3835
Cell: 773 203-4493
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc
Powell
Sent: Wednesday, June 27, 2007 2:32 PM
To: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios
-Original Message-
From: Lacayo, Luis F [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:07 PM
To: Marc Powell; Nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] check_dhcp question...
Here is the output of the verbose.
[EMAIL PROTECTED] libexec
the first test just checks to see if someone gives a dhcp lease.
the second will fail unless that specific server gives a dhcp lease.
it's possible you have a dhcp server trying to give a 0 second lease or
the plugin may have a bug, are you sure it said 1 DHCPOFFER and max
lease time 0
dhcp3 has built-in failover; maybe you also have dhcp-relay?
anyway try -vvv
Luca
- Original Message -
*From:* Hari Sekhon [EMAIL PROTECTED]
*Sent:* 04/18/2007 6:06:05 PM +0800
*To:* abid dar [EMAIL PROTECTED]
*CC:* Nagios Users mailinglist nagios-users@lists.sourceforge.net
*Subject:*
Subject: Re: [Nagios-users] check_dhcp
dhcp3 has built-in failover; maybe you also have dhcp-relay?
anyway try -vvv
Luca
- Original Message -
*From:* Hari Sekhon [EMAIL PROTECTED]
*Sent:* 04/18/2007 6:06:05 PM +0800
*To:* abid dar [EMAIL PROTECTED]
*CC:* Nagios Users mailinglist nagios-users
PROTECTED]
Cc: abid dar [EMAIL PROTECTED]; Nagios Users mailinglist
nagios-users@lists.sourceforge.net
Sent: Wednesday, April 18, 2007 6:12:17 AM
Subject: Re: [Nagios-users] check_dhcp
dhcp3 has built-in failover; maybe you also have dhcp-relay?
anyway try -vvv
Luca
- Original Message
[EMAIL PROTECTED]; Nagios Users mailinglist
nagios-users@lists.sourceforge.net
Sent: Wednesday, April 18, 2007 6:12:17 AM
Subject: Re: [Nagios-users] check_dhcp
dhcp3 has built-in failover; maybe you also have dhcp-relay?
anyway try -vvv
Luca
- Original Message -
*From:* Hari
-Original Message-
From: [EMAIL PROTECTED] [mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of abid dar
Sent: Tuesday, April 17, 2007 4:37 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_dhcp
Having a weird situation..
[EMAIL PROTECTED] wrote on 21/09/2006 11:19:39:
I've put a dhcp server on the same host as the nagios server, and it's
running but check_dhcp doesn't work from the server.
/usr/nagios/libexec/check_dhcp -i eth1 -v
DHCP socket: 3
Hardware address: 00095be058c7
DHCPDISCOVER to
-Original Message-
From: [EMAIL PROTECTED] [mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of Hari Sekhon
Sent: Thursday, September 21, 2006 5:20 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_dhcp doesn't work from server
I've put a dhcp server on the
I suspect you want $USER1$, not $USERS1$. That error code often
(usually? always?) means that there's a problem with the path to the
plugin.
-John
On Aug 7, 2006, at 4:33 PM, Antonio Pereira wrote:
Hello,
I am having an issue where I have added the check_dhcp but I get
the
-Original Message-
From: [EMAIL PROTECTED] [mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of Jan Kohnert
Sent: Monday, June 26, 2006 10:52 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_dhcp on localhost
Hello folks,
I got Nagios-1.4.1 on Gentoo up
-Original Message-
From: [EMAIL PROTECTED] [mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of Hathaway, Adam B.
Sent: Monday, March 13, 2006 10:49 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Check_DHCP
Should the Check_DHCP script work if the nagios
Hi Toto,
On Tue, 2006-01-24 at 22:19 +0100, Hugo van der Kooij wrote:
On Tue, 24 Jan 2006, Toto Capuccino wrote:
I think that the packets are sent through a
cisco switch/router that routes the packets from net 10.1.0.0 to 10.2.0.0 so
that must be the reason of my problem. If dhcp works
Hi I tried to compile the plugin check_ dhcp from op5 but unsuccesfully:linuxserver:/usr/local/nagios-1.3/libexec/OssOp5/plugins.op5/plugins# gcc -o check_dhcp check_dhcp.cIn file included from check_dhcp.c:40:
common.h:69:21: config.h: No such file or directorycommon.h:225:21: gettext.h: No such
On Tue, 24 Jan 2006, Toto Capuccino wrote:
I want to run a check_dhcp on a remote server inside the same subnet but
never get a reply :
This can not be true. Either the DHCP server is remote or in the same
subnet. But it can not be both. (Unless you got a L2 bridge in there.)
Perhaps you ment
When i write a remote server i mean a server that is not the nagios server. When i say that it is on the same subnet i made certainly a mistake as actually the nagios server get an address
10.1.1.13 and the dhcp server i am trying to ping is 10.2.1.1. I think that the packets are sent through a
On Tue, 24 Jan 2006, Toto Capuccino wrote:
When i write a remote server i mean a server that is not the nagios server.
When i say that it is on the same subnet i made certainly a mistake as
actually the nagios server get an address 10.1.1.13 and the dhcp server i am
trying to ping is
On Nov 18, 2005, at 05:42, Jamie Pratt wrote:
I have an environment with 4 MS Active Directory DNS servers
running DHCP. The dhcp servers are load-balanced in two pairs,
via a cabletron smart-switch router upstream which hands off two
offers per dhcp request...
So.. Herein lies my
59 matches
Mail list logo