diff --git a/Stats-monitoring-in-check_mk_agent.md b/Stats-monitoring-in-check_mk_agent.md index 1ef66ff..02f3330 100644 --- a/Stats-monitoring-in-check_mk_agent.md +++ b/Stats-monitoring-in-check_mk_agent.md @@ -1,6 +1,6 @@ I've written this extremely simple local check for the check_mk_agent. If you've installed the agent on your Pi-Hole place this into an executable file wherever your check_mk_agent expects to find local plugins. Alternatively this could be installed on any system that has access to the Pi-Hole console, I decided to put it on the Pi-Hole directly. I named mine "mk_pihole_stats.py" but as long as it's in the correct subdirectory and the agent script can execute it it should work just fine. -After you reinventory the client where you installed this you should have two new local checks. PiHole_ads and PiHole_percent. +After you reinventory the client where you installed this you should have two new local checks. PiHole_Ads and PiHole_Percent. #!/usr/bin/python # Simple (always OK) check_mk local check to track # of ads blocked today.