| 1 | = QCG Notification Nagios Probe - ver. 2.6 = |
| 2 | |
| 3 | == Installation from Sources == |
| 4 | |
| 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 | tar -xzf nagios-qcg-ntf-2.6.tar.gz |
| 9 | cd nagios-qcg-ntf-2.6 |
| 10 | ./install.sh /opt/nagios-qcg-ntf |
| 11 | |
| 12 | == Usage == |
| 13 | {{{ |
| 14 | ./check_qcg_ntf (-l url | -H hostname -p port) -t timeout [-v 0-3] |
| 15 | -l url - QCG Notification url |
| 16 | -H hostname - QCG Notification host |
| 17 | -p port - QCG Notification port |
| 18 | -t timeout - test timout given in seconds |
| 19 | -v 0-3 - verbosity (default: 0) |
| 20 | }}} |
| 21 | Example: |
| 22 | {{{ |
| 23 | ./check_qcg_ntf -H grass1.man.poznan.pl -p 19011 -t 60 |
| 24 | }}} |
| 25 | == Exit Codes== |
| 26 | |
| 27 | STATUS_OK - 0 - Test finished successfully |
| 28 | STATUS_WARNING - 1 - Test finished with exit code different than 0, Test did not finish within given timeout |
| 29 | STATUS_CRITICAL - 2 - Test failed. |
| 30 | STATUS_UNKNOWN - 3 - The probe internal or configuration error. |