Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garbled1/zabbix_isc_dhcpd
Zabbix template for monitoring ISC DHCPd
https://github.com/garbled1/zabbix_isc_dhcpd
dhcpd zabbix
Last synced: 14 days ago
JSON representation
Zabbix template for monitoring ISC DHCPd
- Host: GitHub
- URL: https://github.com/garbled1/zabbix_isc_dhcpd
- Owner: garbled1
- License: gpl-3.0
- Created: 2019-09-12T15:52:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T15:08:09.000Z (over 4 years ago)
- Last Synced: 2024-11-07T09:37:17.456Z (2 months ago)
- Topics: dhcpd, zabbix
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Based on: https://github.com/jpmenil/zabbix-templates/isc-dhcp
# on dhcp server
* install dependencies:
* pip install pypureomapi
* pip install netaddr
* mv userparameter_dhcp.conf /etc/zabbix/zabbix_agentd.d/
* mv check_dhcp_leases.py /usr/local/bin/
* Add lines like #= NAME =# to the end of all range statements, if you want.
* edit check_dhcp_leases.py to fix your omapi key and key name, also, probably the location of your dhcpd.conf file.# import templates in zabbix
* add graphsAs far as i know, there is no native way implemented by ISC dhcp to request free lease.
Two choices, parse the dhcpd.leases file, or do it via omapi.
The script is using omapi and is far from perfect.
# Hacks by myself from original
* Deal with missing names of range statements
* Change template/code to pull all the values so you can make a stacked graph
* slightly hack up the template
* Zabbix 4.0