rrd history chart disappears under conn, memory and disk after 24 hours
list Zhongyu Chen
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
list Zhongyu Chen
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 <user-06a18d135d45@xymon.invalid> 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
list Bruce White
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: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid]
Sent: Wednesday, February 03, 2010 7:41 AM
To: user-ae9b8668bcde@xymon.invalid
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 <user-06a18d135d45@xymon.invalid>
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
list Thomas R. Brand
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:user-58f975e8bf9d@xymon.invalid]
Sent: Wednesday, February 03, 2010 11:42 AM
To: user-ae9b8668bcde@xymon.invalid
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: XXX-XXX-XXXX | Fax:
XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid] Sent: Wednesday, February 03, 2010 7:41 AM To: user-ae9b8668bcde@xymon.invalid 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 <user-06a18d135d45@xymon.invalid> 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
list Ryan Jay Lapuz
Hi Thomas, Good day! I am having the same issue, but the problem is that it is my Xymon server that is installed on CentOS that is displaying 'day' instead of 'days' when executing uptime command. So all my clients' graph are not displaying after the time that you specified on your email. Can you help me on how to solve this problem? Thanks in advance. Best regards, Ryan
▸
From: Brand, Thomas R. [mailto:user-10a840458972@xymon.invalid] Sent: Thursday, February 04, 2010 1:55 AM To: user-ae9b8668bcde@xymon.invalid Subject: 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:user-58f975e8bf9d@xymon.invalid] Sent: Wednesday, February 03, 2010 11:42 AM To: user-ae9b8668bcde@xymon.invalid 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: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid] Sent: Wednesday, February 03, 2010 7:41 AM To: user-ae9b8668bcde@xymon.invalid 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 <user-06a18d135d45@xymon.invalid> 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
list TJ Yang
On Wed, Jul 14, 2010 at 8:30 PM, Lapuz, Ryan Jay <
▸
user-a5a4328a614f@xymon.invalid> wrote:
Hi Thomas, Good day! I am having the same issue, but the problem is that it is my Xymon server that is installed on CentOS that is displaying ‘day’ instead of ‘days’ when executing uptime command.
Hi, Jay Can you file a bug report at R1 ? And provide as much info as you can, like provide an uptime command output when machine is up less then two days. R1: https://sourceforge.net/tracker/?group_id=128058&atid=710488 This way we trace the bug and fix it in the up coming releases. Thanks tj
▸
So all my clients’ graph are not displaying after the time that you
specified on your email.
Can you help me on how to solve this problem?
Thanks in advance.
Best regards,
Ryan
*From:* Brand, Thomas R. [mailto:user-10a840458972@xymon.invalid]
*Sent:* Thursday, February 04, 2010 1:55 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* 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 day*s*
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:user-58f975e8bf9d@xymon.invalid]
*Sent:* Wednesday, February 03, 2010 11:42 AM
*To:* user-ae9b8668bcde@xymon.invalid
*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: XXX-XXX-XXXX | Fax:
XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid]
*Sent:* Wednesday, February 03, 2010 7:41 AM
*To:* user-ae9b8668bcde@xymon.invalid
*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 <user-06a18d135d45@xymon.invalid>
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
--
T.J. Yang
list Thomas R. Brand
Ryan, I don't have a CentOS system to test on. I would expect CentOS to use the hobbitclient-linux.sh script too, so the fix described below should work for you too. On the client, edit hobbitclient-linux.sh and change: echo "[uptime]" uptime To
▸
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: Lapuz, Ryan Jay [mailto:user-a5a4328a614f@xymon.invalid] Sent: Wednesday, July 14, 2010 9:31 PM To: xymon at xymon.com Subject: [xymon] RE: [hobbit] Re: rrd history chart disappears under conn, memory and disk after 24 hours Hi Thomas, Good day! I am having the same issue, but the problem is that it is my Xymon server that is installed on CentOS that is displaying 'day' instead of 'days' when executing uptime command. So all my clients' graph are not displaying after the time that you specified on your email. Can you help me on how to solve this problem? Thanks in advance. Best regards, Ryan From: Brand, Thomas R. [mailto:user-10a840458972@xymon.invalid] Sent: Thursday, February 04, 2010 1:55 AM To: user-ae9b8668bcde@xymon.invalid Subject: 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:user-58f975e8bf9d@xymon.invalid] Sent: Wednesday, February 03, 2010 11:42 AM To: user-ae9b8668bcde@xymon.invalid 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: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid] Sent: Wednesday, February 03, 2010 7:41 AM To: user-ae9b8668bcde@xymon.invalid 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 <user-06a18d135d45@xymon.invalid> 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
list Josh Luthman
[root at bender ~]# cat /etc/redhat-release CentOS release 5.2 (Final) [root at bender ~]# uptime 12:48:33 up 39 days, 22:20, 3 users, load average: 0.00, 0.07, 0.13 [root at bender ~]# uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/" 12:48:37 up 39 days, 22:20, 3 users, load average: 0.00, 0.07, 0.13 [root at bender ~]# echo `uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"` 12:49:10 up 39 days, 22:20, 3 users, load average: 0.00, 0.06, 0.12 Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX
▸
On Thu, Jul 15, 2010 at 12:44 PM, Brand, Thomas R. <user-10a840458972@xymon.invalid> wrote:
Ryan,
I don’t have a CentOS system to test on.
I would expect CentOS to use the hobbitclient-linux.sh script too, so the
fix described below should work for you too.
On the client, edit hobbitclient-linux.sh and change:
echo "[uptime]"
uptime
To
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:* Lapuz, Ryan Jay [mailto:user-a5a4328a614f@xymon.invalid]
*Sent:* Wednesday, July 14, 2010 9:31 PM
*To:* xymon at xymon.com
*Subject:* [xymon] RE: [hobbit] Re: rrd history chart disappears under
conn, memory and disk after 24 hours
Hi Thomas,
Good day!
I am having the same issue, but the problem is that it is my Xymon server
that is installed on CentOS that is displaying ‘day’ instead of ‘days’ when
executing uptime command.
So all my clients’ graph are not displaying after the time that you
specified on your email.
Can you help me on how to solve this problem?
Thanks in advance.
Best regards,
Ryan
*From:* Brand, Thomas R. [mailto:user-10a840458972@xymon.invalid]
*Sent:* Thursday, February 04, 2010 1:55 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* 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 day*s*
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:user-58f975e8bf9d@xymon.invalid]
*Sent:* Wednesday, February 03, 2010 11:42 AM
*To:* user-ae9b8668bcde@xymon.invalid
*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: XXX-XXX-XXXX | Fax:
XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid]
*Sent:* Wednesday, February 03, 2010 7:41 AM
*To:* user-ae9b8668bcde@xymon.invalid
*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 <user-06a18d135d45@xymon.invalid>
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
list Ryan Jay Lapuz
Hi Josh, I did modify hobbitclient-linux.sh as you instructed but I think there's no change as I tried it manually. [xymon at xymon ~]$ cat /etc/redhat-release CentOS release 5.4 (Final) [xymon at xymon ~]$ [xymon at xymon ~]$ uptime 10:40:28 up 1 day, 41 min, 4 users, load average: 0.02, 0.04, 0.00 [xymon at xymon ~]$ [xymon at xymon ~]$ uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/" 10:40:42 up 1 day, 41 min, 4 users, load average: 0.01, 0.04, 0.00 [xymon at xymon ~]$ [xymon at xymon ~]$ echo `uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"` 10:40:53 up 1 day, 41 min, 4 users, load average: 0.01, 0.04, 0.00 Thanks and regards, Ryan
▸
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Friday, July 16, 2010 12:50 AM To: xymon at xymon.com Cc: Lapuz, Ryan Jay Subject: Re: [xymon] RE: [hobbit] Re: rrd history chart disappears under conn, memory and disk after 24 hours [root at bender ~]# cat /etc/redhat-release CentOS release 5.2 (Final) [root at bender ~]# uptime 12:48:33 up 39 days, 22:20, 3 users, load average: 0.00, 0.07, 0.13 [root at bender ~]# uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/" 12:48:37 up 39 days, 22:20, 3 users, load average: 0.00, 0.07, 0.13 [root at bender ~]# echo `uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"` 12:49:10 up 39 days, 22:20, 3 users, load average: 0.00, 0.06, 0.12 Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Thu, Jul 15, 2010 at 12:44 PM, Brand, Thomas R. <user-10a840458972@xymon.invalid> wrote: Ryan, I don't have a CentOS system to test on. I would expect CentOS to use the hobbitclient-linux.sh script too, so the fix described below should work for you too. On the client, edit hobbitclient-linux.sh and change: echo "[uptime]" uptime To 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: Lapuz, Ryan Jay [mailto:user-a5a4328a614f@xymon.invalid] Sent: Wednesday, July 14, 2010 9:31 PM To: xymon at xymon.com Subject: [xymon] RE: [hobbit] Re: rrd history chart disappears under conn, memory and disk after 24 hours Hi Thomas, Good day! I am having the same issue, but the problem is that it is my Xymon server that is installed on CentOS that is displaying 'day' instead of 'days' when executing uptime command. So all my clients' graph are not displaying after the time that you specified on your email. Can you help me on how to solve this problem? Thanks in advance. Best regards, Ryan From: Brand, Thomas R. [mailto:user-10a840458972@xymon.invalid] Sent: Thursday, February 04, 2010 1:55 AM To: user-ae9b8668bcde@xymon.invalid Subject: 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:user-58f975e8bf9d@xymon.invalid] Sent: Wednesday, February 03, 2010 11:42 AM To: user-ae9b8668bcde@xymon.invalid 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: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid] Sent: Wednesday, February 03, 2010 7:41 AM To: user-ae9b8668bcde@xymon.invalid 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 <user-06a18d135d45@xymon.invalid> 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
list Thomas R. Brand
Ryan, Your 'uptime' command is returning ' day, ' <-- note the comma ',' after the 'y' Change statement to: uptime | perl -pe "s/^(.*) day, (.*)/\1 days \2/" or uptime | perl -pe "s/^(.*) day[, ](.*)/\1 days \2/" Note: ' day ' --> ' day, ' # echo '10:40:28 up 1 day, 41 min, 4 users, load average: 0.02, 0.04, 0.00'| perl -pe "s/^(.*) day, (.*)/\1 days \2/" 10:40:28 up 1 days 41 min, 4 users, load average: 0.02, 0.04, 0.00
▸
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: Lapuz, Ryan Jay [mailto:user-a5a4328a614f@xymon.invalid] Sent: Tuesday, July 20, 2010 10:45 PM To: xymon at xymon.com Subject: RE: [xymon] RE: [hobbit] Re: rrd history chart disappears under conn, memory and disk after 24 hours Hi Josh, I did modify hobbitclient-linux.sh as you instructed but I think there's no change as I tried it manually. [xymon at xymon ~]$ cat /etc/redhat-release CentOS release 5.4 (Final) [xymon at xymon ~]$ [xymon at xymon ~]$ uptime 10:40:28 up 1 day, 41 min, 4 users, load average: 0.02, 0.04, 0.00 [xymon at xymon ~]$ [xymon at xymon ~]$ uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/" 10:40:42 up 1 day, 41 min, 4 users, load average: 0.01, 0.04, 0.00 [xymon at xymon ~]$ [xymon at xymon ~]$ echo `uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"` 10:40:53 up 1 day, 41 min, 4 users, load average: 0.01, 0.04, 0.00 Thanks and regards, Ryan From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Friday, July 16, 2010 12:50 AM To: xymon at xymon.com Cc: Lapuz, Ryan Jay Subject: Re: [xymon] RE: [hobbit] Re: rrd history chart disappears under conn, memory and disk after 24 hours [root at bender ~]# cat /etc/redhat-release CentOS release 5.2 (Final) [root at bender ~]# uptime 12:48:33 up 39 days, 22:20, 3 users, load average: 0.00, 0.07, 0.13 [root at bender ~]# uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/" 12:48:37 up 39 days, 22:20, 3 users, load average: 0.00, 0.07, 0.13 [root at bender ~]# echo `uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"` 12:49:10 up 39 days, 22:20, 3 users, load average: 0.00, 0.06, 0.12 Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Thu, Jul 15, 2010 at 12:44 PM, Brand, Thomas R. <user-10a840458972@xymon.invalid> wrote: Ryan, I don't have a CentOS system to test on. I would expect CentOS to use the hobbitclient-linux.sh script too, so the fix described below should work for you too. On the client, edit hobbitclient-linux.sh and change: echo "[uptime]" uptime To 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: Lapuz, Ryan Jay [mailto:user-a5a4328a614f@xymon.invalid] Sent: Wednesday, July 14, 2010 9:31 PM To: xymon at xymon.com Subject: [xymon] RE: [hobbit] Re: rrd history chart disappears under conn, memory and disk after 24 hours Hi Thomas, Good day! I am having the same issue, but the problem is that it is my Xymon server that is installed on CentOS that is displaying 'day' instead of 'days' when executing uptime command. So all my clients' graph are not displaying after the time that you specified on your email. Can you help me on how to solve this problem? Thanks in advance. Best regards, Ryan From: Brand, Thomas R. [mailto:user-10a840458972@xymon.invalid] Sent: Thursday, February 04, 2010 1:55 AM To: user-ae9b8668bcde@xymon.invalid Subject: 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:user-58f975e8bf9d@xymon.invalid] Sent: Wednesday, February 03, 2010 11:42 AM To: user-ae9b8668bcde@xymon.invalid 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: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid] Sent: Wednesday, February 03, 2010 7:41 AM To: user-ae9b8668bcde@xymon.invalid 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 <user-06a18d135d45@xymon.invalid> 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
list Ryan Novosielski
Is anyone else getting Tom's e-mails over and over and over? I probably am more sensitive to this as I see my name on the first line and think it is important. :) -- Sent from my Palm Pre On Jul 24, 2010 6:49, Brand, Thomas R. <user-10a840458972@xymon.invalid> wrote: Ryan, Your ‘uptime’ command is returning ‘ day, ’ ß note the comma ‘,’ after the ‘y’
▸
Change statement to:
uptime | perl -pe "s/^(.*) day, (.*)/\1 days \2/"
or
uptime | perl -pe "s/^(.*) day[, ](.*)/\1 days \2/"
Note: ‘ day ‘ à ‘ day, ‘
# echo '10:40:28
up 1 day, 41 min, 4 users, load average: 0.02, 0.04, 0.00'| perl
-pe "s/^(.*) day, (.*)/\1 days \2/"
10:40:28 up 1 days
41 min, 4 users, load average: 0.02, 0.04, 0.00
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: Lapuz, Ryan Jay
[mailto:user-a5a4328a614f@xymon.invalid]
Sent: Tuesday, July 20, 2010 10:45
PM
To: xymon at xymon.com
Subject: RE: [xymon] RE: [hobbit]
Re: rrd history chart disappears under conn, memory and disk after 24 hours
Hi Josh,
▸
I did modify
hobbitclient-linux.sh as you instructed but I think there’s no change as
I tried it manually.
▸
[xymon at xymon ~]$ cat
/etc/redhat-release
CentOS release 5.4
(Final)
[xymon at xymon ~]$
[xymon at xymon ~]$
uptime
10:40:28 up 1 day, 41 min, 4 users, load
▸
average: 0.02, 0.04, 0.00
[xymon at xymon ~]$
[xymon at xymon ~]$
uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"
10:40:42 up 1 day, 41 min, 4 users, load
▸
average: 0.01, 0.04, 0.00
[xymon at xymon ~]$
[xymon at xymon ~]$ echo
`uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"`
10:40:53 up 1 day, 41 min, 4 users, load average: 0.01,
0.04, 0.00
Thanks and regards,
Ryan
▸
From: Josh Luthman
[mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Friday, July 16, 2010 12:50
AM
To: xymon at xymon.com
Cc: Lapuz, Ryan Jay
Subject: Re: [xymon] RE: [hobbit]
Re: rrd history chart disappears under conn, memory and disk after 24 hours
▸
[root at bender ~]# cat
/etc/redhat-release
CentOS release 5.2 (Final)
[root at bender ~]# uptime
12:48:33 up 39 days, 22:20, 3 users, load average: 0.00,
▸
0.07, 0.13
[root at bender ~]# uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"
12:48:37 up 39 days, 22:20, 3 users, load average: 0.00,
▸
0.07, 0.13
[root at bender ~]# echo `uptime | perl -pe "s/^(.*) day (.*)/\1 days
\2/"`
12:49:10 up 39 days, 22:20, 3 users, load average: 0.00, 0.06, 0.12
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH
XXXXX
On Thu, Jul 15, 2010 at 12:44 PM, Brand,
Thomas R. <user-10a840458972@xymon.invalid>
wrote:
Ryan,
I don’t have a CentOS system to test on.
I would expect CentOS to use the hobbitclient-linux.sh script
too, so the fix described below should work for you too.
On the client, edit hobbitclient-linux.sh and change:
echo "[uptime]"
uptime
To
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: Lapuz, Ryan Jay [mailto:user-a5a4328a614f@xymon.invalid]
Sent: Wednesday, July 14, 2010
9:31 PM
To: xymon at xymon.com
Subject: [xymon] RE: [hobbit] Re:
rrd history chart disappears under conn, memory and disk after 24 hours
▸
Hi
Thomas,
Good
day!
I am
having the same issue, but the problem is that it is my Xymon server that is
installed on CentOS that is displaying ‘day’ instead of
‘days’ when executing uptime command.
So
all my clients’ graph are not displaying after the time that you
specified on your email.
Can
you help me on how to solve this problem?
Thanks
in advance.
Best
regards,
Ryan
▸
From: Brand, Thomas R.
[mailto:user-10a840458972@xymon.invalid]
Sent: Thursday, February 04, 2010
1:55 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: 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:user-58f975e8bf9d@xymon.invalid]
Sent: Wednesday, February 03, 2010
11:42 AM
To: user-ae9b8668bcde@xymon.invalid
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:
XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-06a18d135d45@xymon.invalid]
Sent: Wednesday, February 03, 2010
7:41 AM
To: user-ae9b8668bcde@xymon.invalid
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 <user-06a18d135d45@xymon.invalid> 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
list Josh Luthman
I got two emails one time each.
▸
On Jul 24, 2010 11:12 AM, "Ryan Novosielski" <user-ae4522577e16@xymon.invalid> wrote:
Is anyone else getting Tom's e-mails over and over and over? I probably am
more sensitive to this as I see my name on the first line and think it is
important. :)
-- Sent from my Palm Pre
On Jul 24, 2010 6:49, Brand, Thomas R. <user-10a840458972@xymon.invalid> wrote:
Ryan,
Your ‘uptime’ command ...
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I got two e-mails 30 times each! Anyone else in this boat with me?
▸
On 07/24/2010 11:32 AM, Josh Luthman wrote:I got two emails one time each.On Jul 24, 2010 11:12 AM, "Ryan Novosielski" <user-ae4522577e16@xymon.invalid <mailto:user-ae4522577e16@xymon.invalid>> wrote: Is anyone else getting Tom's e-mails over and over and over? I probably am more sensitive to this as I see my name on the first line and think it is important. :) -- Sent from my Palm Pre On Jul 24, 2010 6:49, Brand, Thomas R. <user-10a840458972@xymon.invalid <mailto:user-10a840458972@xymon.invalid>> wrote:
Ryan, Your ‘uptime’ command ... xymon-unsubscribe at xymon.com <mailto:xymon-unsubscribe at xymon.com>
- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxMeY8ACgkQmb+gadEcsb4G7QCgh7EpnTDeGtD15pDA2ArVpMW7 BOMAnAqguq+yeNEcsHWWSaKWr7QuuweU =c2qQ -----END PGP SIGNATURE-----