Here is the manual wmic query:

wmic --namespace='root\MicrosoftExchangeV2' -U domain/username //exchangeserver 
"SELECT MessageCount From Exchange_SMTPQueue Where QueueName='LocalAsyncQueue'"

You also may need to adjust the "11" in the line:

RESULT=`echo $RAW | cut -d \| -f 11`

to fit the result (3?).




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=12885#12885

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to