[Nagiosplug-devel] [ nagiosplug-Bugs-1985276 ] check_disk --local does not exclude cifs mounts
SourceForge.net
noreply at sourceforge.net
Wed Jun 11 22:47:44 CEST 2008
Bugs item #1985276, was opened at 2008-06-05 11:52
Message generated for change (Settings changed) made by cyco_dd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1985276&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jan Wagner (cyco_dd)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_disk --local does not exclude cifs mounts
Initial Comment:
The following Bugreport we got against our debian package:
$ /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.
You can track the bugreport via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405539
Thanks and kind regards, Jan.
----------------------------------------------------------------------
Comment By: Matthias Eble (psychotrahe)
Date: 2008-06-07 16:24
Message:
Logged In: YES
user_id=1694341
Originator: NO
works for me.. at least with the current version.
This detection is also part of gnulib code and
I cannot find any changes in mountlist.c that would have fixed the
remote/local detection.
I'm disposed to file this as "Works for me"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1985276&group_id=29880
More information about the Devel
mailing list