简体   繁体   English

MSMQ监控

[英]MSMQ monitoring

Is there anything which can help with msmq monitoring? 有什么可以帮助监控msmq的东西吗? I'd like to get some event/monit when a message appears in queue and the same on leave. 当消息出现在队列中而休假时,我想获取一些事件/监视。

Check out the Windows Management Performance counters. 查看Windows管理性能计数器。

If you look in your Administrative Tools and find "Performance Counters", you will be able to dig through there and find detailed metrics on what is happening on each message queue. 如果您在管理工具中查找并找到“性能计数器”,则可以在其中进行挖掘并找到有关每个消息队列上发生的情况的详细度量。 This can also work for remote servers. 这也可以用于远程服务器。

Should you wish to create some sort of automation around the monitoring, check out the .NET libraries for reading these performance counters. 如果您希望围绕监视创建某种自动化,请查看.NET库以读取这些性能计数器。 There is a very rich and comprehensive API which should give you everything you need! 有一个非常丰富而全面的API,它应该为您提供所需的一切!

您可以通过使用MSMQ触发器来实现

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM