| 1 | QCG-Broker Nagios Probe - ver. 2.6 |
| 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 | |
| 4 | Usage |
| 5 | ----- |
| 6 | |
| 7 | ./qcg_nagios -H hostname [-p port] -n dn -x proxy [-t timeout -v -V] jobdesc |
| 8 | |
| 9 | -H hostname - QCG-Broker host |
| 10 | |
| 11 | -p port - QCG-Broker port |
| 12 | |
| 13 | -l url - QCG-Broker url (can be used as alternative to hostname and port) |
| 14 | |
| 15 | -n dn - distinguished name of QCG-Broker service |
| 16 | |
| 17 | -x proxy - proxy certificate of QCG-Broker client |
| 18 | |
| 19 | -t timeout - test timout given in seconds |
| 20 | |
| 21 | -v/-V - verbose mode |
| 22 | |
| 23 | jobdesc - job description file |
| 24 | |
| 25 | Example: |
| 26 | |
| 27 | ./qcg-nagios -H qcg-broker.man.poznan.pl -p 8443 \ |
| 28 | -n /C=PL/O=GRID/O=PSNC/CN=qcg-broker/qcg-broker.man.poznan.pl \ |
| 29 | -x /tmp/x509up_u500 \ |
| 30 | ./examples/example1.xml |
| 31 | |
| 32 | Exit Codes |
| 33 | ---------- |
| 34 | |
| 35 | STATUS_OK - 0 - Test finished successfully |
| 36 | STATUS_WARNING - 1 - Test finished with exit code different than 0, Test did not finish within given timeout |
| 37 | STATUS_CRITICAL - 2 - Test failed. |
| 38 | STATUS_UNKNOWN - 3 - The probe internal or configuration error. |