[-]
[+]
|
Changed |
nagios-plugins-disks.changes
|
|
[-]
[+]
|
Changed |
nagios-plugins-disks.spec
^
|
|
[-]
[+]
|
Changed |
check_disks
^
|
@@ -4,7 +4,7 @@
rm -rf ${CHECK_MULTI_CMD_FILE}
-for a in `grep -E '(xfs|ext2|ext3|ext4|btrfs|reiserfs|vfat|tmpfs|vzfs)' /proc/mounts | awk '{print $1}' | grep ^/|sort -u` ; do
+for a in `grep -E '(xfs|ext2|ext3|ext4|btrfs|reiserfs|vfat|tmpfs|vzfs)' /proc/mounts | awk '{print $1}' | grep ^/ | grep -v -E '(^/vz/template:)' | sort -u` ; do
echo "command[check_disk_${CNT}]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p ${a}" >> ${CHECK_MULTI_CMD_FILE}
CNT=`expr ${CNT} + 1`
done
|