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

 

 

2 REPLIES 2

Sujit
Helper

@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