- define service{
- use generic-service ; Name of service template to use
- host_name api-134
- service_description JBOSS-API
- is_volatile 0
- check_period 24x7
- max_check_attempts 2
- normal_check_interval 2
- retry_check_interval 1
- contact_groups admins
- notification_options w,u,c,r
- notification_interval 960
- notification_period 24x7
- check_command check_nrpe!check_procs!1:1!'/usr/local/jboss-4.2.3.GA/bin/run.jar'!root
- }
转载于:https://blog.51cto.com/hx100/397105