[xymon] Problem with disk monitoring

Johan Sjöberg johan.sjoberg at deltamanagement.se
Wed Jul 28 17:50:01 CEST 2010


Are you using Xymon 4.3.0 beta?

I have seen this before on that version. It seems to be caused by too long status messages. Chech your hobbit test and see if it reports any status messages that are too long. I fixed this problem by increasing the maximum status message size (in hobbitserver.cfg). There are other discussions about this on the mailing list.

/Johan

From: sholmes42 at gmail.com [mailto:sholmes42 at gmail.com] On Behalf Of Steve Holmes
Sent: den 28 juli 2010 17:40
To: xymon at xymon.com
Subject: Re: [xymon] Problem with disk monitoring


On Wed, Jul 28, 2010 at 11:29 AM, Shailesh Paudyal <shailesh.paudyal at gmail.com<mailto:shailesh.paudyal at gmail.com>> wrote:
The output of df is as follows:
[root at localhost u03]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda9              9920592    591896   8816628   7% /
/dev/sda10           152435112  54216212  90350668  38% /u01
/dev/sda8              9920592    154052   9254472   2% /tmp
/dev/sda7              9920592   3146968   6261556  34% /usr
/dev/sda6              9920592   1632936   7775588  18% /opt
/dev/sda5             14877060    456172  13652984   4% /var
/dev/sda3             29753588    702880  27514896   3% /home
/dev/sda1               101086     28003     67864  30% /boot
tmpfs                 74156180  13079592  61076588  18% /dev/shm
/dev/mapper/VolGroup02-u02
                     2064204960 261882740 1697466668  14% /u02
/dev/mapper/VolGroup03-u03
                     2064204960 1827234716 132114692  94% /u03

When i pasted the output from the XYMON screen, I deleted the icons, it did have the icons..like red smilies:

Thank you,
-shailesh

On Wed, Jul 28, 2010 at 10:21 AM, Steve Holmes <sholmes42 at mac.com<mailto:sholmes42 at mac.com>> wrote:

On Wed, Jul 28, 2010 at 10:57 AM, Shailesh Paudyal <shailesh.paudyal at gmail.com<mailto: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<mailto:sholmes42 at mac.com>> wrote:


On Wed, Jul 28, 2010 at 10:43 AM, Shailesh Paudyal <shailesh.paudyal at gmail.com<mailto: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<mailto:shailesh.paudyal at gmail.com>


Which OS?
Steve
--



--
Shailesh K. Paudyal
shailesh.paudyal at gmail.com<mailto: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

--
Shailesh K. Paudyal
shailesh.paudyal at gmail.com<mailto:shailesh.paudyal at gmail.com>


Well, that looks good to me.  I have no idea.
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/bf0713a0/attachment.html>


More information about the Xymon mailing list