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

Feedback WMI monitoring extension

chuan_sern_wong
Advisor

How does one wmi query clustered MSMQ Message Count ?

2 REPLIES 2

Mike_L
Dynatrace Champion
Dynatrace Champion

Looking around a bit I'm not sure you can get that from a single WMI query. I think the closest you'll get is to query each queue manager and show it in a dashboard.

I don't think so as WMI schema doesn't seem to support anything that's would allow one to do so. Currently, I have to write a powershell script which schedule to run every minute which POST data into metric ingest api.   

 

wmi:
- group: WMIClasses
featureSet: basic
interval: 1m
wmiNamespace: root\cimv2
query: Select * From Win32_PerfRawData_MSMQ_MSMQQueue
dimensions:
- key: aero.sita.ext.msmq.queue.name
value: column:Name
metrics:
- key: MessagesinQueue
value: column:MessagesinQueue
type: gauge