[Pkg-nagios-devel] Bug#516097: Bug#516097: check_disk breaks on inaccessible directories

Jan Wagner waja at cyconet.org
Thu Feb 19 12:46:50 UTC 2009


retitle 516097 Please implement --ignore-inaccessible
severity 516097 wishlist

On Thursday 19 February 2009, Peter Palfrader wrote:
> on etch:
>
> weasel at 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
>
> weasel at simona:~$ sudo chmod o-rx /mnt/test
> weasel at simona:~$ stat /mnt/test/mountpoint
> stat: cannot stat `/mnt/test/mountpoint': Permission denied
>
> weasel at 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).

so as discussed on IRC, adding an option "--ignore-inaccessible" would be 
neat.

With kind regards, Jan.
-- 
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20090219/c205ae46/attachment.pgp 


More information about the Pkg-nagios-devel mailing list