[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] Re: rrd history chart disappears under conn, memory and disk after 24 hours



I had similar symptoms a while back running Xymon on SLES 10.1 (SuSE
Linux).

The rrd graphs would display data for hours 0-24 after a reboot, no data
for hours 24-48,

and then be fine again for hours 48+.

 

 

I determined that, when running under SLES, the uptime command returns
the string:

'day'   for uptime >= 24 hours && <48 hours; eg, 1 day

'days' for uptime >= 48 hours; eg 3 days

 

On the Xymon server, it appears the software is only looking for the
string 'days'.

 

I modified the [uptime] section in
~hobbit/client/bin/hobbitclient-linux.sh and added a perl 

command to change ' day ' to  ' days '.

 

echo "[uptime]"

uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"

 

 

 

Tom Brand

Disclaimer:  1) all opinions are my own, 2) I may be completely wrong,
3) my advice is worth at least as much as what you are paying for it, or
your money cheerfully refunded.

________________________________

From: White, Bruce [mailto:bewhite (at) fellowes.com] 
Sent: Wednesday, February 03, 2010 11:42 AM
To: hobbit (at) hswn.dk
Subject: RE: [hobbit] Re: rrd history chart disappears under conn,
memory and disk after 24 hours

 

I have been running two Xymon- 4.3.0-0.beta2 running on  RedHat AS 5.2
servers for over three months and hive not seen anything like you
describe on either server.

 

     .......Bruce 

 

 

 Bruce White

 Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax:
630-893-1648 | bewhite (at) fellowes.com | www.fellowes.com
<http://www.fellowes.com/> 

 

  

 

Disclaimer: The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this
message is not the intended recipient or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer. Thank you. Fellowes, Inc.

 

________________________________

From: ZHONGYU CHEN [mailto:w17682 (at) motorola.com] 
Sent: Wednesday, February 03, 2010 7:41 AM
To: hobbit (at) hswn.dk
Subject: [hobbit] Re: rrd history chart disappears under conn, memory
and disk after 24 hours

 

Hi,

I switch to version 4.2.3 and I haven't see the same issue.

Thanks.

On Sun, Jan 24, 2010 at 10:45 PM, ZHONGYU CHEN <w17682 (at) motorola.com>
wrote:

Hi,

I installed and configured xymon-4.3.0-beta2. Everything looks fine. But
there is one strange thing beyond my understood. The rrd history chart
disappears under tests/columns of conn, disk and memory after running 24
hours. But I can see these charts under column trends. No time effect to
the tests/columns of cpu and my custom tests. These rrd charts will stay
there as far as time goes.

If I add a new client, I can see these rrd charts under conn, disk and
memory during the first 24 hours (or the first day).

Anyone sees the same phenomenon?  Did I miss something in configuration?

Thank you in advance.

-- 
Zhongyu Chen