1 Nagios plugin: check_elvis_status
2 =================================
4 Check [Elvis DAM](http://www.elvisdam.com/) status via admin /server-status json data.
6 This plugins allows you monitor number and boolean values from server-status json (specified with `-u` option).
7 Numbers may be expressed with size qualifiers (TB, GB, MB).
9 It expression is taken via `-e` option, the warning and critical tresholds are configurable with `-w` and `-c`
10 options respectively. Additionally `-i` option allows you inverse the comparision logic.
12 Requires: php 5.0, php-json (if using php 5.2, use json pecl)
17 ./check_elvis_status -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 3000 -c 5000
18 ELVIS_STATUS: CRITICAL: API ops: 5329
20 ./check_elvis_status -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 5000 -c 15000
21 ELVIS_STATUS: WARNING: API ops: 5329
23 ./check_elvis_status -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 6000 -c 15000
24 ELVIS_STATUS: OK: API ops: 5329