

Absent Member..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-10-31
17:24
130 views
Metric from XML policy - OMi
Hello,
Someone had the chance to use the policy "Metric from XML"?
I developed and application that connect to an API, get the json and parse to XML.
The problem is How to transform this XML into metric in OMi.
My XML example:
<?xml version="1.0" encoding="ibm850"?> <Squid xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <versao>2.0.25</versao> <origem>/opt/sqd/conf/1g/config-sqd-a-5353.properties</origem> <started>2016-10-28 07:22:46.699 UTC</started> <mqHostname>MQTYOS107AT</mqHostname> <mqQueueManager>MQ.SQD.01</mqQueueManager> <mqChannel>CH.SQD.01</mqChannel> <mqPort>1629</mqPort> <mqTransportType>1</mqTransportType> <jettyPort>9191</jettyPort> <jettyThreadPoolSize>30</jettyThreadPoolSize> <jettyBinding>0.0.0.0</jettyBinding> <diretorioFalhas>/tmp/sqd-a</diretorioFalhas> <producers> <Producer> <codigo>541</codigo> <name>integracao.541</name> <endpoint>/NGT/SPP/v2_1/MessageAcceptService.svc</endpoint> <consumer> <codigo>541</codigo> <queueName>QL.PSH.SPP.NGT.MSGACCEPT.01</queueName> <host>ngtapp2.intraservice.corp</host> <port>9191</port> <uri>/Bvmf.NGT/NGT/SPP/v2_1/MessageAcceptService.svc</uri> <name>integracao.541.consumer.541</name> <running>true</running> <attempts>3</attempts> <timeout>60000</timeout> <interval>5000</interval> <threads>1</threads> <maxDepth>10000</maxDepth> <failureStrategy>STOP</failureStrategy> <failureDirectory>/tmp/sqd-a/integracao/541/consumer/541</failureDirectory> <depth>0</depth> </consumer> </Producer> <Producer> <codigo>1234</codigo> <name>integracao.1234</name> <endpoint>/Services/MKK/SPP/MessageDispatcherService/v02_1</endpoint> <consumer> <codigo>1312</codigo> <queueName>QL.REQ.MKK.SPP.MSGDISPAT.01</queueName> <host>smpisodefapp2.intraservice.corp</host> <port>9192</port> <uri>/axis2/services/MessageDispatcherServiceV2_1</uri> <name>integracao.1234.consumer.1312</name> <running>true</running> <attempts>1</attempts> <timeout>3000</timeout> <interval>3000</interval> <threads>1</threads> <maxDepth>10000</maxDepth> <failureStrategy>IGNORE</failureStrategy> <failureDirectory>/tmp/sqd-a/integracao/1234/consumer/1312</failureDirectory> <depth>0</depth> </consumer> </Producer> </producers> </Squid>
1 Reply
James1_1

Micro Focus Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-11-01
05:05
Hi Diego,
I have not played with that myself but I think you can check out our BSM Connector -now OpsBridge Connectors- and find examples there for this.
Regards,
James
HPE Software Support