From 3c7958f1174748ed25408fc8dfc8cafa27ea63d0 Mon Sep 17 00:00:00 2001 From: Steve Berg Date: Mon, 25 Jul 2016 08:18:16 -0500 Subject: [PATCH] Updated Stats monitoring in check_mk_agent (markdown) --- Stats-monitoring-in-check_mk_agent.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Stats-monitoring-in-check_mk_agent.md b/Stats-monitoring-in-check_mk_agent.md index b2bd2d8..bdf7c7d 100644 --- a/Stats-monitoring-in-check_mk_agent.md +++ b/Stats-monitoring-in-check_mk_agent.md @@ -37,4 +37,12 @@ After you reinventory the client where you installed this you should have three After the logs rotated for the first time since I started using this check the ads_blocked_today perf data zero'd out. I'm not quite sure why yet though, check_mk should still see previous values even if current values are zero. -Found the problem. The script was returning ads_blocked and queries values with commas "," in them. Check_mk doesn't like that. So I've stripped the comma out of each returned number and it looks much better now. \ No newline at end of file +Found the problem. The script was returning ads_blocked and queries values with commas "," in them. Check_mk doesn't like that. So I've stripped the comma out of each returned number and it looks much better now. + +Example graphs: + +![Ads blocked - 1 week](https://github.com/BiloxiGeek/Contributions/blob/master/ads-blocked-1week.png) + +![Ads percent - 1 week](https://github.com/BiloxiGeek/Contributions/blob/master/ads-percent-1week.png) + +![DNS queries - 1 week](https://github.com/BiloxiGeek/Contributions/blob/master/dns-queries-1week.png)