Skip to Content
author's profile photo Former Member
Former Member

Monitoring BWA

Hi There.

I would like to be able to have access to some of the information available from the standalone TREXAdmin tool without needing to open it. For example, If I want to know % of memory used or how many indexes are loaded I need to open the tool. It would be useful to me if I could run a command to get this information on the command line. Then I would be able to automatically monitor it. Does anyone know if this is possible?

Many Thanks

Steve.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Aug 10, 2010 at 12:44 PM

    Hi Steve,

    yes, it´s possible. There are several solutions:

    1) transaction trexadmin

    2) for memory consumption you could use the tool 'top'

    3) the standalone tool consists of many python scripts, you can use each script without the standalone tool when you know the right syntax and parameters.

    e.g. service load:

    -> go as sidadm to your python_support folder (e.g. /

    e.g.: ./serviceLoad.py --export=/tmp/test.service.load

    exactly usage of the commands:

    Usage: serviceLoad.py

    Options:

    --history=0|1 (0=actual values, 1=historical values; default=0)

    --allHosts=0|1 (0=current host only ;default=1)

    Options for --history=1:

    --timeStamp=timestamp for the begin of the history (default=0)

    (0=all,-1=latest, <-1=last t seconds, else=since timestamp:

    seconds like time_t or YYYYmmddHHMMSS or YYY-mm-dd HH:MM:SS)

    --export=<filename|1> (export history like Admintool->Services->Load to file|stdout)

    --wily=0|1 print latest history value in wily format

    so just create a script that execute this command and trigger this by a job scheduler and send this file via mail to your developers or create the script every hour with the crontab and give samba access to this folder (or send it via email).

    But I don´t know why you want to do this. There are a CCMS monitoring (note 970771) and the email monitoring from the alert server service in the python standalone tool (how to: Technical Operations Manual for SAP NetWeaver BW Accelerator 7.0. ). You just must configure them...

    Please tell me if I misunderstood you.

    Best Regards,

    Jens

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2010 at 12:59 PM

    Thanks Jens, it is the python scripts that I'm most interested in.

    I know most of this will be alerted from CCMS but I also wanted to know if this could be done directly through accessing the scripts that TREXAdmin uses. I will have a play on the dev system. Many thanks for your help.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2010 at 06:24 PM

    Hi,Good Evening all.Can you any one tell me what is Time stamp Error.When will it occur.Give one Example.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      please open a new thread and give us more details for this error, because your error has nothing to do with the current topic. I guess it could be in connection with the time offset, so the reason ist that the blades are out out time synch. So you have to reconfigure the ntp service.

      Where you get this error?

      Regards,

      Jens

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.