Ngios The first disk partition is monitored by default, you need to define multiple monitoring items in the service, such as:
define service { service_description check_disk3 max_check_attempts 3 check_interval 1 retry_interval 3 notification_interval 0 notification_options w,u,c,r,f,s notifications_enabled 1 check_command check_nrpe!check_disk3 check_period 24x7 notification_period 24x7 host_name afa_ebs_db}define service { service_description check_disk4 max_check_attempts 3 check_interval 1 retry_interval 3 notification_interval 0 notification_options w, u,c,r,f,s notifications_enabled 1 check_command check_nrpe!check_disk4 check_period 24x7 &Nbsp; notification_period 24x7 host _name afa_ebs_db
You can then configure these items on the monitor machine, such as:
Command[check_disk3]=/usr/local/nagios/libexec/check_disk-w 20%-C 10%-p/dev/emcpowera1command[check_disk4]=/usr/ Local/nagios/libexec/check_disk-w 20%-C 10%-p/dev/emcpowerb1command[check_disk5]=/usr/local/nagios/libexec/check _disk-w 20%-C 10%-p/dev/sdb1command[check_disk6]=/usr/local/nagios/libexec/check_disk-w 20%-C 10%-p/dev/emcpowerc1
Restart the monitoring side and the monitored segment's services separately
The effect is as follows:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/99/wKioL1SHrb3CdV4TAAEuFhbXMq8564.jpg "title=" Qq20141210101631.png "alt=" Wkiol1shrb3cdv4taaeufhbxmq8564.jpg "/>
This article is from "It worker-small Maple" blog, please be sure to keep this source http://wangfeng7399.blog.51cto.com/3518031/1588170
Nagios monitors multiple disk space