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:
[hidden email] [mailto:
[hidden email]] On Behalf Of Leandro
Sent: Sunday, August 2, 2015 11:35 AM
To:
[hidden email]
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:
[hidden email]
> [mailto:
[hidden email]] On Behalf Of Leandro
> Sent: Friday, July 31, 2015 8:42 AM
> To: Users of ISC DHCP <
[hidden email]>
> 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
>
[hidden email]
>
https://lists.isc.org/mailman/listinfo/dhcp-users>
>
> _______________________________________________
> dhcp-users mailing list
>
[hidden email]
>
https://lists.isc.org/mailman/listinfo/dhcp-users_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users