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
I'm having a strange issue with the check_dhcp plugin v1.4.16 on SL6.
Permissions on the file are 4750, owner is root, and group is nagios;
the nagios user is a member of the nagios group. The partition was
mounted with the suid option enabled. SELinux is disabled.
$ ls -l /usr/local/nagios/lib
Hello,
occasionally our DHCP server check goes through two state changes in one
second. See below. No other service behaves this way. It makes me think
that the check_dhcp plugin sometimes sends two results in quick
succession instead of one. Or maybe Nagios runs the check twice?
It does not occu
Hi All,
I've been tearing my hair out and unsuccessfully googling this problem for what
feels like a lifetime... I'm coming to the conclusion I've missed something
blindingly obvious as nobody else in the world seems to have my problem.
I have a Nagios 2 server (standalone machine) monitoring
On Mon, Jun 29, 2009 at 1: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
c: "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 address didnt make a difference.
Also chmod (u+s) on
86400 sec.
From: Dei Bertine
To: Edgar Matzinger
Cc: "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..
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 wi
?
From: Edgar Matzinger
To: Dei Bertine
Cc: "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 2009-06-26:
> Ok, here's my definition in services:
&
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 $HOSTAD
nt: 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
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 p
his:
CRITICAL: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max
lease time = 86400 sec.
Any idea why?
From: Andreas Ericsson
To: Dei Bertine
Cc: nagios-users@lists.sourceforge.net
Sent: Thursday, June 25, 2009 10:58:14 PM
Subject: Re: [Nagios-user
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: Cou
interface eth0. Check your privileges...
Any other ideas?
Thanks.
From: Andreas Ericsson
To: Dei Bertine
Cc: nagios-users@lists.sourceforge.net
Sent: Thursday, June 25, 2009 10:43:13 PM
Subject: Re: [Nagios-users] check_dhcp issue
Dei Bertine wrote:
> Hi
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..
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...
But when I am on root, I get thi
Playing around with check_dhcp (installed via RHEL3 repository -
nagios-plugins-1.4.11, check_dhcp v. 1.7), I noticed that by setting a
timeout, the check result doesn't return until the timeout limit is
reached. If I use no timeout, successful result is received in about 1
second. If I use a ti
Christian Iñiguez 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 subnet you would expect t
: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 request, eve
make it work with the firewall on. So far, I
>> tried ports 67 and 68 for both TCP and UDP, but that seems not to be enough.
>>
>> Christian Iñiguez wrote:
>>
>>> Exactly Kevin, you are right
>>>
>>>
>>>
>>> --
Holger Weiss wrote:
* jmose...@corp.xanadoo.com [2009-01-15 14:59]:
>> Holger Weiss 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 re
* jmose...@corp.xanadoo.com [2009-01-15 14:59]:
> Holger Weiss 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,
Holger Weiss 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 check_dhcp will mimic
* Christian Iñiguez [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 received. But the server is worki
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 addres
Kevin Keane 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 it work with the fire
iguez wrote:
Exactly Kevin, you are right
- Mensaje original
De: Kevin Keane
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
tried ports 67 and 68 for both TCP and UDP, but that seems not to be enough.
Christian Iñiguez wrote:
> Exactly Kevin, you are right
>
>
>
> - Mensaje original
> De: Kevin Keane
> CC: nagios-users@lists.sourceforge.net
> Enviado: jueves, 15 de enero, 2009 13:39:4
cc
Subject
Re: [Nagios-users] check_dhcp seems
n
Exactly Kevin, you are right
- Mensaje original
De: Kevin Keane
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 wrote:
&g
: jueves, 15 de enero, 2009 13:25:24
Asunto: Re: [Nagios-users] check_dhcp seems not working
James Moseley
Christian Iñiguez 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
>
jmose...@corp.xanadoo.com wrote:
>
>
> Christian Iñiguez 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: C
James Moseley
Christian Iñiguez 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: check_dhcp -s
ip_dhcp_serv
Thanks but actually the plugin is setuid root, and as user root and user nagios
the outcome is the same =(
- Mensaje original
De: "Morris, Patrick"
Para: Christian Iñiguez ;
"nagios-users@lists.sourceforge.net"
Enviado: jueves, 15 de enero, 2009 13:18:08
Asunt
> 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: che
ado: jueves, 15 de enero, 2009 13:06:21
Asunto: Re: [Nagios-users] check_dhcp seems not working
Christian Iñiguez 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.>
Christian Iñiguez 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 received. But the server is worki
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 received. But the server is working alright.
The command line is: ch
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 l
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 another machine
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
--
Jean Frontin
System team
I R I T
Université Paul-Sabatier
118, rte de Narbonne
31062 Toulouse cedex 9
France
tel (33)(0)5 61 55 63 03
mail [EMAIL PRO
> 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.
---
AIL PROTECTED]>
To: trevor obba <[EMAIL PROTECTED]>
Cc: Nagios Users mailinglist
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 th
from check_dhcp.
>
> Can you help? please.
>
>
> - Original Message
> From: Hari Sekhon <[EMAIL PROTECTED]>
> To: trevor obba <[EMAIL PROTECTED]>
> Cc: nagiosplug <[EMAIL PROTECTED]>; nagios-user
>
> Sent: Friday, 26 October, 2007 5:47
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
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 id
tc.
-h
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_dhc
> -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.
>
>
-users] check_dhcp question...
> -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 q
> -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 Everyon
Hi Everyone,
I am doing a check of the DHCP server and when I run the check_dhcp
manually, I get a reply that there were no DHCP OFFERS.
./check_dhcp -s 10.129.177.16 -r 10.129.177.240
DHCP problem: No DHCPOFFERs were received.
But when I look at my server on the system messages I se
>, Hari Sekhon
<[EMAIL PROTECTED]>
*CC:* Nagios Users mailinglist
*Subject:* [Nagios-users] check_dhcp
> I've tried that,
>
> " ./check_dhcp -vvv
> DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec."
>
> if I try passing any argument while tryin
PROTECTED]>
To: Hari Sekhon <[EMAIL PROTECTED]>
Cc: abid dar <[EMAIL PROTECTED]>; Nagios Users mailinglist
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
-
: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 Sekhon <[EMAIL PROTECTED]>
*Sent:* 04/18/2007 6:06:05 PM +0800
*To:* abid dar <[EMAIL PROTECTED]>
*CC:* Nagio
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
*Subject:* [Nagios-users] check
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 seconds?
> -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.
Having a weird situation..
/usr/local/nagios/libexec/check_dhcp
DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec.
/usr/local/nagios/libexec/check_dhcp -s xx.xxx.xxx.xxx (our dhcp server)
DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers responded, max
lease time = 284400 se
Hello
My nagios server run on openbsd. I have one physical network
interface (pcn0) with no ip.
Upon pcn0, I have 5 vlan interfaces .
This is an extract of ifconfig
pcn0: flags=8843 mtu 1500
lladdr 00:50:56:a7:5c:4a
media: Ethernet autoselect (autoselect)
inet6 fe80::
> -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 serv
[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 255.255.
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 255.255.255.255 port 67
DHCPDISCOVER XID: 772340585 (0x2E08FB69)
DHCD
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 fol
Hello,
I am having an issue where I have added the check_dhcp but I
get the following error on the web page of the service
Return code of 126 is out of bounds - plugin may be missing
I have tested the check_dhcp from the command line and I do get a
response form the server. I am
Marc Powell schrieb:
> I don't use check_dhcp myself but according to this post it's a
> limitation of dhcpd. It seems like a good thing to me for the DHCP
> server not to give itself a lease ;)
But according to my posted logs it gives itself a lease. ;)
> I can't narrow my search enough
> with
> -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,
&g
Hello folks,
I got Nagios-1.4.1 on Gentoo up and running using the fine documentation and
the template config files which I could easily edit to fit my needs.
But I ran into trouble with one single service:
I do:
server ~ # /usr/nagios/libexec/check_dhcp -v -s localhost -i eth0
DHCP socket: 3
Har
> -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
Should the Check_DHCP script work if the nagios server is
statically assigned an IP address? The script was working before but now that
I statically assigned an IP it is no longer working.
Adam B. Hathaway
Network/Telephony Support Specialist
Technology Systems & Networking
Bridge
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 w
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 10.2.
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 ci
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
-- Forwarded message --From: Toto Capuccino <[EMAIL PROTECTED]>Date: 24 janv. 2006 17:17
Subject: Re: [Nagios-users] check_dhcp not workingTo: "Sloane, Robert Raymond" <[EMAIL PROTECTED]>yep make is betterlinuxserver:/usr/local/nagios-1.3
/libexec/OssOp5/
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 f
Hello,I want to run a check_dhcp on a remote server inside the same subnet but never get a reply :/usr/local/nagios/libexec# ./check_dhcp -s 10.2.1.1DHCP problem: No DHCPOFFERs were received.
/usr/local/nagios/libexec# ./check_dhcp -s 10.2.1.1 -r 10.2.10.98 -vDHCP socket: 3Hardware address: 000f20
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 prob
Hi.
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 problem. Since the AD servers do not actually hand
79 matches
Mail list logo