anchor.diff:  # dummy commands for passive checks
   
   define command {
  -	command_name	no-disk-checks
  -	command_line	/usr/local/nagios/libexec/check_dummy 2 "CRITICAL: Results of disk checks not coming in!"
  -}
  -
  -define command {
  -	command_name	no-mem-checks
  -	command_line	/usr/local/nagios/libexec/check_dummy 2 "CRITICAL: Results of memory checks not coming in!"
  +	command_name    no-disk-checks
  +	command_line    $USER1$/check_dummy 2 "CRITICAL: Results of disk checks not coming in!"
  +}
  +
  +define command {
  +	command_name    no-mem-checks
  +	command_line    $USER1$/plugins/check_dummy 2 "CRITICAL: Results of memory checks not coming in!"
   }
   
   # Notification
   define command {
  -  command_name  host-notify-by-email
  -  command_line  /usr/bin/printf "%b" "$LONGDATETIME$\n\n$HOSTALIAS$ $NOTIFICATIONTYPE$ $HOSTSTATE$\n\n$HOSTOUTPUT$\n\nLogin: ssh://$HOSTNAME$" | <%=node['nagios']['server']['mail_command']%> -s "$NOTIFICATIONTYPE$ - $HOSTALIAS$ $HOSTSTATE$!" $CONTACTEMAIL$
  -}
  -
  -define command {
  -  command_name  host-notify-by-sms-email
  -  command_line  /usr/bin/printf "%b" "$HOSTALIAS$ $NOTIFICATIONTYPE$ $HOSTSTATE$\n\n$HOSTOUTPUT$" | <%=node['nagios']['server']['mail_command']%> -s "$HOSTALIAS$ $HOSTSTATE$!" $CONTACTPAGER$
  +  command_name    host-notify-by-email
  +  command_line    /usr/bin/printf "%b" "$LONGDATETIME$\n\n$HOSTALIAS$ $NOTIFICATIONTYPE$ $HOSTSTATE$\n\n$HOSTOUTPUT$\n\nLogin: ssh://$HOSTNAME$" | <%=node['nagios']['server']['mail_command']%> -s "$NOTIFICATIONTYPE$ - $HOSTALIAS$ $HOSTSTATE$!" $CONTACTEMAIL$
  +}
  +
  +define command {
  +  command_name    host-notify-by-sms-email
  +  command_line    /usr/bin/printf "%b" "$HOSTALIAS$ $NOTIFICATIONTYPE$ $HOSTSTATE$\n\n$HOSTOUTPUT$" | <%=node['nagios']['server']['mail_command']%> -s "$HOSTALIAS$ $HOSTSTATE$!" $CONTACTPAGER$
   }
   
   # 'notify-by-email' command definition
   define command {
  -  command_name  service-notify-by-email
  -  command_line  /usr/bin/printf "%b" "$LONGDATETIME$ - $SERVICEDESC$ $SERVICESTATE$\n\n$HOSTALIAS$  $NOTIFICATIONTYPE$\n\n$SERVICEOUTPUT$\n\nLogin: ssh://$HOSTNAME$" | <%=node['nagios']['server']['mail_command']%> -s "** $NOTIFICATIONTYPE$ - $HOSTALIAS$ - $SERVICEDESC$ - $SERVICESTATE$" $CONTACTEMAIL$
  +  command_name    service-notify-by-email
  +  command_line    /usr/bin/printf "%b" "$LONGDATETIME$ - $SERVICEDESC$ $SERVICESTATE$\n\n$HOSTALIAS$  $NOTIFICATIONTYPE$\n\n$SERVICEOUTPUT$\n\nLogin: ssh://$HOSTNAME$" | <%=node['nagios']['server']['mail_command']%> -s "** $NOTIFICATIONTYPE$ - $HOSTALIAS$ - $SERVICEDESC$ - $SERVICESTATE$" $CONTACTEMAIL$
   }
   
   #define command {
  -#        command_name process-service-perfdata
  -#        command_line /usr/lib/nagios/plugins/process_perfdata.pl
  +#  command_name    process-service-perfdata
  +#  command_line    <%= node['nagios']['nrpe']['home'] %>/plugins/process_perfdata.pl
   #}
   
   #define command {
  -#        command_name process-host-perfdata
  -#        command_line /usr/lib/nagios/plugins/process_perfdata.pl -d HOSTPERFDATA
  +#  command_name    process-host-perfdata
  +#  command_line    <%= node['nagios']['nrpe']['home'] %>/plugins/process_perfdata.pl -d HOSTPERFDATA
   #}
   
   # Commands added through nagios_services data bags
   <% @services.each do |service| -%>
   define command {
  -  command_name check_<%= service['id'] %>
  -  command_line <%= service ['command_line'] %>
  +  command_name    check_<%= service['id'] %>
  +  command_line    <%= service ['command_line'] %>
   }
   <% end -%>
   
  
positive.code: }
  
  define command {
  	command_name	check_udp
  	command_line	$USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$
  }
  
  # 'check_mysql' check mysql connectivity
  define command {
  	command_name	check_mysql
  	command_line	$USER1$/check_mysql -H $ARG1$ -u nagios -p $ARG2$
  }
  
  # 'check_mysqlrep' command for mysql replication status
  define command {
  	command_name	check_mysqlrep
  	command_line	$USER1$/check-mysql-slave.pl --host $HOSTADDRESS$ --port $ARG1$ --user replcheck --password $ARG2$ --warn $ARG3$ --crit $ARG4$
  }
  
  # nrpe remote host checks
  
negative.code: }
  
  define command {
    command_name    check_ssh
    command_line    $USER1$/check_ssh $HOSTADDRESS$
  }
  
  define command {
  