Nagios Exchange Plugins via WMI

Hi,

Is there a way that we can query “Aggregate Delivery Queue Length (All Queues)” to Exchange servers from the Nagios box via WMI?

Similar to this query?

usr/local/bin/wmic --namespace=‘root\CIMV2’ --authentication-file=/etc/cacti/cactiwmi.pw //server.domain.com “SELECT PercentProcessorTime FROM Win32_PerfFormattedData_PerfOS_Processor”

Thanks!

-Michael

I’ve had good luck with Nagios-WSC which allows WMI queries to be used to create custom checks. I put together a check that monitors for stuck messages in my queues a couple weeks ago. See the project homepage at sourceforge.net/projects/nagios-wsc/

Please be aware that this project is like Nagios itself - it’s powerful but a bit of a pain in the butt for initial configuration. If you decide to go this route I’ll lend what help I can.