= 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 probes should be installed to. E.g.: {{{ tar -xzf nagios-qcg-ntf-2.6.tar.gz cd nagios-qcg-ntf-2.6 ./install.sh /opt/nagios-qcg-ntf }}} In order to use the probes the QCG-Notification client must be available on your system. You need to install two packages: QCG-Core and QCG-Notification (see [https://apps.man.poznan.pl/trac/qcg-notification/wiki#Installation|QCG-Notification installation]). If you install the packages directly to the same directory as the probes (e.g. /opt/nagios-qcg-ntf) you should be able to use the probes without any changes. Alternatively, if your QCG-Core and QCG-Notification will be installed to the different location, you can change the QCG_NTF_HOME and QCG_CORE_HOME variables in the check_qcg_ntf script to point to the correct place. == 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.