cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WMI Extension 2.0 to monitor clustered MSMQ

chuan_sern_wong
Advisor

Hello,

How do I add the following clustered network name to the WMI extension?

 

$cluster_network_name = 'msmqDemo'

$env:computername = $cluster_network_name

$env:_Cluster_Network_Hostname_ = $cluster_network_name

$env:_Cluster_Network_Name_ = $cluster_network_name

 

 

4 REPLIES 4

Sujit
Advisor

@chuan_sern_wong Did you find the solution??

 

Thanks,

Sujit Singh

Dynatrace Certified Professional

Yes, I have write a powerscript.ps to run every min as a schedule task which inget the collected MSMQ messages count.. I used the  https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/ingestion-metho...which is simple to work on. The issue is there's a need to set the following env in order to query the clustered MSMQ correctly. Hence, WMI extension is not able to meet this requirement.

 

$env:computername = $cluster_network_name

$env:_Cluster_Network_Hostname_ = $cluster_network_name

$env:_Cluster_Network_Name_ = $cluster_network_name

Are you able to share the powershell script that you are using for this metric collection?

Hi @ben_davidson ,

You can download  Microsoft Message Queuing (MSMQ) extension (V2 WMI) and look into the YAML

We are using the attached V1 extension and it work fine for us.

HTH

Yos 

 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Featured Posts