Hi
I am creating an APM template and I want to add a WMI monitor to query an SMTP server as to how big the delivery queue is. I have written a WMI query but am having problems with it, The query looks at performance counters on the target server (Performance object = SMTPSS, counter Checked messages count) and gets a value as to how many e-mails are waiting to get processed.
I have written the following query but it keeps failing with the error "Invalid WMI Query" Any ideas what I am doing wrong?? I believe the problem is something to do with the spaces in Checked messages count ??
Select Checked messages count From Win32_PerfFormattedData_SMTPSS
Thanks