Package: nagios-plugins-basic
Version: 1.4.12-5
Severity: normal

This is a regression from etch.

| wea...@malo:~$ /usr/lib/nagios/plugins/check_disk 90 95
| DISK CRITICAL - /home/buildd/chroots/etch/proc is not accessible: Permission 
denied

I think this commit is to blame:

| 2007-07-10 20:18  psychotrahe
| 
|         * [r1754] NEWS, plugins/check_disk.c, plugins/t/check_disk.t:
|           Check_disk now calls stat() for all filesystems to check.
|           Check_disk prints an strerror() message if the call of stat()
|           fails.

Commenting out the stat() call helps:

| wea...@malo:~/tmp/nagios-plugins-1.4.12/plugins$ ./check_disk 90 95
| DISK OK - free space: / 7186 MB (40% inode=94%); /lib/init/rw 377 MB (100% 
inode=99%); /dev 9 MB (99% inode=99%); /dev/shm 377 MB (100% inode=99%); 
/var/lib/schroot/mount/sid-powerpc-sbuild-6190ef14-9a4d-4031-8fc2-8ac0e587da71 
7186 MB (40% inode=94%); /home/buildd/chroots/etch/proc 7186 MB (40% 
inode=94%); /home/buildd/chroots/etch/dev/pts 7186 MB (40% inode=94%); 
/home/buildd/chroots/lenny/proc 7186 MB (40% inode=94%); 
/home/buildd/chroots/lenny/dev/pts 7186 MB (40% inode=94%); 
/home/buildd/chroots/squeeze/proc 7186 MB (40% inode=94%); 
/home/buildd/chroots/squeeze/dev/pts 7186 MB (40% inode=94%); 
/home/buildd/chroots/sid/proc 7186 MB (40% inode=94%); 
/home/buildd/chroots/sid/dev/pts 7186 MB (40% inode=94%);| /=10586MB;;;0;18724 
/lib/init/rw=0MB;;;0;377 /dev=0MB;;;0;10 /dev/shm=0MB;;;0;377 
/var/lib/schroot/mount/sid-powerpc-sbuild-6190ef14-9a4d-4031-8fc2-8ac0e587da71=10586MB;;;0;18724
 /home/buildd/chroots/etch/proc=10586MB;;;0;18724 
/home/buildd/chroots/etch/dev/pts=10586MB
 ;;;0;18724 /home/buildd/chroots/lenny/proc=10586MB;;;0;18724 
/home/buildd/chroots/lenny/dev/pts=10586MB;;;0;18724 
/home/buildd/chroots/squeeze/proc=10586MB;;;0;18724 
/home/buildd/chroots/squeeze/dev/pts=10586MB;;;0;18724 
/home/buildd/chroots/sid/proc=10586MB;;;0;18724 
/home/buildd/chroots/sid/dev/pts=10586MB;;;0;18724



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to