[packages/nagios-plugin-check_elvis_status] Update README.md

glen glen at pld-linux.org
Fri Feb 15 13:07:00 CET 2013


commit 5f937a5d20c4220bad63e5b64bbe2638bfcdb9dc
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Feb 15 14:04:27 2013 +0200

    Update README.md

 README.md | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/README.md b/README.md
index f86b208..ffefe13 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,22 @@
 Nagios plugin: check_elvis_status
-================================
+=================================
 
-Check [Elvis DAM](http://www.elvisdam.com/) status via admin /server-status json data
+Check [Elvis DAM](http://www.elvisdam.com/) status via admin /server-status json data.
+
+This plugins allows you monitor any integer value from server-status json (specified with `-u` option),
+it takes expression via `-e` option, the warning and critical tresholds configurable with `-w` and `-c` 
+options respectively.
+
+Requires: php 5.0, php-json (if using php 5.2, use json pecl)
+
+Usage
+=====
+  
+    ./check_elvis -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 3000 -c 5000
+    ELVIS: CRITICAL: API ops: 5329
+     
+    ./check_elvis -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 5000 -c 15000
+    ELVIS: WARNING: API ops: 5329
+
+    ./check_elvis -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 6000 -c 15000
+    ELVIS: OK: API ops: 5329
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_elvis_status.git/commitdiff/8cf62b6ea98d0b4c9dc1e3ab4aa3183b877c32eb



More information about the pld-cvs-commit mailing list