ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

When starting Data Aggregator or Data Collector or running activemqstat, it returns "Authentication failed" error


Article ID: 208221


Updated On:


CA Performance Management - Usage and Administration DX NetOps


In the DX NetOps Performance Management Data Aggregator scripts directory there is an activemqstat command.

It's found in (default path) /opt/IMDataAggregator/scripts.

When running it an error is returned about an invalid username or password.

INFO: Failed to execute dstat task.

ERROR: java.lang.SecurityException: Authentication failed! Invalid username or password

java.lang.SecurityException: Authentication failed! Invalid username or password



Starting with the r20.2.5 DX NetOps Performance Management release, the ActiveMQ admin password was changed from the default to a new custom password.

This password was not updated in the activemqstat script. It still uses the old default password which now fails.


DX NetOps Performance Management releases r20.2.5 and newer.


This has been addressed with engineering via defect ID DE493225. A permanent fix is included in the r20.2.8 release. Upgrade to that release or a newer one if available for a permanent fix.

To resolve this in older releases until able to upgrade make the following change to the activemq script.

The current line in the script to edit is:

$AMQ_HOME/bin/activemq dstat --jmxurl service:jmx:rmi:///jndi/rmi://$host:11099/jmxrmi --jmxuser admin --jmxpassword DXN3t0ps | grep -vE "Advisory|Rollup"

Change the line, replacing the 'DXN3t0ps' reference with 'activemq'. The new line should look like this:

$AMQ_HOME/bin/activemq dstat --jmxurl service:jmx:rmi:///jndi/rmi://$host:11099/jmxrmi --jmxuser admin --jmxpassword activemq | grep -vE "Advisory|Rollup"

After saving the script with the change the command should no longer return an error about invalid username or password.