Knowledge Base FAQ Item #6940010
Q6940010: I'm having problems monitoring a Microsoft Message Queue usage on a remote Windows server. How can I troubleshoot?
ActiveXperts uses WMI (Windows Management Instrumentation) to collect data about (remote) Windows computers.
WMI is part of Windows operating systems and installed by default.
Please check out the following:
- Check the Services applet on the monitoring server and monitored server to verify that the WMI services are indeed running.
- Make sure that firewall settings are not prevent you from accessing the remote computer through WMI.
Windows ships with the WMIC command line utility ('Windows Management Instrumentation Command-line'). Use this utility to make sure you can query a (remote) computer using WMI and see if the specific WMI counter is installed. In addition, use alternate credentials if permissions do not suffice.
- Try to query the Message Queue counter on the monitoring machine:
WMIC /node:localhost PATH Win32_PerfRawData_MSMQ_MSMQQueue GET Name, MessagesInQueue
- Use the same command from a console window on the monitored server:
WMIC /node:localhost PATH Win32_PerfRawData_MSMQ_MSMQQueue GET Name, MessagesInQueue
-
Finally, run the command from the monitoring server to check the Message Queue on the monitored server:
WMIC /node:remote-computer /user:user /password:password PATH Win32_PerfRawData_MSMQ_MSMQQueue GET Name, MessagesInQueue