| 1 | == Download == |
| 2 | The QCG-Computing Nagios Probe can be downloaded using this link [http://apps.man.poznan.pl/trac/qcg-computing/downloads/1 link]. |
| 3 | |
| 4 | == Installation == |
| 5 | After unpacking the dist packages simple run the ./install.sh script giving as the |
| 6 | first argument directory where the probe should be installed. E.g.: |
| 7 | |
| 8 | {{{ |
| 9 | tar -xzf qcg-comp-nagios-0.2.tar.gz |
| 10 | cd qcg-comp-nagios-0.2 |
| 11 | ./install.sh /opt/qcg-comp-nagios |
| 12 | }}} |
| 13 | |
| 14 | == Usage == |
| 15 | |
| 16 | Usage: |
| 17 | |
| 18 | {{{ |
| 19 | ./qcg-comp-nagios.sh -H hostname -p port -x proxy -t timeout [-v 0-3 -j test-jsdl.xml] |
| 20 | |
| 21 | -H hostname - QCG-Computing host |
| 22 | |
| 23 | -p port - QCG-Computing port |
| 24 | |
| 25 | -x proxy - path to the file containing valid user X509 proxy |
| 26 | |
| 27 | -t timeout - test timout given in seconds |
| 28 | |
| 29 | -v 0-3 - verbosity (default: 0) |
| 30 | |
| 31 | -j test-jsdl.xml - JSDL document decribing job to be tested |
| 32 | }}} |
| 33 | |
| 34 | Example: |
| 35 | {{{ |
| 36 | ./qcg-comp-nagios.sh -H grass1.man.poznan.pl -p 19002 -x /tmp/proxy -j smoa-test-job.xml -t 60 |
| 37 | }}} |
| 38 | == Exit Codes == |
| 39 | |
| 40 | * STATUS_OK (0) - Job finished successfully |
| 41 | * STATUS_WARNING (1) - Job finished with exit code different than 0, Job did not finish within given timeout |
| 42 | * STATUS_CRITICAL (2) - Submission of a job failed. Job ended with status Failed or Cancelled. |
| 43 | * STATUS_UNKNOWN (3) - The probe internal or configuration error. |