<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Well...thanks for the comment. I thing you are right...i will add a
pool for that ip address, just so it can give me an offer.<br>
<pre class="moz-signature" cols="72">
</pre>
<br>
<br>
Holger Weiß wrote:
<blockquote cite="mid:20100708101602.GS61645@CIS.FU-Berlin.DE"
type="cite">
<pre wrap="">* Cosmin Neagu <a class="moz-txt-link-rfc2396E" href="mailto:cosmin.neagu@omnilogic.ro"><cosmin.neagu@omnilogic.ro></a> [2010-07-08 10:12]:
</pre>
<blockquote type="cite">
<pre wrap="">So from what i see on the server:
DHCPD: DHCPDISCOVER received from client 0050.56a1.4fbf through relay
192.168.53.250
DHCPD: Seeing if there is an internally specified pool class
DHCPD: there is no address pool for 192.168.53.250
</pre>
</blockquote>
<pre wrap=""><!---->
Why can't you simply add an entry for 192.168.53.250 to the DHCP server
configuration?
</pre>
<blockquote type="cite">
<pre wrap="">I thing that nagios sets the relay agent ip address in dhcp header to
be the ip address of the interface from where the dhcpdiscover is
sent. Is there any posibilities to control this, i mean to put in
that header whatever ip address i want for dhcp relay agent?
</pre>
</blockquote>
<pre wrap=""><!---->
No, because the server uses that IP address for the reply. That is, if
you fake the field in question ("giaddr"), you won't get a response.
</pre>
<blockquote type="cite">
<pre wrap="">Otherwise, i thing nagios cand only monitor dhcp servers on the same
lan/subnet.
</pre>
</blockquote>
<pre wrap=""><!---->
check_dhcp's "-u" option works just fine if the server is configured
appropriately. (And of course, you could use a "real" DHCP relay agent
instead of check_dhcp's "-u" option.)
Holger
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/sprint-com-first">http://p.sf.net/sfu/sprint-com-first</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
</body>
</html>