Problemas con check_dchp

Chris Wilson chris at aidworld.org
Tue Sep 27 12:32:58 CEST 2005


Hi Marc and Luis,

On Mon, 2005-09-26 at 22:57, Marc Powell wrote:

> > From: Luis Gardea [mailto:gardealuis at gmail.com]
[...]
> > My problem is that I want to put in my nagios server the server of
> DCHP,
> > But when I try monitoring I get allway the next error.
> > 
> > [tlacuilo at netids libexec]# ./check_dhcp -s netdns
> > DHCP problem: No DHCPOFFERs were received.
[...]
> > I don't know if the problem are the firewall or toher thing.
> 
> Neither do we really. Can another machine on the same subnet obtain an
> IP address from the DHCP server? Are you running a firewall on the
> machine running check_dhcp that might be preventing DHCP from working?
> Do you see entries in your firewall logs indicating that it's being
> blocked? Does your DHCP server specifically ignore requests from that
> machine?

There is an "issue" with ISC DHCPD (by design I think) which makes it
almost impossible to run a client on the DHCP server - something to do
with listening on the loopback interface and the address space bound to
that interface. I heard that others were able to make it work with some
black magic, but I never succeeded. The short answer is that you can't
check DHCP from the same machine - or at least expect problems if you
do.

How about using check_by_ssh or check_nrpe to execute the DHCP check on
another machine?

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer (chris at aidworld.org)



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list