How to know per pool available leases ?

Leandro ingrogger at gmail.com
Tue Aug 4 17:39:08 UTC 2015


Dear Dmitry , thanks for the tip.
Finally I can rest in peace:

magios
nagios2


Leandro.




On 02/08/15 17:36, Dmitry Vayntrub wrote:
> If you use for example Nagios, dhcpd-pools has built in support for that.
> Example of a Nagios/nrpe check definition in the nrpe.cfg is below. You can of course script the schedule and alerting without Nagios.
> command[check_dhcp_pools]=/usr/bin/dhcpd-pools --warning 90 --critical=95
>
>
> Thank you,
> Dmitry Vayntrub
> Director of Systems Services|ITS
> San Francisco State University
> (415)338-1909
>
> -----Original Message-----
> From: dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Leandro
> Sent: Sunday, August 2, 2015 11:35 AM
> To: dhcp-users at lists.isc.org
> Subject: Re: How to know per pool available leases ?
>
> Dhcpd-pools is on-demand info.
> I would like dhcpd to inform me by it self.
>
> Regards.
>
>
> On 01/08/15 22:29, Frank Bulk wrote:
>> Is there something missing from dhcpd-pools?
>>
>> Frank
>>
>> -----Original Message-----
>> From: dhcp-users-bounces at lists.isc.org
>> [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Leandro
>> Sent: Friday, July 31, 2015 8:42 AM
>> To: Users of ISC DHCP <dhcp-users at lists.isc.org>
>> Subject: How to know per pool available leases ?
>>
>> Hi guys, I would like to know witch isc dhcpd feature can I use to
>> notice if some pool is getting without leases.
>> Reading the documentation founded the:
>> log-threshold-high \percentage\
>> log-threshold-low \percentage\
>> According to the doc, those  lines make the daemon  write to the log
>> when the pool usage reach the defined low and high  thresholds.
>> I have been trying to make them work but could not succeed yet.
>> So:
>>
>> Is someone using this feature ? Where should those lines be defined ?
>> Can share an example?
>> Is there another way ? May be through omshell?
>>
>> btw: Already triyed dhcpd-pools
>>
>> Regards.
>> Leandro.
>>
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>>
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150804/b3cc42ae/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2015-08-04 14-06-01.png
Type: image/png
Size: 40531 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150804/b3cc42ae/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2015-08-04 14-16-21.png
Type: image/png
Size: 41732 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150804/b3cc42ae/attachment-0003.png>


More information about the dhcp-users mailing list