[xymon] Problem with disk monitoring

Steve Holmes sholmes42 at mac.com
Wed Jul 28 17:21:21 CEST 2010


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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100728/7e153117/attachment.html>


More information about the Xymon mailing list