[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-users
Subject:    Re: Graphing DHCP pools
From:       project722 <project722 () gmail ! com>
Date:       2017-12-22 15:48:25
Message-ID: CAPBQMZD1RbQadR0H1PV80zquYFeHDuJufwMod-aPLSbh_gu_Xw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I see this in syslog and when running snmpd in the foreground.

Dec 22 09:19:02 <host> snmpd[6816]: Duplicate IPv4 address detected, some
interfaces may not be visible in IP-MIB

[root~]# /usr/sbin/snmpd -Lo -p /var/run/snmpd.pid -a
Duplicate IPv4 address detected, some interfaces may not be visible in
IP-MIB

Now, while this may appear to be a problem, keep in mind that I can
remotely do an snmpget to other OID's. The breakdown seems to be limited to
the OID for dhcpd-snmp.

And, just to provide a background on the duplicate IP address message, the
server does not have duplicate IP's but rather 2 different IPv4 addresses
assigned to a single interface. So, my guess is this is what's being
detected by snmpd.



On Thu, Dec 21, 2017 at 3:36 PM, David Ramage <dramage@lsnetworks.net>
wrote:

> I do not see anything in your config that looks out of the ordinary.
>
>
>
> The first thing I'd try is restarting snmpd while watching your syslog.
> There may be some useful stuff written to syslog when the daemon is
> restarted that can get you on the right path.
>
>
>
> Failing that, I'd stop the snmp daemon and run it in the foreground (as
> root) to see if it spits out anything insightful.  IIRC the syntax is snmpd
> –f –c [path/to/snmpd.conf]
>
> *From:* dhcp-users [mailto:dhcp-users-bounces@lists.isc.org] *On Behalf
> Of *project722
> *Sent:* Thursday, December 21, 2017 1:05 PM
> *To:* Users of ISC DHCP <dhcp-users@lists.isc.org>
> *Subject:* Re: Graphing DHCP pools
>
>
>
> Yes, the script runs locally without issue. SELinix is set to permissive.
>
>
>
> On Thu, Dec 21, 2017 at 2:50 PM, Chuck Anderson <cra@wpi.edu> wrote:
>
> Are you able to run /home/nagios/dhcpd-snmp manually?  Maybe you are
> missing a module, maybe you need to fix SELinux attributes, ...
>
> On Thu, Dec 21, 2017 at 02:36:57PM -0600, project722 wrote:
> > Yes x2. I have the appropriate line in /etc/snmp/snmpd.conf:
> >
> > pass_persist .1.3.6.1.4.1.21695.1.2 /home/nagios/dhcpd-snmp
> > /home/nagios/dhcpd-snmp.conf
> >
> > And I am able to poll other OID's remotely.
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
> ------------------------------
> *The information contained in this email and any attachments may be
> privileged, confidential, and/or proprietary and is intended solely for the
> use of the person(s) to whom it is addressed. If you are not the intended
> recipient, any review, retransmission, dissemination or any other use of
> the information contained in this email and any attachments is strictly
> prohibited and may be unlawful. If you have received this communication in
> error, please notify the sender immediately by replying to this email and
> then delete this material from any system that it may be on. LightSpeed
> Networks, Inc. does not accept responsibility for any changes made to the
> information contained in this communication after it was originally sent. *
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>

