Commit bf57463c authored by Micah Anderson's avatar Micah Anderson

fix the $real_nagios_server variable, this should be $nagios_server as $real_...

fix the $real_nagios_server variable, this should be $nagios_server as $real_ is not defined anywhere
parent 5713073a
......@@ -38,7 +38,7 @@ class backupninja::server {
}
cron { checkbackups:
command => "/usr/local/bin/checkbackups -d $real_backupdir | /usr/sbin/send_nsca -H $real_nagios_server -c /etc/send_nsca.cfg | grep -v 'sent to host successfully'",
command => "/usr/local/bin/checkbackups -d $real_backupdir | /usr/sbin/send_nsca -H $nagios_server -c /etc/send_nsca.cfg | grep -v 'sent to host successfully'",
user => "root",
hour => "8-23",
minute => 59,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment