summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/isc_dhcpd/README.md
diff options
context:
space:
mode:
authorJavier Pastor <vsc55@users.noreply.github.com>2020-08-17 10:32:44 +0200
committerGitHub <noreply@github.com>2020-08-17 11:32:44 +0300
commit5541187fcf745eb381c9cc90691b1265a37563d0 (patch)
treeeb0279d9c156c30bcd847ff55ad70b9035ba4841 /collectors/python.d.plugin/isc_dhcpd/README.md
parent43c4d1edaaefd38c5597d6a83a17cdc219ff395e (diff)
python.d/isc_dhcpd: add support for ip ranges (#9755)
Diffstat (limited to 'collectors/python.d.plugin/isc_dhcpd/README.md')
-rw-r--r--collectors/python.d.plugin/isc_dhcpd/README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/collectors/python.d.plugin/isc_dhcpd/README.md b/collectors/python.d.plugin/isc_dhcpd/README.md
index a001173ff5..9195ad2e1e 100644
--- a/collectors/python.d.plugin/isc_dhcpd/README.md
+++ b/collectors/python.d.plugin/isc_dhcpd/README.md
@@ -12,6 +12,7 @@ Monitors the leases database to show all active leases for given pools.
- dhcpd leases file MUST BE readable by Netdata
- pools MUST BE in CIDR format
+- `python-ipaddress` package is needed in Python2
It produces:
@@ -41,11 +42,14 @@ 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'
+ leases_path: '/var/lib/dhcp/dhcpd.leases'
+ pools:
+ office: '192.168.2.0/24' # name(dimension): pool in CIDR format
+ wifi: '192.168.3.10-192.168.3.20' # name(dimension): pool in IP Range format
+ 192.168.4.0/24: '192.168.4.0/24' # name(dimension): pool in CIDR format
+ wifi-guest: '192.168.5.0/24 192.168.6.10-192.168.6.20' # name(dimension): pool in CIDR + IP Range format
```
-In case of python2 you need to install `py2-ipaddress` to make plugin work.
The module will not work If no configuration is given.
---