Disks not reporting correctly

Craig Jackson CJackson at abbott-simses.com
Fri Sep 7 16:33:25 CEST 2007


Hi,

Nagios Nrpe client is always reporting disk usage critical for
/dev/sdb1. Additionally, /dev/sda1 is reported as /dev and /dev/sdc1 is
reporting disk and inode usage incorrectly.

This is the /etc/fstab entry:
UUID=4c5135d0-46e4-4edb-b9e0-ff352480f709 / ext3
defaults,errors=remount-ro 0 1
UUID=e384cbdc-2ff5-4d3e-8c73-65602bc9c79e /var/spool/exim/vmail ext2
defaults,errors=remount-ro 0 2

# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
/dev/sdb1 on /var/spool/exim/vmail type ext2 (rw,errors=remount-ro)

# df
Filesystem 1K-blocks      Used Available Use% Mounted on
/dev/sda1 28834716   1229608  26140384   5% /
/dev/sdb1 480719056 134385108 321914748  30% /var/spool/exim/vmail

Nagios Version: 2.5.1

Here's the relevant lines from nrpe.cfg:
command[check_disk_sda1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10
-p /dev/sda1
command[check_disk_sdb1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10
-p /dev/sdb1
command[check_disk_sdc1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10
-p /dev/sdc1

Any ideas?
Thanks.
Craig

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list