Module: check_mk
Branch: master
Commit: 5fe7a003200590baea42a78841eecccac669245f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5fe7a003200590…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 15 17:41:54 2011 +0100
omd_status: new check for checking status of OMD sites
---
ChangeLog | 11 ++++++-----
agents/check_mk_agent.linux | 6 ++++++
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0500cb2..9c09c03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,11 @@
* Allow moving hosts from one to another config file
Checks & Agents:
+ * FIX: df: fix layout problems in PNP template
+ * FIX: df: fix trend computation (thanks to Sebastian Talmon)
+ * FIX: df: fix status in case of critical trend and warning used
+ * FIX: df: fix display of trend warn/crit in PNP-graph
+ * FIX: cmctc: fix inventory in case of incomplete entries
* printer_supply: Changed order of tests. When a printer reports -3 this
is used before the check if maxlevel is -2.
* cisco_locif: The check has been removed. Please switch to if/if64
@@ -24,12 +29,8 @@
has not the index 1
* cisco_temp/cisco_temp_perf: scan function handles sensors not beginning
with index 1
- * FIX: df: fix layout problems in PNP template
- * FIX: df: fix trend computation (thanks to Sebastian Talmon)
- * FIX: df: fix status in case of critical trend and warning used
- * FIX: df: fix display of trend warn/crit in PNP-graph
* df: split PNP graphs for growth/trend into two graphs
- * FIX: cmctc: fix inventory in case of incomplete entries
+ * omd_status: new check for checking status of OMD sites
1.1.10:
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index 1e4ee6e..83c78ed 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -326,6 +326,12 @@ if which mailq >/dev/null 2>&1 && getent passwd
postfix >/dev/null 2>&1; then
mailq | tail -n 6
fi
+# Check status of OMD sites
+if type omd >/dev/null
+then
+ echo '<<<omd_status>>>'
+ omd status --bare --auto
+fi
# Einbinden von lokalen Plugins, die eine eigene Sektion ausgeben
if cd $PLUGINSDIR