diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-04-09 14:44:29 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-04-09 14:44:29 +1200 |
commit | d4b245001a1bc418165d3dfbf08172ea632b3c0e (patch) | |
tree | 73d1b3df37a42b7a1fab508e2ce4de90418ce4dc | |
parent | Remove debugging code accidentally left in here (diff) | |
download | nscaw-d4b245001a1bc418165d3dfbf08172ea632b3c0e.tar.gz nscaw-d4b245001a1bc418165d3dfbf08172ea632b3c0e.zip |
Specify config file for send_nsca.cfg
-rwxr-xr-x | nscaw | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -86,5 +86,6 @@ esac # stdout of send_nsca as it's just a diagnostic message printf '%s\t%s\t%u\t%s\n' \ "$hostname" "$service" "$code" "$message" | - send_nsca -H "${NSCAW_SERVER:?}" >/dev/null + send_nsca -H "${NSCAW_SERVER:?}" \ + -c "${NSCAW_CONFIG:-/etc/send_nsca.cfg}" >/dev/null |