Re: [Nagios-users] check_dhcp permissions issue even when run as root

2013-06-06 Thread Maxwell Carey
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

Re: [Nagios-users] check_dhcp issue

2009-06-29 Thread Dei Bertine
? 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

Re: [Nagios-users] check_dhcp issue

2009-06-29 Thread Marc Powell
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

Re: [Nagios-users] check_dhcp issue

2009-06-29 Thread Dei Bertine
. 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

Re: [Nagios-users] check_dhcp issue

2009-06-29 Thread Dei Bertine
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

Re: [Nagios-users] check_dhcp issue

2009-06-29 Thread Mike Saldivar
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

Re: [Nagios-users] check_dhcp issue

2009-06-26 Thread Andreas Ericsson
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

2009-06-26 Thread Dei Bertine
: 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

Re: [Nagios-users] check_dhcp issue

2009-06-26 Thread Andreas Ericsson
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

Re: [Nagios-users] check_dhcp issue

2009-06-26 Thread Dei Bertine
@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

Re: [Nagios-users] check_dhcp issue

2009-06-26 Thread Edgar Matzinger
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$

Re: [Nagios-users] check_dhcp issue

2009-06-25 Thread Andreas Ericsson
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...

Re: [Nagios-users] check_dhcp issue

2009-06-25 Thread Dei Bertine
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-16 Thread Christian Iñiguez
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-16 Thread jmoseley
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
: 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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Morris, Patrick
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:

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
@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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
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:

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Kevin Keane
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
-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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Christian Iñiguez
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
cc Subject Re: [Nagios-users] check_dhcp seems not working

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Kevin Keane
: [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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread James Miller
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Holger Weiss
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Holger Weiss
* 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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Holger Weiss
* 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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread jmoseley
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

Re: [Nagios-users] check_dhcp seems not working

2009-01-15 Thread Kevin Keane
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

Re: [Nagios-users] check_dhcp doesn't return results

2008-07-11 Thread Hari Sekhon
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

Re: [Nagios-users] check_dhcp on infoblox

2007-10-30 Thread trevor obba
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

Re: [Nagios-users] check_dhcp on infoblox

2007-10-30 Thread Patrick Morris
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.

Re: [Nagios-users] check_dhcp on infoblox

2007-10-29 Thread Hari Sekhon
. - 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

Re: [Nagios-users] check_dhcp on infoblox

2007-10-26 Thread Hari Sekhon
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

Re: [Nagios-users] check_dhcp question...

2007-06-28 Thread Hari Sekhon
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

Re: [Nagios-users] check_dhcp question...

2007-06-27 Thread Marc Powell
-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

Re: [Nagios-users] check_dhcp question...

2007-06-27 Thread Lacayo, Luis F
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

Re: [Nagios-users] check_dhcp question...

2007-06-27 Thread Marc Powell
-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

Re: [Nagios-users] check_dhcp

2007-04-18 Thread Hari Sekhon
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

Re: [Nagios-users] check_dhcp

2007-04-18 Thread Luca Fornasari
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:*

Re: [Nagios-users] check_dhcp

2007-04-18 Thread abid dar
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

Re: [Nagios-users] check_dhcp

2007-04-18 Thread Hari Sekhon
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

Re: [Nagios-users] check_dhcp

2007-04-18 Thread Luca Fornasari
[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

Re: [Nagios-users] check_dhcp

2007-04-17 Thread Marc Powell
-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..

Re: [Nagios-users] check_dhcp doesn't work from server

2006-09-21 Thread rob . moss
[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

Re: [Nagios-users] check_dhcp doesn't work from server

2006-09-21 Thread Marc Powell
-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

Re: [Nagios-users] CHECK_DHCP Error

2006-08-07 Thread John R. Daily
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

Re: [Nagios-users] check_dhcp on localhost

2006-06-26 Thread Marc Powell
-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

RE: [Nagios-users] Check_DHCP

2006-03-13 Thread Marc Powell
-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

Re: [Nagios-users] check_dhcp not working

2006-01-27 Thread Chris Wilson
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

Re: [Nagios-users] check_dhcp not working

2006-01-24 Thread Toto Capuccino
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

Re: [Nagios-users] check_dhcp not working

2006-01-24 Thread Hugo van der Kooij
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

Re: [Nagios-users] check_dhcp not working

2006-01-24 Thread Toto Capuccino
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

Re: [Nagios-users] check_dhcp not working

2006-01-24 Thread Hugo van der Kooij
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

Re: [Nagios-users] check_dhcp

2005-11-18 Thread Guy B. Purcell
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