[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bigsister-general] How to not monitor some partition on RedHat


 
I can modify tests.cfg to ignore the specified partation on solaris.
 
#
# The Solaris disk monitor
test solaris_dfdisk extends unix_dfdisk {
    static set features local unix sysv solaris;
    pernode set dfcommand "df -k -t";
    set avoid_partitions "~^/cdrom|\/home/";
}
However, I tried to modify tests.cfg as below to ignore the specified partition on redhat but doesn't work.
 
#
# The unix SNMP disk monitor -- avoids common "trash"
test unix_snmpdisk extends generic_snmpdisk {
    static set features remote unix;
    static set avoid_partitions /proc/bus/usb /dev/pts /home;
    static set description "Monitor a disks free space using SNMP and Host-MIB";
}
 
Can anyone tell me how to do so?
 
 
Thanks
 
Linda
 
 

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.