[packages/nagios-plugin-check_elvis_status] document new features

glen glen at pld-linux.org
Thu Mar 28 15:03:32 CET 2013


commit 018ea519163ea31fcba602e7edcef3a81ef18d8c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Mar 28 15:49:50 2013 +0200

    document new features

 README.md | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/README.md b/README.md
index a603e29..26e4ab2 100644
--- a/README.md
+++ b/README.md
@@ -3,14 +3,16 @@ Nagios plugin: check_elvis_status
 
 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.
+This plugins allows you monitor number and boolean values from server-status json (specified with `-u` option).
+Numbers may be expressed with size qualifiers (TB, GB, MB).
+
+It expression is taken via `-e` option, the warning and critical tresholds are configurable with `-w` and `-c` 
+options respectively. Additionally `-i` option allows you inverse the comparision logic.
 
 Requires: php 5.0, php-json (if using php 5.2, use json pecl)
 
-Usage
-=====
+Examples
+========
   
     ./check_elvis_status -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 3000 -c 5000
     ELVIS_STATUS: CRITICAL: API ops: 5329
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list