Graphing DHCP pools

David Ramage dramage at lsnetworks.net
Wed Dec 6 16:26:47 UTC 2017


Sorry for the ambiguity.  I use dhcpd-snmp.

I added this line to snmpd.conf on my dhcp server after installing dhcpd-snmp:

pass_persist .1.3.6.1.4.1.21695.1.2 /opt/dhcpd-snmp/dhcpd-snmp /opt/dhcpd-snmp/dhcpd-snmp.conf

Here’s an example dhcpd-snmp.conf:

leases: /var/lib/dhcp/dhcpd.leases
pool: 1, "POOL 1 a_pool", 10.3.0.2-10.3.0.254
pool: 2, "POOL 2 another_pool", 10.4.0.2-10.4.0.254

Each of these pools now has a few pollable OIDs associated with them, which will in turn return the number of available addresses in the pool.  1.3.6.1.4.1.21695.1.2.2.6.1 is for the first pool, 1.3.6.1.4.1.21695.1.2.2.6.2 for the second, etc.

I think there may be other OIDs that return other statistics, but I cannot remember them offhand.

From: dhcp-users [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of project722
Sent: Wednesday, December 06, 2017 7:58 AM
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Subject: Re: Graphing DHCP pools

I'm looking into the dhcpd-snmp tool. I've downloaded the files, and they are working correctly. I'm at the part of the instructions where is says "it can now be installed in Net-SNMP".

 https://github.com/ohitz/dhcpd-snmp
I'm not the best with SNMP, and my team does not have our own NMS. That being said, I am looking into standing one up. But, first, can someone tell me where Net-SNMP needs to be installed? Is that on the DHCP server itself or the NMS? Can someone suggest a good open source NMS that can run on Red Hat/Cent and can then graph this data that it collects?

On Wed, Dec 6, 2017 at 8:20 AM, project722 <project722 at gmail.com<mailto:project722 at gmail.com>> wrote:
David, which one are you referring to? dhcpd-snmp or dhpool.pl<http://dhpool.pl>?

On Mon, Dec 4, 2017 at 10:29 AM, David Ramage <dramage at lsnetworks.net<mailto:dramage at lsnetworks.net>> wrote:
I use that tool.  It is very nice because it allows you to monitor your pools via your existing NMS.

-----Original Message-----
From: dhcp-users [mailto:dhcp-users-bounces at lists.isc.org<mailto:dhcp-users-bounces at lists.isc.org>] On Behalf Of Chuck Anderson
Sent: Monday, December 04, 2017 7:33 AM
To: Users of ISC DHCP <dhcp-users at lists.isc.org<mailto:dhcp-users at lists.isc.org>>
Subject: Re: Graphing DHCP pools

There is:

https://github.com/ohitz/dhcpd-snmp

Then you can use your favorite SNMP graphing tool.

On Mon, Dec 04, 2017 at 08:52:51AM -0600, project722 wrote:
> Hey guys, I'm looking for a solution that can take the data from our
> dhcp server and use that to create charts and graphs of of our scopes.
> Currently we are using a homegrown bash script that uses the Google
> API for charts to do the graphing and create the charts. But, although
> its very nice looking it takes ALOT of re-working the script every
> time we add a pool or adjust a scope. I'm looking for another
> solution. One that can automatically detect and put up a new chart
> when we add scopes and one that could possibly retain historical data.
> I've thought about solarwinds but I'm not sure if it can plug into
> Linux like this or if it even has such a feature for dhcpd.
>
> Any suggestions?
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org<mailto:dhcp-users at 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 at lists.isc.org<mailto:dhcp-users at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20171206/8f01dfb4/attachment-0001.html>


More information about the dhcp-users mailing list