https://github.com/l13t/icinga2_check_pihole
Simple check for Pi-hole status
https://github.com/l13t/icinga2_check_pihole
icinga2 icinga2-plugin monitoring-plugins pi-hole pihole
Last synced: about 2 months ago
JSON representation
Simple check for Pi-hole status
- Host: GitHub
- URL: https://github.com/l13t/icinga2_check_pihole
- Owner: l13t
- License: gpl-3.0
- Created: 2019-03-03T23:14:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-27T16:24:09.000Z (about 1 year ago)
- Last Synced: 2025-03-27T17:25:21.461Z (about 1 year ago)
- Topics: icinga2, icinga2-plugin, monitoring-plugins, pi-hole, pihole
- Language: Python
- Size: 55.7 KB
- Stars: 3
- Watchers: 0
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# icinga2_check_pihole
## About
Icinga2/Nagios plugin to check Pi-hole status. At the moment script supports only version 6.0.0 and above.
## Dependencies
- Python 3.9+
- Requests library
## How to use
```bash
usage: check_pihole.py [-h] -H HOST [-P PORT] -A AUTH [-S] [-C] [-n] [-t TIMEOUT]
Check Pi-hole (version >=6.0.0) status
options:
-h, --help show this help message and exit
-H, --host HOST Pi-hole ip address or hostname
-P, --port PORT Port number for Pi-Hole web UI
-A, --auth AUTH API Auth Key
-S, --secure Use ssl for connection
-C, --critical Forces CRITICAL when Pi-hole is disabled
-n, --no-stats Disable stats in output
-t, --timeout TIMEOUT
Timeout for request. Default 10 seconds
```