- 论坛徽章:
- 0
|
有点可怜,我们都是这样,发了帖子求救,却没有什么人回复。唉,这可是Chinaunix,China呀。
vim snmpd.conf
里面有个
###############################################################################
# disk checks
#
# The agent can check the amount of available disk space, and make
# sure it is above a set limit.
disk /home/file [MIN=DEFDISKMINIMUMSPACE] 改成你相应的路径
disk / [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 去掉原来的注释
其实这个也是靠脚本获取信息的,脚本是在cacti下的scripts中,我的Debian路径是/usr/shar/cacti/site/scripts
[ 本帖最后由 mantou 于 2005-11-23 10:35 编辑 ] |
|