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

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

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

[Nagios-users] check_dhcp double check results

2012-11-12 Thread Rostislav Opocensky
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

[Nagios-users] check_dhcp failing to return OK from virtualised DHCP servers

2012-02-24 Thread Steve Hennerley
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

Re: [Nagios-users] check_dhcp issue

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

Re: [Nagios-users] check_dhcp issue

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

Re: [Nagios-users] check_dhcp issue

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

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 wi

Re: [Nagios-users] check_dhcp issue

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

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 $HOSTAD

Re: [Nagios-users] check_dhcp issue

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

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 p

Re: [Nagios-users] check_dhcp issue

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

Re: [Nagios-users] check_dhcp issue

2009-06-25 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: Cou

Re: [Nagios-users] check_dhcp issue

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

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..

[Nagios-users] check_dhcp issue

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

[Nagios-users] check_dhcp oddness

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

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

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 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,

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

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 addres

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

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 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

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

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: che

Re: [Nagios-users] check_dhcp seems not working

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

Re: [Nagios-users] check_dhcp seems not working

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

[Nagios-users] check_dhcp seems not working

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

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 l

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

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

[Nagios-users] check_dhcp doesn't return results

2008-07-11 Thread Jean Frontin
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

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

Re: [Nagios-users] check_dhcp on infoblox

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

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

[Nagios-users] check_dhcp on infoblox

2007-10-26 Thread 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 I am running Nagios 2.5 on Suse enterprise linux 10, I am running check_dhcp version 0.1 Do you have id

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

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

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. > >

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

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

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 Everyon

[Nagios-users] check_dhcp question...

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

Re: [Nagios-users] check_dhcp

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

Re: [Nagios-users] check_dhcp

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

Re: [Nagios-users] check_dhcp

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

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 *Subject:* [Nagios-users] check

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 seconds?

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.

[Nagios-users] check_dhcp

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

[Nagios-users] check_dhcp on vlan interface

2007-01-23 Thread Marc Boisis-Delavaud
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::

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 serv

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 255.255.

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

2006-09-21 Thread Hari Sekhon
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

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 fol

[Nagios-users] CHECK_DHCP Error

2006-08-07 Thread Antonio Pereira
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

Re: [Nagios-users] check_dhcp on localhost

2006-06-30 Thread Jan Kohnert
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

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, &g

[Nagios-users] check_dhcp on localhost

2006-06-26 Thread Jan Kohnert
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

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

[Nagios-users] Check_DHCP

2006-03-13 Thread Hathaway, Adam B.
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

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 w

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 10.2.

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 ci

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

Fwd: [Nagios-users] check_dhcp not working

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

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 f

[Nagios-users] check_dhcp not working

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

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 prob

[Nagios-users] check_dhcp

2005-11-18 Thread Jamie Pratt
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