Xymon Mailing List Archive search

Client trends for CPU and Users/procs broken?!

5 messages in this thread

list Peter Welter · Wed, 17 Aug 2005 05:12:13 +0200 ·
Hello all,

I installed Hobbit 4.1.1 and try to use the client and I'm surprised
to see that the CPU test contains top-output but the corresponding
graph/trend is not updated anymore!? This is also true for the users
and processes trend.

The top of the output on the screen says:

 wo aug 17 05:08:36 CEST 2005 , 1 users, 105 procs, load=

But the Client Data available says:

[top]
top - 05:08:36 up 65 days,  7:32,  1 user,  load average: 0.00, 0.03, 0.05
Tasks: 104 total,   1 running, 103 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.7% us,  0.5% sy,  1.9% ni, 95.9% id,  0.9% wa,  0.0% hi,  0.0% si
Mem:    191116k total,   187516k used,     3600k free,    10764k buffers
Swap:  5968108k total,   290416k used,  5677692k free,    37220k cached
...

regards, Peter
list Henrik Størner · Wed, 17 Aug 2005 07:39:48 +0200 ·
quoted from Peter Welter
On Wed, Aug 17, 2005 at 05:12:13AM +0200, Peter Welter wrote:
Hello all,

I installed Hobbit 4.1.1 and try to use the client and I'm surprised
to see that the CPU test contains top-output but the corresponding
graph/trend is not updated anymore!? This is also true for the users
and processes trend.

The top of the output on the screen says:

 wo aug 17 05:08:36 CEST 2005 , 1 users, 105 procs, load=

But the Client Data available says:

[top]
What's in the "[uptime]" section of the client data ? And what kind of
system is this on ?

The [top] output isn't really used for data-collection, it's just an
informational add-on to the cpu status.


Regards,
Henrik
list Peter Welter · Wed, 17 Aug 2005 08:05:25 +0200 ·
What's in the "[uptime]" section of the client data ?
[uptime]
  7:59am  levend 65 days 10:22,  1 user,  belastingsgemiddelde: 0,02, 0,01, 0,00
And what kind of system is this on ?
Linux SLES9 (Suse Linux Enterprise). Perhaps the following is helpful:

[uname]
Linux linux 2.6.5-7.155.29-default #1 Thu Jun 2 12:07:05 UTC 2005 i686
athlon i386 GNU/Linux

Regards,
Peter
list Henrik Størner · Wed, 17 Aug 2005 10:14:32 +0200 ·
quoted from Peter Welter
On Wed, Aug 17, 2005 at 08:05:25AM +0200, Peter Welter wrote:
What's in the "[uptime]" section of the client data ?
[uptime]
  7:59am  levend 65 days 10:22,  1 user,  belastingsgemiddelde: 0,02, 0,01, 0,00
"levend" and "belastingsgemiddelde" ... not the usual keywords for 
an uptime-output. At least, not what Hobbit expects to see.

I'll bet it works if you make Hobbit use the "C" locale.
Add 
   export LANG=C
to the top of the hobbitclient-linux.sh script (on the client).


Regards,
Henrik
list Peter Welter · Wed, 17 Aug 2005 10:41:00 +0200 ·
:-)

the test-box was installed using the dutch language. I did not think
that these keywords were checked.

Thanks,
Peter

2005/8/17, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>:
quoted from Peter Welter
On Wed, Aug 17, 2005 at 08:05:25AM +0200, Peter Welter wrote:
What's in the "[uptime]" section of the client data ?
[uptime]
  7:59am  levend 65 days 10:22,  1 user,  belastingsgemiddelde: 0,02, 0,01, 0,00
"levend" and "belastingsgemiddelde" ... not the usual keywords for
an uptime-output. At least, not what Hobbit expects to see.

I'll bet it works if you make Hobbit use the "C" locale.
Add
   export LANG=C
to the top of the hobbitclient-linux.sh script (on the client).


Regards,
Henrik