ibm-mas / ansible-devops

Ansible collection supporting devops for IBM Maximo Application Suite
https://ibm-mas.github.io/ansible-devops/
Eclipse Public License 2.0
49 stars 89 forks source link

integration manage to monitor (configure the kafka provider and queues in manage) #862

Open Pablofa8 opened 1 year ago

Pablofa8 commented 1 year ago

hello I think it would be a good opportunity to improve to be able to automate the integration of de manage with monitor

andrercm commented 1 year ago

Hi @Pablofa8 thank you for your feedback.

Can you elaborate a bit more on what you'd expect to be added as part of the automation framework? What's the integration you're willing to leverage?

Pablofa8 commented 1 year ago

hello I think it is to share the assets and locations from manage to monitor through data dictionary. you need to configure the kafka provider and queues in manage, maybe that configuration could be automated when manage is deployed if kafka is already deployed

SalaryTheft commented 1 year ago

I'm also having hard time integrating Manage to Monitor. The official documentation is not very detailed and beginner-friendly.

Pablofa8 commented 1 year ago

finally i managed to integrate manage and monitor but not with kafka but with JMS. At the moment I have only managed to share hierarchies, locations and assets. I need to be able to integrate the monitor metrics into the manage meters.

If you want I can explain how I did it.

SalaryTheft commented 1 year ago

@Pablofa8 Yes, please! I'm currently following this article for Maximo Manage - Apache Kafka approach, but I can't get it working.

Pablofa8 commented 1 year ago

first you have to deploy manage with the JMS provider, for example in your ansible variables export MAS_APP_SETTINGS_SERVER_BUNDLES_SIZE='jms'

Normally when you deploy monitor and iot the Data Dictionary is automatically deployed,

So once you have managed configured with locations, assets, and hierarchies, it is necessary for the user running the crontasks to have access to the following object structures: 1 MXAPIORGANIZATION 2 MXAPIMEASUREUNIT 3 MXAPILOCSYSTEM 4 MXAPIOPERLOC 5MXAPILOCATION 6MXAPIASSET 7 MXAPIMETER activates the JMSQSEQCONSUMER crontask

in Internal Systems, search for MASDD: enter the queues corresponding to JMS and activate the system

Bulk Data Export action from the More Actions menu in the External Systems application

With that, the synchronization process begins in a few minutes, the assets and locations will appear on the monitor.

SalaryTheft commented 1 year ago

@Pablofa8 Thanks! After adding standalone JMS bundle to Maximo Manage,I finally managed to get it to work. And as you mentioned earlier, meter/meter synchronization doesn't work.

Pablofa8 commented 1 year ago

Hello, unfortunately I still can't integrate the monitor metrics with the manage meters, if you manage to do it, tell me how to do it.

Pablofa8 commented 3 months ago

Hi @SalaryTheft , were you able to see the readings from the Monitor devices on the Manage meters?