Page 1 of 1

PAW information for PAX

Posted: Wed Jul 08, 2020 11:31 am
by Ganos Lal
Hello

Is it possible to grab information from PAW, espacially database information from Administer tab, and show it in PAX Excel Reports?

Regards,
Jani

Re: PAW information for PAX

Posted: Wed Jul 08, 2020 11:41 am
by scrumthing
You could try using the Planning Analytics Adminstration Agent API to get some of the information.
https://www.ibm.com/support/knowledgece ... l_paa.html

After installing it just call the api (example: https://localhost:9012/pakate-agent/) on the tm1 server in a browser.

Re: PAW information for PAX

Posted: Wed Jul 08, 2020 10:51 pm
by macsir
scrumthing wrote: Wed Jul 08, 2020 11:41 am installing it just call the api (example: https://localhost:9012/pakate-agent/) on the tm1 server in a browser.
I am interested in it. Could you share some more examples? I don't see any official documents to explain that.

Re: PAW information for PAX

Posted: Thu Jul 09, 2020 7:33 am
by scrumthing
macsir wrote: Wed Jul 08, 2020 10:51 pm I am interested in it. Could you share some more examples? I don't see any official documents to explain that.
Sure. But don't expect much. A colleague of mine showed me the api.
First you have to install the PAW Adminsistration Agent which allows PAW to get the information presented in the new administration window.
PAWAA.PNG
PAWAA.PNG (20.79 KiB) Viewed 6095 times
Afterwards I think the api was accessible. If not let me know and I will check for some configuration.
https://localhost:9012/pakate-agent/
PAWAA02.PNG
PAWAA02.PNG (42.2 KiB) Viewed 6095 times
You can do all kind of fancy stuff via that api like creating and restarting and deleting instances and retrieve benchmarks for your instance (i.e. cpu usage, memory).
PAWAA03.PNG
PAWAA03.PNG (5.97 KiB) Viewed 6095 times
You can get logfiles, upload files to the server...
Looks very promising. Let me know if that helped.

Re: PAW information for PAX

Posted: Thu Jul 09, 2020 9:19 am
by David Usherwood
Perhaps Marius would be interested in adding it to TM1PY in his spare time... :)

Re: PAW information for PAX

Posted: Thu Jul 09, 2020 9:52 am
by scrumthing
David Usherwood wrote: Thu Jul 09, 2020 9:19 am Perhaps Marius would be interested in adding it to TM1PY in his spare time... :)
I would support that motion.

Re: PAW information for PAX

Posted: Thu Jul 09, 2020 11:10 am
by lotsaram
I would 3rd it :D

No reason tm1py can't have a module for PAW API

Re: PAW information for PAX

Posted: Thu Jul 09, 2020 11:14 am
by Wim Gielis
With Covid-19, the holidays are different/much closer to home anyway :lol:

Re: PAW information for PAX

Posted: Thu Jul 09, 2020 5:49 pm
by scrumthing
I took the liberty to create an issue over at github for that.
https://github.com/cubewise-code/tm1py/issues/276

Re: PAW information for PAX

Posted: Fri Jul 10, 2020 12:29 am
by macsir
scrumthing wrote: Thu Jul 09, 2020 7:33 am Sure. But don't expect much. A colleague of mine showed me the api.
Thanks for sharing. It would be useful if we can use python.
Marius, are you here and do you hear our voice? Thanks. :D

Re: PAW information for PAX

Posted: Fri Jul 10, 2020 7:31 am
by scrumthing
Hi @scrumthing,

I don't think this is something we would add to TM1Py. We really want to focus on the server REST API and I am not sure accessing the PA agent is documented or officially supported.
Got a response. :-( Seems it is not going to happen.