# Check the number of currently running procs on the local machine. # Warning if > 250 processes, critical if > 400 processes. define service{ use generic-service host_name xmg service_description Total Processes check_command check_procs!250!400 }