After OI Connector upgrade no metrics from NetOps are seen in OI
search cancel

After OI Connector upgrade no metrics from NetOps are seen in OI

book

Article ID: 235474

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

We upgraded our PM env today to 21.2.8 and OI connector 2.1.6.

We are not seeing any metrics in DX NetOps Performance views in OI.

We see that the kafka host references use localhost instead of the hosts IP or FQHN. This is seen for messages targeting the kafka port 9092 in the OIConnector.log file.

Environment

All supported DX NetOps Performance Management releases

Cause

Kafka configuration files were not backed up and updated post upgrade.

Resolution

Edit the (default path) the /opt/CA/kafka/kafkadist/config/server.properties file.

Uncomment the commented out advertised.listeners line. Set it to a specific FQHN to get around the default use of localhost.

Kafka should read the change after it's restarted using a "service kafka stop" and "service kafka start" commands.

Default entry will appear as follows in the server.properties file.

# Hostname and port the broker will advertise to producers and consumers. If not set,
# it uses the value for "listeners" if configured. Otherwise, it will use the value
# returned from java.net.InetAddress.getCanonicalHostName()).
# advertised.listeners=PLAINTEXT://your.host.name:9092

Sample custom entry will appear as follows after editing. Sample uses FQHN sample OIConnectorHost.broadcom.com as a reference.

# Hostname and port the broker will advertise to producers and consumers. If not set,
# it uses the value for "listeners" if configured. Otherwise, it will use the value
# returned from java.net.InetAddress.getCanonicalHostName()).
advertised.listeners=PLAINTEXT://OIConnectorHost.broadcom.com:9092