]> arthur.barton.de Git - netdata.git/commitdiff
add isc_dhcpd to python README
authorIlya <ilyamaschenko@gmail.com>
Fri, 6 Jan 2017 09:09:32 +0000 (18:09 +0900)
committerIlya <ilyamaschenko@gmail.com>
Fri, 6 Jan 2017 09:09:32 +0000 (18:09 +0900)
python.d/README.md

index 7fbe42570bdad881be71f6f2ea018fe5c27d7f81..52d6c16dca0340a3c61f6d085df6b4d50a5814bb 100644 (file)
@@ -378,13 +378,49 @@ localhost:
 
 ---
 
+# isc_dhcpd
+
+Module monitor leases database to show all active leases for given pools.
+
+**Requirements:**
+ * dhcpd leases file MUST BE readable by netdata
+ * pools MUST BE in CIDR format
+
+It produces:
+
+1. **Pools utilization** Aggregate chart for all pools.
+ * utilization in percent
+
+2. **Total leases**
+ * leases (overall number of leases for all pools)
+3. **Active leases** for every pools
+  * leases (number of active leases in pool)
+
+  
+### configuration
+
+Sample:
+
+```yaml
+local:
+  leases_path       : '/var/lib/dhcp/dhcpd.leases'
+  pools       : '192.168.3.0/24 192.168.4.0/24 192.168.5.0/24'
+```
+
+In case of python2 you need to  install `py2-ipaddress` to make plugin work.
+The module will not work If no configuration is given.
+
+---
+
+
 # mdstat
 
 Module monitor /proc/mdstat
 
 It produces:
 
-1. **Health:** Number of failed disks in every array (aggregate chart).
+1. **Health** Number of failed disks in every array (aggregate chart).
  
 2. **Disks stats** 
  * total (number of devices array ideally would have)