ISC DHCP pool question

I am trying to monitor ISC DHCP server with version 2. It wants a pool name. I have been unable to find how to name a pool in dhcpd.conf or what exactly it wants for that pool name. Could someone point me in the right direction on getting a DHCP server monitored on an Ubuntu box. I used to do it with the isc_dhcpd plugin but that fails with Python3. Any help would be greatly appreciated. Thanks in advance.

Phil

Hi @gcstech

I don’t know how you can “name” a pool in dhcpd.conf, but if you don’t, it’s apparently called as its range. There is also a tool called dhcpd-pools (which isn’t installed per default), that can gather the information about configured pools in dhcpd.conf.

I just tried that out with a CEE 2.0.0 (no, haven’t applied p1 yet…) and the shipped isc_dhcpd.py plugin that requires Python 3. The agent is running on a RPi together with the plugin, and upon discovery the pool was automatically named as the range it serves with a dash between the first and the last address, see here:

If I would want to create a rule for this particular pool now, I’d have to use it as follows in the
pool name field of the corresponding rule: 192\.168\.1\.100-192\.168\.1\.120$

At least this is what CMK did, when I clicked on “Edit and analyze the check parameters of this service” and then on “Create Pool name specific rule for”.

HTH,
Thomas

Thomas,
Thank you, your answer got me to what I needed. I just needed the plugin. Once installed it picked up the three pools and is monitoring free leases.

Phil

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.