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
DX NetOps Performance Management releases r20.2.5 and newer.
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.
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.