Module: check_mk
Branch: master
Commit: 5a302fb476ce3b577b1ea3e07bbacd0be0507ded
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5a302fb476ce3b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Nov 6 18:54:37 2013 +0100
Add new collection of checks to monitor Fritz!Box devices
This feature introduces a special agent, which uses the uPnP API of Fritz!Box
routers to retrieve several monitoring information, like the current connection
state, bandwith, update and several other things.
New checks are:
<table>
<tr><td class=tt>fritz.conn</td><td>Connection State /
Info</td></tr>
<tr><td class=tt>fritz.config</td><td>Internet Connection related
config.</td></tr>
<tr><td class=tt>fritz.uptime</td><td>Device
Uptime</td></tr>
<tr><td class=tt>fritz.wan_if</td><td>Traffic of the WAN network
interface</td></tr>
<tr><td class=tt>fritz.link</td><td>Network Link State /
Info</td></tr>
</table>
---
.werks/47 | 21 +++++++++++----------
ChangeLog | 2 +-
agents/.f12 | 2 ++
agents/special/.f12 | 2 ++
4 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/.werks/47 b/.werks/47
index b3a3073..f41b6cd 100644
--- a/.werks/47
+++ b/.werks/47
@@ -1,19 +1,20 @@
-Title: Add new collection of check to monitor Fritz!Box devices
+Title: Add new collection of checks to monitor Fritz!Box devices
Level: 1
Component: checks
Version: 1.2.3i7
Date: 1383759137
Class: feature
-This feature introduces a special agent, which uses the uPnP API
-of Fritz!Box routers to retrieve several monitoring information,
-like the current connection state, bandwith, update and several
-other things.
+This feature introduces a special agent, which uses the uPnP API of Fritz!Box
+routers to retrieve several monitoring information, like the current connection
+state, bandwith, update and several other things.
New checks are:
-fritz.conn - Connection State / Info
-fritz.config - Internet Connection related config
-fritz.uptime - Device Uptime
-fritz.wan_if - Traffic of the WAN network interface
-fritz.link - Network Link State / Info
+<table>
+<tr><td class=tt>fritz.conn</td><td>Connection State /
Info</td></tr>
+<tr><td class=tt>fritz.config</td><td>Internet Connection related
config.</td></tr>
+<tr><td class=tt>fritz.uptime</td><td>Device
Uptime</td></tr>
+<tr><td class=tt>fritz.wan_if</td><td>Traffic of the WAN network
interface</td></tr>
+<tr><td class=tt>fritz.link</td><td>Network Link State /
Info</td></tr>
+</table>
diff --git a/ChangeLog b/ChangeLog
index a7515cd..42fffe9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,7 @@
* 0061 cisco_cpu: check now recognizes new object cpmCPUTotal5minRev...
* 0063 veeam_client: new check to monitor status of veeam clients with special agent
plugin...
* 0064 veeam_jobs: new check to monitor the backup jobs of the veeam backup tool...
- * 0047 Add new collection of check to monitor Fritz!Box devices...
+ * 0047 Add new collection of checks to monitor Fritz!Box devices...
* 0024 FIX: cisco_wlc: removed configuration parameter ap_model...
Multisite:
diff --git a/agents/.f12 b/agents/.f12
index f46aa52..7bac9e0 100644
--- a/agents/.f12
+++ b/agents/.f12
@@ -1,3 +1,5 @@
+#!/bin/bash
+SITE=${SITE:-$(cat ../.site 2>/dev/null || true)}
SITE=${SITE:-$(omd sites --bare | head -n 1)}
sudo cp -r * /omd/sites/$SITE/share/check_mk/agents/
if [ -e /etc/check_mk ]
diff --git a/agents/special/.f12 b/agents/special/.f12
index ef2e2a3..84ed3ba 100644
--- a/agents/special/.f12
+++ b/agents/special/.f12
@@ -1,2 +1,4 @@
+#!/bin/bash
+SITE=${SITE:-$(cat ../../.site 2>/dev/null || true)}
SITE=${SITE:-$(omd sites --bare | head -n 1)}
sudo cp -r * /omd/sites/$SITE/share/check_mk/agents/special