Graphing DHCP pools

David Ramage dramage at
Thu Dec 21 19:06:35 UTC 2017

That dhcpd-snmp.conf looks good to me, so I’m afraid I have to ask you a couple of other questions.

Are you able to poll any OIDs from your server at all?

If you are, do you have the pass-through MIB extension in your sntmpd.conf?

From: dhcp-users [mailto:dhcp-users-bounces at] On Behalf Of project722
Sent: Thursday, December 21, 2017 10:51 AM
To: Users of ISC DHCP <dhcp-users at>
Subject: Re: Graphing DHCP pools

@David Rampage - I am still wrestling with that error when poling externally. Here is my dhcpd-snmp.conf file structure, as you requested.

# Configuration file for dhcpd-snmp

# Path to the dhcpd.leases file.
# leases: /var/lib/dhcp3/dhcpd.leases

leases: /var/lib/dhcpd/dhcpd.leases

# Definition of the pools
# pool: number, description, from-to, from-to, from-to...

pool: 1, "Market 1",

pool: 2, "Market 2",

pool: 3, "Market 3",

Just to recap, I can run the dhcpd-snmp script locally, and it works. But if I try an smnpwalk from a remote device, I get the following error:

#snmpwalk -v 2c <host> -c public .
SNMPv2-SMI::enterprises.21695.1.2 = No more variables left in this MIB View (It is past the end of the MIB tree)

Do I need to place some dhcpd-snmp specific MIB's somewhere on the server?

On Thu, Dec 7, 2017 at 3:34 PM, Simon Hobson <dhcp1 at<mailto:dhcp1 at>> wrote:
project722 <project722 at<mailto:project722 at>> wrote:

> I'm going to look into Cacti, as we will probably not deem this high enough on the priority list to purchase Solarwinds. But, for the moment, I have setup dhcpd-snmp on my DHCP server.

Just a thought ...
Cacti doesn't HAVE to use SNMP, you can supply your own data externally. So you could use any means of extracting the pool status and insert that into RRD files, and let Cacti handle the graphing. Obviously it starts getting more complicated if the DHCP and Cacti servers are on different hosts.

dhcp-users mailing list
dhcp-users at<mailto:dhcp-users at>

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: <>

More information about the dhcp-users mailing list