You are here:

ActiveXperts.com > Support > Knowledge base > Network Monitor > Monitoring MSMQ
Activexperts Support Pages
ActiveXperts Support Pages


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:

  1. Check the Services applet on the monitoring server and monitored server to verify that the WMI services are indeed running.
  2. 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.

  1. Try to query the Message Queue counter on the monitoring machine:
    WMIC /node:localhost PATH Win32_PerfRawData_MSMQ_MSMQQueue GET Name, MessagesInQueue

  2. Use the same command from a console window on the monitored server:
    WMIC /node:localhost PATH Win32_PerfRawData_MSMQ_MSMQQueue GET Name, MessagesInQueue

  3. 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

(viewed: 492)