Module: check_mk
Branch: master
Commit: 6ef51c6277e6c1e57d7ab7db90f012f61b6a0cc2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6ef51c6277e6c1…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Nov 15 12:07:57 2011 +0100
Windows agent: better example for MRPE
---
agents/windows/check_mk.ini | 3 ++-
agents/windows/mrpe/check_crit.bat | 2 ++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/agents/windows/check_mk.ini b/agents/windows/check_mk.ini
index 189059d..9c02959 100644
--- a/agents/windows/check_mk.ini
+++ b/agents/windows/check_mk.ini
@@ -31,5 +31,6 @@
# Run classical Nagios plugins. The word before the command
# line is the service description for Nagios. Use backslashes
# in Windows-paths.
+ # check = Dummy mrpe\check_crit
# check = IP_Configuration mrpe\check_ipconfig 1.2.3.4
- # check = IP_Configuration c:\myplugins\check_whatever -w 10 -c 20
+ # check = Whatever c:\myplugins\check_whatever -w 10 -c 20
diff --git a/agents/windows/mrpe/check_crit.bat b/agents/windows/mrpe/check_crit.bat
new file mode 100644
index 0000000..91f515e
--- /dev/null
+++ b/agents/windows/mrpe/check_crit.bat
@@ -0,0 +1,2 @@
+@echo CRIT - This check is always critical
+@exit 2