Module: check_mk
Branch: master
Commit: 66c288e45620becd87d0704eb08b545c3df877e8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=66c288e45620be…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Jul 4 11:03:56 2013 +0200
checkman update: uptime
---
checkman/uptime | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/checkman/uptime b/checkman/uptime
index 87fccc2..2f8d266 100644
--- a/checkman/uptime
+++ b/checkman/uptime
@@ -5,9 +5,10 @@ author: Mathias Kettner <mk(a)mathias-kettner.de>
license: GPL
distribution: check_mk
description:
- This check is always OK and simply outputs the uptime of the target
- systems (when the last boot was and how much time has elapsed since).
- It is always OK.
+ This check outputs the uptime of the target systems
+ (when the last boot was and how much time has elapsed since).
+ This check can go WARN or CRIT when the uptime is below or above certain
+ configurable levels.
perfdata:
The uptime in seconds.
Module: check_mk
Branch: master
Commit: 5905f91ab9062f9e7dd5fe64d101d57c5dab284a
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5905f91ab9062f…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Jul 4 11:15:14 2013 +0200
new manpage: jolokia metrics uptime
---
checkman/jolokia_metrics.uptime | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/checkman/jolokia_metrics.uptime b/checkman/jolokia_metrics.uptime
new file mode 100644
index 0000000..d6ba1ba
--- /dev/null
+++ b/checkman/jolokia_metrics.uptime
@@ -0,0 +1,29 @@
+title: Uptime of JVM
+agents: linux
+catalog: app/java
+author: Mathias Kettner <mk(a)mathias-kettner.de>
+license: GPL
+distribution: check_mk
+description:
+ This check outputs the uptime of the java virtual machine.
+ This check can go WARN or CRIT when the uptime is below or above certain
+ configurable levels.
+
+ To use this plugin, Jolokia and the agent plugin need to be installed
+ on the monitored server.
+
+perfdata:
+ The uptime in seconds.
+
+inventory:
+ One check is created for each application running inside an Jolokia
+ instance sent by the agent.
+
+[parameters]
+parameters (dict): A dictionary with the following optional keys:
+
+ {"min"}: Pair of integers of warn and crit: the minimum required uptime
+ uptime in seconds.
+
+ {"max"}: Pair of integers of warn and crit: the maximum allowed uptime
+ uptime in seconds.