Example for commands.cfg: # 'check_snmp_generic' command definition define command{ command_name check_snmp_generic command_line $USER1$/check_snmp_generic.pl -H $HOSTADDRESS$ -d $ARG1$ -l $ARG2$ -u $ARG3$ -w $ARG4$ -c $ARG5$ $ARG6$ } Example for Service-Definition: define service{ use remote-service ; Name of service template to use host_name some_host service_description Processes running check_command check_snmp_generic!'Amount of processes:'!processes!''!200!250!1.3.6.1.2.1.25.1.6.0 }