- Install jq:
sudo apt install jq
- Copy
pihole_data.sh
to/etc/zabbix/bin
:sudo cp pihole_data.sh /etc/zabbix/bin
(If the bin directory does not exist, create itsudo mkdir /etc/zabbix/bin
) - Make it executable:
sudo chmod a+x /etc/zabbix/bin/pihole_data.sh
- Install the systemd service and timer:
sudo cp pihole_data.service /etc/systemd/system
andsudo cp pihole_data.timer /etc/systemd/system
- Start and enable the timer:
systemctl enable --now pihole_data.timer
- Copy pihole_data.conf into /etc/zabbix/zabbix-agentd.d:
sudo cp pihole_data.conf /etc/zabbix/zabbix_agentd.d
- Restart zabbix-agent:
sudo systemctl restart zabbix-agent
- Import
template_pihole_data.xml
on your Zabbix server - Add template to server that has the pihole_data.sh service on in Zabbix
-
Notifications
You must be signed in to change notification settings - Fork 4
License
thompatry/zabbix-pihole
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published