Verify OME Telemetry Flow ============================================== Verify OME Telemetry Data in Kafka ----------------------------------- To verify that OME telemetry data is being successfully published to the OME Kafka topics, do the following: .. note:: Ensure that the nodes are discovered in OpenManage Enterprise before configuring telemetry streaming. 1. Log in to Service Kubernetes Control plane. 2. Set the required variables using the following command:: KAFKA_LB_IP= TOPIC= GROUP=ome-consumer-group INSTANCE=ome-consumer 3. Create a kafka consumer using the following command:: curl -s -X POST "http://$KAFKA_LB_IP:8080/consumers/$GROUP" \ -H 'content-type: application/vnd.kafka.v2+json' \ -d '{"name": "ome-consumer", "format": "json", "auto.offset.reset": "earliest"}' 3. To view the list of OME Kafka topics configured, use the following command:: curl -s -X GET "http://$KAFKA_LB_IP:8080/topics" | jq '.' 4. Subscribe the consumer to the telemetry topic using the following command:: curl -s -X POST "http://$KAFKA_LB_IP:8080/consumers/$GROUP/instances/$INSTANCE/subscription" \ -H 'content-type: application/vnd.kafka.v2+json' \ -d '{"topics": ["'"$TOPIC'""]}' 5. Consume messages from the topic using the following command:: while true; do curl -s -X GET "http://$KAFKA_LB_IP:8080/consumers/$GROUP/instances/$INSTANCE/records" \ -H 'accept: application/vnd.kafka.json.v2+json' | jq '.' sleep 2 done 6. (Optional) Cleanup the consumer using the following command:: curl -s -X DELETE "http://$KAFKA_LB_IP:8080/consumers/$GROUP/instances/$INSTANCE" .. note:: * **From beginning**: Ensure ``"auto.offset.reset": "earliest"`` when creating the consumer if you want existing data. * **Message format**: Use ``"format": "json"`` only if producers publish JSON. Otherwise use ``"binary"`` and decode base64 payloads. * **Throughput**: Adjust polling interval; bridge returns empty array when no new records. * **404/409 errors**: 404 usually means wrong group/instance name; 409 means already subscribed. Verify OME Telemetry Data in VictoriaMetrics --------------------------------------------- To verify that OME telemetry data is being successfully routed from Kafka to VictoriaMetrics using Vector, do the following: 1. Access the VMUI in a web browser using:: https://:8481/select/0/vmui 2. Navigate to the **Explore** tab. 3. Run the following queriy to retrieve health metrics from OME: * ``last_over_time({source_subsystem="ome", type="healty"}[24h])`` .. image:: ../../../images/external_kafka_ome_metrics_health.png .. note:: Note that ``source_subsystem=ome`` is coming from the ``ome_identifier`` that the user has given in the ``telemetry_config.yml`` input file and the suffix after the dot (i.e., health, inventory, auditlogs) is coming from OME. 4. Verify that OME-related metrics are displayed in the results. .. note:: Ensure that the Vector-OME bridge is enabled in ``telemetry_config.yml`` (``telemetry_bridges > vector_ome > metrics_enabled: true``) for metrics data to flow from Kafka to VictoriaMetrics. Verify OME Telemetry Data in VictoriaLogs ------------------------------------------ To verify that OME telemetry data is being successfully routed from Kafka to VictoriaLogs using Vector, do the following: 1. Access the VictoriaLogs UI in a web browser using:: https://:9471/select/vmui 2. Navigate to the **Select** tab. 3. In the query field, run the following query to filter for OME logs: * ``_msg_topic:ome.auditlogs`` .. image:: ../../../images/external_kafka_ome_logs_audit.png 4. Verify that OME-related logs are displayed in the results. .. note:: Ensure that the Vector-OME bridge is enabled in ``telemetry_config.yml`` (``telemetry_bridges > vector_ome > logs_enabled: true``) for logs data to flow from Kafka to VictoriaLogs.