nagios监控tomcat,mysql进程
时间:2010-09-25 来源:hx10
- define service{
- use generic-service ; Name of service template to use
- host_name img2
- service_description Tomcat
- 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!'org.apache.catalina.startup.Bootstrap'!ct10000
- }
- define service{
- use generic-service ; Name of service template to use
- host_name img2
- service_description Mysql
- 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/mysql/libexec/mysqld'!mysql
- }
相关阅读 更多 +