您的位置:首页 > 运维架构

Cacti磁盘空间监控数据不准解决办法

2014-12-02 14:39 337 查看
在被监控的主机snmpd.conf中加入如下内容

….
###############################################################################
# disk checks
#

# The agent can check the amount of available disk space, and make
# sure it is above a set limit.

# disk PATH [MIN=DEFDISKMINIMUMSPACE]
#
# PATH:  mount path to the disk in question.
# MIN:   Disks with space below this value will have the Mib's errorFlag set.
#        Default value = DEFDISKMINIMUMSPACE.

# Check the / partition and make sure it contains at least 10 megs.

#disk / 10000
#disk / 100000
includeAllDisks 10%
….

主要是includeAllDisks 10%这句,如果没有这句话,出问题的磁盘空间实际上显示的是cacti所在主机的磁盘空间。

至于为什么,不是很明白。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: