diff --git a/zfsync.sh b/zfsync.sh index de2a9f3..f878cb5 100755 --- a/zfsync.sh +++ b/zfsync.sh @@ -12,7 +12,7 @@ bro="small" pools="ftp mail web" -SENDNSCA=/usr/local/sbin/send_nsca\ -H\ 192.168.3.3\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg +SENDNSCA=/usr/local/sbin/send_nsca\ -H\ \ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg HOSTNAME=`/bin/hostname -f | /usr/bin/cut -d '.' -f 1,1` SERVICENAME=zfsync LOGFILE=/tmp/zfsync.log