AIOps

 View Only

CP4AIOPS MustGather - No sweat way to connect to various CP4AIOps datastores

By Daniel Yeap posted Tue July 30, 2024 09:00 PM

  

CP4AIOps MustGather tool came with a "VIEW-ONLY" mode, that was designed to execute repetitive ad-hoc tasks that do not constitute a data collection.

If you execute command "waiops-mustgather.sh -V .listviews", you will see a list of available view-only modules:


In this blog, let's explore how you can use the "VIEW-ONLY" mode to get connected to the various datastores in CP4AIOps.

Due to the fact that CP4AIOps MustGather is "product version aware", all the commands will return connection commands that are specific to the CP4AIOps version detected on site. All connection details are harvested during runtime and not hardcoded. The user only need to "copy and paste" the commands to get connected to the datastores.

NOTE: The connection templates normally return 2 sections:
(a) [SCRIPT TEMPLATE] You can use the codes provided in your own script.
(b) [DIRECT COMMAND EXECUTION] You can use the commands directly on a terminal/shell.



(1) Kafka
COMMAND: waiops-mustgather.sh -V kafka-conn-template


(2) ElasticSearch
COMMAND: waiops-mustgather.sh -V elasticsearch-conn-template


(3) Cassandra
COMMAND: waiops-mustgather.sh -V cassandra-conn-template


(4) Flink
COMMAND
: waiops-mustgather.sh -V flink-conn-template



(5) Postgres
COMMAND:
waiops-mustgather.sh -V postgres-conn-template



There you go! A fast and painless way to get connected to the various CP4AIOps datastores!

0 comments
11 views

Permalink