[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Problem with disk monitoring
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Problem with disk monitoring
- From: Steve Holmes <sholmes42 (at) mac.com>
- Date: Wed, 28 Jul 2010 11:21:21 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=rsIR/goiVVj6ahpvC0+t3vMeQCbXMPmN082+hSjcrxI=; b=UdPpQ94fDwGhmi9FzzmwlUtmEofzzTcaKJ/pVS7SOq0/1o9VqF9ri8In2141cD/Kld pj46RID8gZ5QAqTgfcWSKwWOSkW1Eo/nKK8HGDWfTJcZ2aDEJEOhP67DcwZ8ugbFWbER URo+zPicCZvs6VuEZF/u4J91vxUzpCWVyvQ1s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=FeNkS9OvmNqNdjGoI2pz7Bn1Ahh/2BWt/sNg09UReGyo93B9d7syR0OBpLzwaYpclY aNFT/U4A2RaxpGkwWnBPceYpQiD0iRkFUT39v11AmJ7XlcmMzFJHecwmT7xXxK2VabdP snYAcRF+xNJBizzohbKgop9FfIQRya4ASziS4=
- References: <AANLkTi=zT8j-3mxRKxATdumRSytf_byrFGt9bRtSokDe (at) mail.gmail.com> <AANLkTinVoyKcqK46aC1Ukf=gYBDW0P-iYq+bqdQMDKTk (at) mail.gmail.com> <AANLkTinOGCij8J2FA9Xdg9QVALOjQu=bjTGu56+nO3F3 (at) mail.gmail.com>
On Wed, Jul 28, 2010 at 10:57 AM, Shailesh Paudyal <
shailesh.paudyal (at) gmail.com> wrote:
> OS is ............... Red Hat Linux 5.4
>
>
> On Wed, Jul 28, 2010 at 9:51 AM, Steve Holmes <sholmes42 (at) mac.com> wrote:
>
>>
>>
>> On Wed, Jul 28, 2010 at 10:43 AM, Shailesh Paudyal <
>> shailesh.paudyal (at) gmail.com> wrote:
>>
>>> All,
>>>
>>> Please see below, there is a problem with disk monitoring on one of the
>>> server. Can some one tell me if I did something wrong?
>>>
>>>
>>> W]d Jul 28 10:34:31 EDT 2010 - Filesystems NOT ok
>>>
>>>
>>>
>>> 7% / (8816628% used) has reached the PANIC level (95%)
>>>
>>> 38% /u01 (90371708% used) has reached the PANIC level (95%)
>>>
>>> 2% /tmp (9254468% used) has reached the PANIC level (95%)
>>>
>>> 34% /usr (6261556% used) has reached the PANIC level (95%)
>>>
>>> 18% /opt (7775588% used) has reached the PANIC level (95%)
>>>
>>> 4% /var (13653064% used) has reached the PANIC level (95%)
>>>
>>> 3% /home (27514896% used) has reached the PANIC level (95%)
>>>
>>> 30% /boot (67864% used) has reached the PANIC level (95%)
>>>
>>> 14% /u02 (1697518148% used) has reached the PANIC level (95%)
>>>
>>> 94% /u03 (136865636% used) has reached the PANIC level (95%)
>>>
>>>
>>>
>>> Filesystem 10
>>>
>>> 4-b]ocks Used Available Capacity Mounted on
>>>
>>> /dev/sda9 9920592 591896 8816628 7% /
>>>
>>> /dev/sda10 152435112 54195172 90371708 38% /u01
>>>
>>> /dev/sda8 9920592 154056 9254468 2% /tmp
>>>
>>> /dev/sda7 9920592 3146968 6261556 34% /usr
>>>
>>> /dev/sda6 9920592 1632936 7775588 18% /opt
>>>
>>> /dev/sda5 14877060 456092 13653064 4% /var
>>>
>>> /dev/sda3 29753588 702880 27514896 3% /home
>>>
>>> /dev/sda1 101086 28003 67864 30% /boot
>>>
>>> /dev/mapper/VolGroup02-u02 2064204960 261831260 1697518148 14% /u02
>>>
>>> /dev/mapper/VolGroup03-u03 2064204960 1822483772 136865636 94% /u03
>>>
>>> --
>>> Shailesh K. Paudyal
>>> shailesh.paudyal (at) gmail.com
>>>
>>
>>
>> Which OS?
>> Steve
>> --
>>
>>
>
>
> --
> Shailesh K. Paudyal
> shailesh.paudyal (at) gmail.com
>
It appears that Xymon has slipped one field to the left in parsing the df
output. The string at the beginning of each of the lines before the actual
df ouput should be the name of the filesystem (plus an icon, but we'll
ignore that for now). Then it is using the available number as the percent
used, which, of course, is huge.
I don't know if this is causing the problem but there is some funkiness with
the first line of the df output. It is broken between the 10 and the 4 and
there is a ']' instead of an 'l' in the word "blocks". Maybe this is a
cut/paste error, but if not, it is certainly not right.
I think it should read something like
Filesystem 1K-blocks Used Available Use% Mounted
on
If your df actually outputs a broken first line I think that should be fixed
first, then see if Xymon parses the output correctly.
Steve
--
The test of a democracy is not the magnificence of buildings or the speed of
automobiles or the efficiency of air transportation, but rather the care
given to the welfare of all the people. -Helen Adams Keller, lecturer and
author (1880-1968)
Truth never damages a cause that is just. -Mohandas Karamchand Gandhi
(1869-1948)