How to trigger Baseline?

(imported topic written by sampathkvl)

Hello

Wrote couple of TEM baselines. Want to activate these baselines from third party products. Want to check whether there is any way to perform these activities.

Pls share me customer references incase this is acheivable.

regards

sampath

(imported comment written by Tim.Rice)

I believe you would need to look into using the REST API’s to perform actions in IEM/TEM/BigFix from outside the products Console.

There are several discussions in this forum that discuss submitting Actions via the Rest API’s.

Documentation on the REST APIs :
https://www.ibm.com/developerworks/community/wikis/home?lang=en#/wiki/Tivoli%20Endpoint%20Manager/page/REST%20API

(imported comment written by liuhoting)

Also don’t forget that everything’s a fixlet in Bigfix, so even though the REST API stuff talks a lot about taking an action on fixlets, I think you can use the same principle to take an action on baselines.

See this post here:

https://www.ibm.com/developerworks/community/forums/html/topic?id=f9994bb6-83f7-4229-91cb-346da3e0b212

(imported comment written by sampathkvl)

Hello

Thank you very much for reply. Let me take a very simple point.

a. There are exisiting fixlets at TEMs.

b. Want to trigger fixlets from third party products using TEM baselines.

My understanding is that using REST API calls it is possible to trigger TEM baselines. Would anyone share what are the limitation performing this solution method ?

last but not least do this solution method was been performed for any customer ?

thanks in advance.

A baseline is a set of fixlets and running these one by one can be time consuming. So provide the baseline id in the run action envelope:

<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd">
<SourcedFixletAction>
<SourceFixlet>
<Sitename>TestSite</Sitename>
<TaskID>BASELINEID</TaskID>
<Action>Action1</Action>
</SourceFixlet>
<Target>
<ComputerName></ComputerName>
</Target>
<Parameter Name="_BESClient_EMsg_Detail">1000</Parameter>
</SourcedFixletAction>
</BES>

And yes you are not the only one doing this. I am building the same scenario at the moment from a third party product. It will use rest to deploy fixlets / tasks./ baselines and it works great.

The difference between running it from the console is that you can’t see the status as you see in the console.

You can also retrieve the status with rest if you need it with: action/{action id}/status