nagios监控指定的目录大小

 

  
  
  
  
  1. define service{  
  2.         use                             generic-service         ; Name of service template to use  
  3.         host_name                       db1  
  4.         service_description             /U01 Partition  
  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_disk!30%!20%!/u01  
  15.         }  
  16. define service{  
  17.         use                             generic-service         ; Name of service template to use  
  18.         host_name                       db1  
  19.         service_description             /U02/ARCH Partition  
  20.         is_volatile                     0  
  21.         check_period                    24x7  
  22.         max_check_attempts              2  
  23.         normal_check_interval           2  
  24.         retry_check_interval            1  
  25.         contact_groups                  admins  
  26.         notification_options            w,u,c,r  
  27.         notification_interval           960  
  28.         notification_period             24x7  
  29.         check_command                   check_nrpe!check_disk!30%!20%!/u02/arch  
  30.         }  
  31. define service{  
  32.         use                             generic-service         ; Name of service template to use  
  33.         host_name                       db1  
  34.         service_description             /U02/BAK Partition  
  35.         is_volatile                     0  
  36.         check_period                    24x7  
  37.         max_check_attempts              2  
  38.         normal_check_interval           2  
  39.         retry_check_interval            1  
  40.         contact_groups                  admins  
  41.         notification_options            w,u,c,r  
  42.         notification_interval           960  
  43.         notification_period             24x7  
  44.         check_command                   check_nrpe!check_disk!30%!20%!/u02/bak  
  45.         }  

 

你可能感兴趣的:(jboss,进程,目录,监控,nagios)