文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>nagios监控tomcat,mysql进程

nagios监控tomcat,mysql进程

时间:2010-09-25  来源:hx10

 

  1. define service{  
  2.         use                             generic-service         ; Name of service template to use  
  3.         host_name                       img2  
  4.         service_description             Tomcat  
  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!'org.apache.catalina.startup.Bootstrap'!ct10000  
  15.         }  
  16.  
  17. define service{  
  18.         use                             generic-service         ; Name of service template to use  
  19.         host_name                       img2  
  20.         service_description             Mysql  
  21.         is_volatile                     0  
  22.         check_period                    24x7  
  23.         max_check_attempts              2  
  24.         normal_check_interval           2  
  25.         retry_check_interval            1  
  26.         contact_groups                  admins  
  27.         notification_options            w,u,c,r  
  28.         notification_interval           960  
  29.         notification_period             24x7  
  30.         check_command                   check_nrpe!check_procs!1:1!'/usr/local/mysql/libexec/mysqld'!mysql  
  31.         } 

 

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载