Simple check for Pi-hole status


Icinga2/Nagios plugin to check Pi-hole status.

usage: [-h] -H HOST [-P PORT] [-C] [-W] [-t TIMEOUT]

Check Pi-hole status

optional arguments:
  -h, --help            show this help message and exit
  -H HOST, --host HOST  Pi-hole ip address or hostname
  -P PORT, --port PORT  Port number for Pi-Hole web UI
  -C, --status_critical
                        Forces CRITICAL when Pi-hole is disabled
  -W, --status_warning  Forces WARNING when Pi-hole is disabled
  -t TIMEOUT, --timeout TIMEOUT
                        Timeout for request. Default 10 seconds v.0.2.1 by Dmytro Prokhorenkov