On Thu, Jan 04, 2007 at 12:02:41PM +0100, Marc Haber wrote:
> $ /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -l
> DISK WARNING - free space: / 142 MB (77% inode=85%); /dev/shm 92 MB (100% 
> inode=99%); /mnt/usr 840 MB (73% inode=86%); /mnt/home 1055 MB (92% 
> inode=99%); /mnt/var 1971 MB (58% inode=99%); /mnt/amanda 2487 MB (30% 
> inode=99%); /tmp 92 MB (99% inode=99%); /media/linux-backup 56546 MB (13% 
> inode=-);| /=41MB;154;173;0;193 /dev/shm=0MB;73;82;0;92 
> /mnt/usr=296MB;73;82;0;1196 /mnt/home=80MB;73;82;0;1196 
> /mnt/var=1406MB;73;82;0;3559 /mnt/amanda=5614MB;73;82;0;8535 
> /tmp=0MB;73;82;0;92 /media/linux-backup=355477MB;73;82;0;412023
> 
> The only filesystem that is below the warning threshold is
> /media/linux-back, which is not a local file system:
> $ grep linux-backup /proc/mounts
> //windows-server.domain.example/linux_backup$ /media/linux-backup cifs 
> rw,mand,unc=\\windows-server.domain.example\linux_backup$,username=user,rsize=16384,wsize=57344
>  0 0
> 
> cifs mounts should be excluded if --local is used.

This is reported to be fixed in current nagios-plugins. I'll verify
this and report back in due time.

Greetings
Marc, who wanted to do this today, but didn't get around it

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to