aboutsummaryrefslogtreecommitdiff
path: root/nscaw
diff options
context:
space:
mode:
Diffstat (limited to 'nscaw')
-rwxr-xr-xnscaw2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscaw b/nscaw
index 3e30b4c..de8364f 100755
--- a/nscaw
+++ b/nscaw
@@ -77,5 +77,5 @@ 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:?}" \
+ send_nsca -H "${NSCAW_SERVER:-nsca}" \
-c "${NSCAW_CONFIG:-/etc/send_nsca.cfg}" >/dev/null