1. define service{  
  2.         use                             generic-service         ; Name of service template to use  
  3.         host_name                       api-134  
  4.         service_description             JBOSS-API  
  5.         is_volatile                     0  
  6.         check_period                    24x7  
  7.         max_check_attempts              2  
  8.         normal_check_interval           2  
  9.         retry_check_interval            1  
  10.         contact_groups                  admins  
  11.         notification_options            w,u,c,r  
  12.         notification_interval           960  
  13.         notification_period             24x7  
  14.         check_command                   check_nrpe!check_procs!1:1!'/usr/local/jboss-4.2.3.GA/bin/run.jar'!root  
  15.         }