define command { command_name check_snmp_trap_passive command_line /usr/lib/nagios/plugins/check_dummy $ARG1$ "$ARG2$" } define host { use linux-server host_name web01.example.net alias Web server trap source address 192.0.2.10 active_checks_enabled 0 passive_checks_enabled 1 } define service { use generic-service host_name web01.example.net service_description SNMP Trap active_checks_enabled 0 passive_checks_enabled 1 check_command check_snmp_trap_passive!0!Waiting for SNMP trap max_check_attempts 1 }