]> git.pld-linux.org Git - packages/nagios-plugin-check_elvis_status.git/commitdiff
Update README.md
authorElan Ruusamäe <glen@delfi.ee>
Fri, 15 Feb 2013 12:04:27 +0000 (14:04 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 15 Feb 2013 12:04:27 +0000 (14:04 +0200)
README.md

index f86b208f82743227c3314e19d60984d72012802c..ffefe135addf1095710b81828249b1df99b6761e 100644 (file)
--- 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
This page took 0.064714 seconds and 4 git commands to generate.