Stefan Hornburg schrieb am Donnerstag, dem 19. Feber 2009: > IMHO not in any case. If someone changes permissions on a disk so > that I can't be monitored anymore, you want to know about it.
Hmm. Ah. Now I see. The check never failed before on etch, even tho the mountpoint was inaccessible. However, it reported the wrong disk usage. on etch: wea...@simona:~$ /usr/lib/nagios/plugins/check_disk 90 95 | tr ';' '\n' | grep test /mnt/test/mountpoint 86396 MB (60% inode=98%) 60476 /mnt/test/mountpoint=56382MB wea...@simona:~$ sudo chmod o-rx /mnt/test wea...@simona:~$ stat /mnt/test/mountpoint stat: cannot stat `/mnt/test/mountpoint': Permission denied wea...@simona:~$ /usr/lib/nagios/plugins/check_disk 90 95 | tr ';' '\n' | grep test /mnt/test/mountpoint 11435 MB (19% inode=96%) 60476 /mnt/test/mountpoint=45969MB The 11435MB come from some other random mountpoint (The one just previous in the list). Oh well, thanks. -- | .''`. ** Debian GNU/Linux ** Peter Palfrader | : :' : The universal http://www.palfrader.org/ | `. `' Operating System | `- http://www.debian.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org