[Nagiosplug-help] Problems with check_disk
Jens Link
lists at quux.de
Wed Dec 6 15:24:42 CET 2006
Hi,
I just ran across a small problem with th check_disk plugin running on
Debian/testing. I can verify this on a second system also running
Debian/testing. Running the same plugin on Debian/stable works fine. I
used the Debian package as well as a self compiled version fresh from
the tar ball.
,----
| root:~/nagios-plugins-1.4.5/plugins# ./check_disk -V
| check_disk (nagios-plugins 1.4.5) 1.79
`----
When I run check_disk against / (/dev/sda5 in the example) I get some
strange results:
,----
| root:~/nagios-plugins-1.4.5/plugins# ./check_disk -w 10 -c 20 -p \
| /dev/hda5 DISK CRITICAL - free space: /dev 9 MB (99% inode=98%);| \
^^^^
| /dev=0MB;0;-10;0;10
`----
It works fine when I use the mount point or another device:
,----
| root:~/nagios-plugins-1.4.5/plugins# ./check_disk -w 10 -c 20 -p / \
| DISK OK - free space: / 11652 MB (72% inode=92%);| \
| /=4383MB;16883;16873;0;16893
|
| root@:~/nagios-plugins-1.4.5/plugins# ./check_disk -w 10 -c 20 -p \
| /dev/hda7 DISK OK - free space: /home 20681 MB (22% inode=96%);| \
| /home=72268MB;93893;93883;0;93903
`----
Here's the disk layout. Mabye it has something to to with udev?
,----
| root:~/nagios-plugins-1.4.5/plugins# df -h
| Filesystem Size Used Avail Use% Mounted on
| /dev/hda5 17G 4.3G 12G 28% /
| udev 10M 72K 10M 1% /dev
| devshm 506M 0 506M 0% /dev/shm
| /dev/hda7 92G 71G 21G 78% /home
`----
cheers,
Jens
--
sage at guug Berlin: http://www.guug.de/lokal/berlin/index.html
http://www.openbc.com/go/invita/4269460
More information about the Help
mailing list