Graphing DHCP pools
dramage at lsnetworks.net
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 lists.isc.org] On Behalf Of project722
Sent: Thursday, December 21, 2017 10:51 AM
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
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
# Definition of the pools
# pool: number, description, from-to, from-to, from-to...
pool: 1, "Market 1", 192.168.100.100 192.168.100.254 192.168.101.100 192.168.101.254
pool: 2, "Market 2", 192.168.200.100 192.168.200.254 192.168.201.100 192.168.201.254
pool: 3, "Market 3", 192.168.202.100 192.168.202.254 192.168.203.100 192.168.203.254
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 .126.96.36.199.4.1.21695.1.2
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 thehobsons.co.uk<mailto:dhcp1 at thehobsons.co.uk>> wrote:
project722 <project722 at gmail.com<mailto:project722 at gmail.com>> 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 lists.isc.org<mailto:dhcp-users at lists.isc.org>
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...
More information about the dhcp-users