An open API service indexing awesome lists of open source software.

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

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
```