check_dhcp not working

Toto Capuccino shoktai at gmail.com
Tue Jan 24 21:27:45 CET 2006


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
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 with broadcasting
messages, the switch is not relaying those dhcp packets. I am right ? Is
there's a way to bypass that ?

2006/1/24, Hugo van der Kooij <hvdkooij at vanderkooij.org>:
>
> 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 to say something differently which I did not understand?
>
> > I also want to check dhcp on other subnets separed with cisco routers,
> is
> > that possible?
>
> Sounds like a perfect place for DHCP relaying. But your nagios server must
> be in the same network as the other clients if you want a meaningfull
> result.
>
> If it is not in the same network you may get a lease from the server while
> the stations on the other network may not get one because your pool for
> that network is exhausted.
>
> This is not a plugin limitation but actually how DHCP works.
>
> Hugo.
>
> --
>         I hate duplicates. Just reply to the relevant mailinglist.
>         hvdkooij at vanderkooij.org                http://hvdkooij.xs4all.nl/
>                 Don't meddle in the affairs of magicians,
>                 for they are subtle and quick to anger.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060124/290a9bd5/attachment.html>


More information about the Users mailing list