Nós usamos check_snmp_process.pl , que faz o trabalho muito bem para nós.
define command { command_name check_at_least_one_proc command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C your-community-here -n $ARG1$ -c 0 } define command { command_name check_only_one_proc command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C your-community-here -n $ARG1$ -c 0,2 } define command { command_name check_proc_range command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C your-community-here -n $ARG1$ -c $ARG2$,$ARG3 -w $ARG2$,$ARG3$ } define service { use generic-service hostgroup_name snmpenabled service_description NTP check_command check_at_least_one_proc!ntpd }