[Attachment #5 (text/html)]

<div dir="ltr">I see this in syslog and when running snmpd in the foreground.  \
<div><br></div><div><div>Dec 22 09:19:02 &lt;host&gt; snmpd[6816]: Duplicate IPv4 \
address detected, some interfaces may not be visible in \
IP-MIB</div></div><div><br></div><div><div>[root~]# /usr/sbin/snmpd -Lo -p \
/var/run/snmpd.pid -a</div><div>Duplicate IPv4 address detected, some interfaces may \
not be visible in IP-MIB</div></div><div><br></div><div>Now, while this may appear to \
be a problem, keep in mind that I can remotely do an snmpget to other OID&#39;s. The \
breakdown seems to be limited to the OID for dhcpd-snmp.  \
</div><div><br></div><div>And, just to provide a background on the duplicate IP \
address message, the server does not have duplicate IP&#39;s but rather 2 different \
IPv4 addresses assigned to a single interface. So, my guess is this is what&#39;s \
being detected by snmpd.  </div><div><br></div><div><br></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 21, 2017 at 3:36 PM, \
David Ramage <span dir="ltr">&lt;<a href="mailto:dramage@lsnetworks.net" \
target="_blank">dramage@lsnetworks.net</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_454501986615945736WordSection1">
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">I \
do not see anything in your config that looks out of the \
ordinary.<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> \
<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">The \
first thing I'd try is restarting snmpd while watching your syslog.   There may be \
some useful stuff written to syslog when the daemon is restarted that can  get you on \
the right path.<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> \
<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Failing \
that, I'd stop the snmp daemon and run it in the foreground (as root) to see if it \
spits out anything insightful.   IIRC the syntax is snmpd –f –c \
[path/to/snmpd.conf]<u></u><u></u></span></p> <p class="MsoNormal"><b><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> dhcp-users \
[mailto:<a href="mailto:dhcp-users-bounces@lists.isc.org" \
target="_blank">dhcp-users-bounces@<wbr>lists.isc.org</a>] <b>On Behalf Of \
</b>project722<br> <b>Sent:</b> Thursday, December 21, 2017 1:05 PM<span \
class=""><br> <b>To:</b> Users of ISC DHCP &lt;<a \
href="mailto:dhcp-users@lists.isc.org" \
target="_blank">dhcp-users@lists.isc.org</a>&gt;<br> <b>Subject:</b> Re: Graphing \
DHCP pools<u></u><u></u></span></span></p> <p class="MsoNormal"><u></u>  <u></u></p>
<div>
<p class="MsoNormal">Yes, the script runs locally without issue. SELinix is set to \
permissive.  <u></u><u></u></p> </div><div><div class="h5">
<div>
<p class="MsoNormal"><u></u>  <u></u></p>
<div>
<p class="MsoNormal">On Thu, Dec 21, 2017 at 2:50 PM, Chuck Anderson &lt;<a \
href="mailto:cra@wpi.edu" target="_blank">cra@wpi.edu</a>&gt; \
wrote:<u></u><u></u></p> <blockquote style="border:none;border-left:solid #cccccc \
1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"> <p \
class="MsoNormal">Are you able to run /home/nagios/dhcpd-snmp manually?   Maybe you \
are missing a module, maybe you need to fix SELinux attributes, ...<br> <br>
<span class="m_454501986615945736im">On Thu, Dec 21, 2017 at 02:36:57PM -0600, \
project722 wrote:</span><br> <span class="m_454501986615945736im">&gt; Yes x2. I have \
the appropriate line in /etc/snmp/snmpd.conf:</span><br> <span \
class="m_454501986615945736im">&gt;</span><br> <span \
class="m_454501986615945736im">&gt; pass_persist .1.3.6.1.4.1.21695.1.2 \
/home/nagios/dhcpd-snmp</span><br> <span class="m_454501986615945736im">&gt; \
/home/nagios/dhcpd-snmp.conf</span><br> <span \
class="m_454501986615945736im">&gt;</span><br> <span \
class="m_454501986615945736im">&gt; And I am able to poll other OID&#39;s \
remotely.</span><u></u><u></u></p> <div>
<div>
<p class="MsoNormal">______________________________<wbr>_________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" \
target="_blank">dhcp-users@lists.isc.org</a><br> <a \
href="https://lists.isc.org/mailman/listinfo/dhcp-users" \
target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/dhcp-users</a><u></u><u></u></p>
 </div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u>  <u></u></p>
</div>
</div></div></div>
<div style="FONT-SIZE:8pt;FONT-FAMILY:Calibri,sans-serif">
<hr><span class="">
<i>The information contained in this email and any attachments may be privileged, \
confidential, and/or proprietary and is intended solely for the use of the person(s) \
to whom it is addressed. If you are not the intended recipient, any review, \
retransmission,  dissemination or any other use of the information contained in this \
email and any attachments is strictly prohibited and may be unlawful. If you have \
received this communication in error, please notify the sender immediately by \
replying to this email and then  delete this material from any system that it may be \
on. LightSpeed Networks, Inc. does not accept responsibility for any changes made to \
the information contained in this communication after it was originally sent. \
</i></span></div> </div>

<br>______________________________<wbr>_________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" \
target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/dhcp-users</a><br></blockquote></div><br></div>




_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic