Changes of Revision 4
[-] | Changed | nagios-plugins-disks.changes |
x 1
2 ------------------------------------------------------------------- 3 +Wed Feb 6 14:40:35 UTC 2013 - cs@linux-administrator.com 4 + 5 +- version 0.4 6 + * bind mount leads to multiple listings of devices, filter with 'sort -u' 7 + 8 +------------------------------------------------------------------- 9 Wed Dec 5 08:48:13 UTC 2012 - cs@linux-administrator.com 10 11 - version 0.3 12 |
||
[-] | Changed | nagios-plugins-disks.spec ^ |
8 1
2 Name: nagios-plugins-disks 3 -Version: 0.3 4 +Version: 0.4 5 Release: 1 6 Url: http://www.linux-administrator.com 7 Group: System/Monitoring 8 |
||
[+] | 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 ^/` ; do +for a in `grep -E '(xfs|ext2|ext3|ext4|btrfs|reiserfs|vfat|tmpfs|vzfs)' /proc/mounts | awk '{print $1}' | grep ^/|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 |