Disks not reporting correctly

Justin Maloney justinm at honeycomb.net
Fri Sep 7 22:29:02 CEST 2007


So I see the df there, what does the output from nrpe show you?  And
what's the out put of "df -k"? Could be the df you use is defaulting to
512-byte blocks or the check_disk command might.  Just a thought.

Thank you,

Justin Maloney

Systems Administrator

Honeycomb Internet Services

612.617.0007

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Craig
Jackson
Sent: Friday, September 07, 2007 9:33 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Disks not reporting correctly

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

-------------------------------------------------------------------------
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