anchor.diff:  }
   
   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
  
positive.code: 
  # Service checks
  define command {
    command_name    check_ec2_count
    command_line    $USER1$/count_ec2_instances.sh
  }
  
  define command {
    command_name    check_solr_proc
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_solr_proc -t 20
  }
  
  define command {
    command_name    check_stompserver
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_stompserver -t 20
  }
  
  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_collectd_client
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_collectd_client -t 20
  }
  
  define command {
    command_name    check_rabbitmq
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_rabbitmq -t 20
  }
  
  define command {
    command_name    check_authz
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_authz -t 20
  }
  
  define command {
    command_name    check_audit
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_audit -t 20
  }
  
  define command {
    command_name    check-nagios
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_nagios -t 20
  }
  
negative.code:   command_line <%= eventhandlers['command_line'] %>
  }
  <% end -%>
  <% end -%>
  