UCMDB and UD Practitioners Forum (Previously CMS)
Showing results for 
Search instead for 
Do you mean 

OMi: EPI Groovy Script

Frequent Advisor

OMi: EPI Groovy Script

[ Edited ]

Hi all,
setting an EPI script after CI resolution... can I query CI attributes and than modify event with some of these values? If yes, could you give me an example?




P.S. This thread has been moved from Application Perf Mgmt (BAC / BSM) Support and News Forum to CMS and Discovery Support and News Forum. - Hp Forum Moderator

Honored Contributor Honored Contributor

Re: OMi: EPI Groovy Script


The only problem here is to get the related CI attributes. update the event is fully documented in the examples (HPBSM\opr\examples\epi-scripts)

From a quick look at the API (/opr/api/doc/opr-external-api-javadoc.zip), it looks like you can get the related CI Id and related CI type, but not the attribute.

one option here is to use the UCMDB API from the groovy script, and get the CI properties by its ID and Type. this will work, but may cause performance issues if you will go to the UCMDB for each event.