How to know per pool available leases ?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to know per pool available leases ?

Leandro
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
Reply | Threaded
Open this post in threaded view
|

RE: How to know per pool available leases ?

Frank Bulk
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
Reply | Threaded
Open this post in threaded view
|

Re: How to know per pool available leases ?

Leandro
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
Reply | Threaded
Open this post in threaded view
|

RE: How to know per pool available leases ?

Dmitry Vayntrub
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
Reply | Threaded
Open this post in threaded view
|

Re: How to know per pool available leases ?

Leandro
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: [hidden email] [[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] 
[[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


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users