Xymon Mailing List Archive search

hpux client optimization

5 messages in this thread

list Anatoli Bogajewski · Wed, 03 Aug 2005 15:03:50 +0200 ·
Hi Henrik,
Hi Folks,

thanks for your help prior, at the moment the server seems to be stable on 
hpux. 

Here are some smaller OS related problems with client  i noticed.

Withing [source]/client/Makefile
     3  ifeq ($(OSTYPE),hpux)
     4          EXTRATOOLS=hpux-meminfo
..should be hp-ux i guess. At the moment it remains uncompiled.

Within "hobbitclient-hp-ux.sh" you redirect output of TOP command, but 
this not works. The output looks like
[?25h78System: myserverWed Aug  3 14:18:54 2005

Something like this works for me:
echo "[top]"
top -d 1 -f $BBHOME/tmp/top.OUT
cat $BBHOME/tmp/top.OUT
rm $BBHOME/tmp/top.OUT

Hope it helps.

Greetings,

Anatoli Bogajewski
list Henrik Størner · Wed, 3 Aug 2005 15:28:59 +0200 ·
quoted from Anatoli Bogajewski
On Wed, Aug 03, 2005 at 03:03:50PM +0200, user-4d3800b5a33a@xymon.invalid wrote:
Here are some smaller OS related problems with client  i noticed.

Withing [source]/client/Makefile
     3  ifeq ($(OSTYPE),hpux)
     4          EXTRATOOLS=hpux-meminfo
..should be hp-ux i guess. At the moment it remains uncompiled.

Within "hobbitclient-hp-ux.sh" you redirect output of TOP command, but 
this not works.
Thanks, I've added these fixes here so they'll be in the next snapshot
and release.


Regards,
Henrik
list Michael Nemeth · Wed, 03 Aug 2005 09:35:29 -0400 ·
What other changes have you made to get the client to work?
I think I went a differnt route to get mine to work.;  running the client seppartly and :
MACHINE="`uname -n`"                    # This systems hostname
BBOSTYPE="`uname -s | tr '[A-Z]' '[a-z]' | tr -d '-'`"  # This systems operating system in lowercase
That is filtering out the - sign.

Saw the top problem too.
quoted from Anatoli Bogajewski


user-4d3800b5a33a@xymon.invalid wrote:
Hi Henrik,
Hi Folks,

thanks for your help prior, at the moment the server seems to be stable on hpux. 
Here are some smaller OS related problems with client  i noticed.

Withing [source]/client/Makefile
    3  ifeq ($(OSTYPE),hpux)
    4          EXTRATOOLS=hpux-meminfo
..should be hp-ux i guess. At the moment it remains uncompiled.

Within "hobbitclient-hp-ux.sh" you redirect output of TOP command, but this not works. The output looks like
 [?25h [m [H [2J 7 [1;24r 8System: myserver [38CWed Aug  3 14:18:54 2005

Something like this works for me:
echo "[top]"
top -d 1 -f $BBHOME/tmp/top.OUT
cat $BBHOME/tmp/top.OUT
rm $BBHOME/tmp/top.OUT

Hope it helps.

Greetings,

Anatoli Bogajewski

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

|     _p_       Mike Nemeth
|  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX          |><___________)          |               Home Page:http://www.geocities.com/mjnemeth/
|               Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ |               Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Anatoli Bogajewski · Wed, 03 Aug 2005 16:28:17 +0200 ·
Hm.. i was using the latest snapshot where almost naming problems are fixed.

I was just doing some cosmetical fixes and implement my customtests as my remote client stopped reporting any data. msg.txt is created, anything is fine but server gets no report. 
Give me some time for investigation.. Your clients still not works?


user-609d3fab5b2d@xymon.invalid 03.08.2005 15:35
Bitte antworten an
user-ae9b8668bcde@xymon.invalid


An
user-ae9b8668bcde@xymon.invalid
Kopie

Thema
Re: [hobbit] hpux client optimization
quoted from Michael Nemeth


What other changes have you made to get the client to work?
I think I went a differnt route to get mine to work.;  running the client seppartly and :
MACHINE="`uname -n`"                    # This systems hostname
BBOSTYPE="`uname -s | tr '[A-Z]' '[a-z]' | tr -d '-'`"  # This systems operating system in lowercase
That is filtering out the - sign.

Saw the top problem too.


user-4d3800b5a33a@xymon.invalid wrote:
Hi Henrik,
Hi Folks,

thanks for your help prior, at the moment the server seems to be stable 
on 
hpux. 
Here are some smaller OS related problems with client  i noticed.

Withing [source]/client/Makefile
    3  ifeq ($(OSTYPE),hpux)
    4          EXTRATOOLS=hpux-meminfo
..should be hp-ux i guess. At the moment it remains uncompiled.

Within "hobbitclient-hp-ux.sh" you redirect output of TOP command, but this not works. The output looks like
 [?25h [m [H [2J 7 [1;24r 8System: myserver [38CWed Aug  3 14:18:54 2005

Something like this works for me:
echo "[top]"
top -d 1 -f $BBHOME/tmp/top.OUT
cat $BBHOME/tmp/top.OUT
rm $BBHOME/tmp/top.OUT

Hope it helps.

Greetings,

Anatoli Bogajewski

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth

|  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX  |><___________)          |               Home Page:
http://www.geocities.com/mjnemeth/
|               Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ |               Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Michael Nemeth · Wed, 03 Aug 2005 12:07:56 -0400 ·
Yes does is works!     I just fixed it a differn way !
quoted from Anatoli Bogajewski

user-4d3800b5a33a@xymon.invalid wrote:
Hm.. i was using the latest snapshot where almost naming problems are fixed.

I was just doing some cosmetical fixes and implement my customtests as my remote client stopped reporting any data. msg.txt is created, anything is fine but server gets no report. 
Give me some time for investigation.. Your clients still not works?


user-609d3fab5b2d@xymon.invalid 03.08.2005 15:35
Bitte antworten an
user-ae9b8668bcde@xymon.invalid


An
user-ae9b8668bcde@xymon.invalid
Kopie

Thema
Re: [hobbit] hpux client optimization


What other changes have you made to get the client to work?
I think I went a differnt route to get mine to work.;  running the client seppartly and :
MACHINE="`uname -n`"                    # This systems hostname
BBOSTYPE="`uname -s | tr '[A-Z]' '[a-z]' | tr -d '-'`"  # This systems operating system in lowercase

That is filtering out the - sign.

Saw the top problem too.


user-4d3800b5a33a@xymon.invalid wrote:

 
Hi Henrik,
Hi Folks,

thanks for your help prior, at the moment the server seems to be stable    
on  
hpux. 
Here are some smaller OS related problems with client  i noticed.

Withing [source]/client/Makefile
   3  ifeq ($(OSTYPE),hpux)
   4          EXTRATOOLS=hpux-meminfo
..should be hp-ux i guess. At the moment it remains uncompiled.

Within "hobbitclient-hp-ux.sh" you redirect output of TOP command, but this not works. The output looks like
 [?25h [m [H [2J 7 [1;24r 8System: myserver [38CWed Aug  3 14:18:54 2005

Something like this works for me:
echo "[top]"
top -d 1 -f $BBHOME/tmp/top.OUT
cat $BBHOME/tmp/top.OUT
rm $BBHOME/tmp/top.OUT

Hope it helps.

Greetings,

Anatoli Bogajewski

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth
|  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX          |><___________)          |               Home Page:http://www.geocities.com/mjnemeth/
|               Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ |               Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++