]> git.pld-linux.org Git - packages/nagios-plugin-check_elvis_status.git/blob - README.md
ffefe135addf1095710b81828249b1df99b6761e
[packages/nagios-plugin-check_elvis_status.git] / README.md
1 Nagios plugin: check_elvis_status
2 =================================
3
4 Check [Elvis DAM](http://www.elvisdam.com/) status via admin /server-status json data.
5
6 This plugins allows you monitor any integer value from server-status json (specified with `-u` option),
7 it takes expression via `-e` option, the warning and critical tresholds configurable with `-w` and `-c` 
8 options respectively.
9
10 Requires: php 5.0, php-json (if using php 5.2, use json pecl)
11
12 Usage
13 =====
14   
15     ./check_elvis -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 3000 -c 5000
16     ELVIS: CRITICAL: API ops: 5329
17      
18     ./check_elvis -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 5000 -c 15000
19     ELVIS: WARNING: API ops: 5329
20
21     ./check_elvis -u elvis.json -e '->securityStatus->apiOperationsToday' -m 'API ops' -w 6000 -c 15000
22     ELVIS: OK: API ops: 5329
This page took 0.028062 seconds and 2 git commands to generate.