Version 4 (modified by bartek, 12 years ago) (diff)

--

QCG Notification Nagios Probe - ver. 2.6

Installation from Sources

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 nagios-qcg-ntf-2.6.tar.gz
  cd nagios-qcg-ntf-2.6
  ./install.sh /opt/nagios-qcg-ntf

Usage

./check_qcg_ntf (-l url | -H hostname -p port) -t timeout [-v 0-3]
-l url - QCG Notification url
-H hostname - QCG Notification host              
-p port - QCG Notification port
-t timeout - test timout given in seconds
-v 0-3 - verbosity (default: 0)

Example:

./check_qcg_ntf -H grass1.man.poznan.pl -p 19011 -t 60

Exit Codes

  • STATUS_OK (0) - Test finished successfully
  • STATUS_WARNING (1) - Test finished with exit code different than 0, Test did not finish within given timeout
  • STATUS_CRITICAL (2) - Test failed.
  • STATUS_UNKNOWN (3) - The probe internal or configuration error.