anchor.diff:    command_line <%= eventhandlers['command_line'] %>
   }
   <% end -%>
  -<% end -%>+<% end -%>
  
positive.code: }
  
  define command {
  	command_name    check_dynomite_proc
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_dynomite_proc -t 20
  }
  
  define command {
  	command_name    check_couchdb_proc
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_couchdb_proc -t 20
  }
  
  define command {
  	command_name    check_disk
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_$ARG1$ -t 20
  }
  
  define command {
  	command_name    check_all_disks
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_all_disks -t 20
  }
  
  define command {
  	command_name    check_traffic
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c traffic -t 20
  }
  
  define command {
  	command_name    check_mysqlhealth
  	command_line    $USER1$/check_mysqlhealth.pl -H $HOSTADDRESS$ -u nagios -p $ARG1$ --port 3306 --wa 500 --cc 550
  }
  
  define command {
  	command_name    check_iowait_time
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_iowait_time -t 20
  }
  
  define command {
  	command_name    check_tps
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_tps -t 20
  }
  
  define command {
  	command_name    check_swap
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_swap -t 20
  }
  
  define command {
  	command_name    check_solr_index
  	command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_$ARG1$_solr_index -t 20
  }
  
  # dummy commands for passive checks
  
negative.code: 
  # Service checks
  define command {
    command_name    check_chef_client
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_chef_client -t 20
  }
  
  define command {
    command_name    check-nagios
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_nagios -t 20
  }
  