[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:40:01 -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=kdZKPh9KP0TPmbXhAoLDd7tHxFnbgzqIsLOIwiHAD5I=; b=TKnFr7GfPUHZCBJfUUW2imxFHyFTFAu5pgZD8BSEtXbRbjaDcJd40f011zCXx1+iKA pGCWnYkd3RFCWUcd9jcYj8L8YmXBnIbNbJGcETO1DkqKoMR6zqH+TuaD57Xlx7/cz8K5 ZZhuabUZzaaz7gKIXYF+PMK9WTOKpmhn9ht3c=
- 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=HtDMds2IOpj48Ahy1tdyV8QPwcANpNNfk3rJj/F4u82ktlbmt1dQe8ujkb+TKg7MPB w+leTiOq66AuOrATDg4VEcZOUUHESatodLP6O7gr1UfwCN6W4zND+8ktrAKSz/inCAEf 4QxjgqKgbGe6lrqRcfR0BCcjHk09ePToyTcgM=
- References: <AANLkTi=zT8j-3mxRKxATdumRSytf_byrFGt9bRtSokDe (at) mail.gmail.com> <AANLkTinVoyKcqK46aC1Ukf=gYBDW0P-iYq+bqdQMDKTk (at) mail.gmail.com> <AANLkTinOGCij8J2FA9Xdg9QVALOjQu=bjTGu56+nO3F3 (at) mail.gmail.com> <AANLkTinFdgiz2ie3NCxhuop8picZj6izZPdH6fESQfif (at) mail.gmail.com> <AANLkTikgs63WsmeQ6=3s27UMWH-kQzr1mmbnRnXZ1fe- (at) mail.gmail.com>
On Wed, Jul 28, 2010 at 11:29 AM, Shailesh Paudyal <
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> wrote:
>
>>
>>
>> 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
>>
>
> --
> Shailesh K. Paudyal
> 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)