aboutsummaryrefslogtreecommitdiff

nscaw

Command wrapper that sends an appropriate passive check to an NSCA server using send_nsca, depending on the command's outcome.

Make sure send_nsca is in $PATH. You'll almost certainly want to set NSCA_SERVER in /etc/default/nscaw as well, but it makes an effort in defaulting to nsca.

$ nscaw IMPORTANT_JOB -- important-job -o options args ...

License

Copyright (c) Tom Ryder. Distributed under MIT License.