question

Bill S. avatar image
Bill S. asked ·

MQ Broker Agent name is not correct

dynatrace-agent-mq-broker-configuration.pptxI noticed after upgrading the agent bootstrap for MQ Broker that the environment variable for DT_AGENTNAME is not the same as what is presented when the agent starts. According to the documentation, if this environment variable isn't set, then WebSphere_MQ is set as the default. Well, the variable is set (as shown in the attached document)! Is this something that changed when I upgraded the agent bootstrap? Will this result be the same in version 7?

6.5messagebroker
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Christian S. avatar image
Christian S. answered ·

hi Bill,

as of your powerpoint, you did not export the DT_AGENTNAME variable, so it's only available in the current shell process and none of the subprocesses (like, e.g. the WSMB/IIB processes).

please try to export the variable and let us know if that helped.

HTH, Christian

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Bill S. avatar image
Bill S. answered ·

Thanks. :) I was either going to do that or post here.

Bill

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Bill S. avatar image
Bill S. answered ·

I understand. I wanted the versions to be the same.

In the attached document from my original posting, the screenshots are AFTER the installation, and AFTER I configured dtwsmbagent with the correct settings. After all the configurations were complete, I restarted broker.

I executed the commands for to instrument on specific execution groups.

mqsichangebroker <broker> [-x <path to libdtagent.lel>]

mqsichangeflowuserexits <broker> -e <ExecutionGroup> -a dtwsmbagent"

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Your taken steps are correct. I guess you should open a support case to understand this behavior.

0 Likes 0 · ·
Babar Q. avatar image
Babar Q. answered ·

Hello Bill,

Basically bootstrap version of 6.2 & 6.3 are compatible with the 6.5 agents and there was no need to upgrade the bootstrap agents.

Now you installed a new agent, therefore, it took the default settings of DT_AGENTNAME, so you will have to modify again your settings which you already done beand restart the broker to take effect.

Regards,

Babar

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Bill S. avatar image
Bill S. answered ·

I updated the agent...

java -jar dynatrace-agent-6.5.0.1289-unix.jar

We were on a bootstrap version 6.2 or 6.3 with a version of 6.5.15.1019.

I'm trying to understand why there's a discrepancy.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Babar Q. avatar image
Babar Q. answered ·

Hello Bill,

How did you upgrade the bootstrap agent?

Can you please explain a bit more?

Regards,

Babar

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.