Version 4 (modified by mmamonski, 13 years ago) (diff)

--

Download

The QCG-Computing Nagios Probe can be downloaded using this link [[downloads:qcg-comp-nagios-0.2.tar.gz link]].

Installation

After unpacking the dist packages simple run the ./install.sh script giving as the first argument directory where the probe should be installed. E.g.:

tar -xzf qcg-comp-nagios-0.2.tar.gz
cd qcg-comp-nagios-0.2
./install.sh /opt/qcg-comp-nagios

Usage

Usage:

./qcg-comp-nagios.sh -H hostname -p port -x proxy -t timeout [-v 0-3 -j test-jsdl.xml]

-H hostname - QCG-Computing host

-p port - QCG-Computing port

-x proxy - path to the file containing valid user X509 proxy

-t timeout - test timout given in seconds

-v 0-3 - verbosity (default: 0)

-j test-jsdl.xml - JSDL document decribing job to be tested

Example:

./qcg-comp-nagios.sh -H grass1.man.poznan.pl -p 19002 -x /tmp/proxy -j qcg-test-job.xml -t 60

Exit Codes

  • STATUS_OK (0) - Job finished successfully
  • STATUS_WARNING (1) - Job finished with exit code different than 0, Job did not finish within given timeout
  • STATUS_CRITICAL (2) - Submission of a job failed. Job ended with status Failed or Cancelled.
  • STATUS_UNKNOWN (3) - The probe internal or configuration error.