In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
MSMQ, the full name of MicroSoft Message Queue, Microsoft message queue, is an asynchronous transmission mode that communicates with each other among different applications. The applications that communicate with each other can be distributed on the same machine or in any location in the connected network space. Its implementation principle is: the sender of the message puts the information he wants to send into a container (we call it Message), and then saves it to a message queue (Message Queue) in the public space of the system; the local or remote message receiver program then takes out the message sent to it from the queue for processing.
Zabbix claims that everything can be monitored, and compared with the basic performance of other Windows environments, the data reading of msmq can also be obtained by perf.
Add Items. The key value is the total number of messages in the current queue with perf_ counter[\ MSMQ Service\ Total messages in all queues]. To obtain other relevant parameter values, you can query and add them through the Windows performance counter.
When we need to read each queue and the number of messages in the private queue, we can use the discover rule to find that the zabbix agent profile adds parameters
UserParameter=orgmsmq.discovery,powershell-NoProfile-ExecutionPolicy Bypass-File "C:\ zabbix_agents\ scripts\ get_queues.ps1"
UserParameter=orgmsmq.messagecount [*], powershell-NoProfile-ExecutionPolicy Bypass-File C:\ zabbix_agents\ scripts\ get_queuemessagecount.ps1 "$1"
The above scripts only support windows2012 and above!
Link: https://pan.baidu.com/s/1cECIm0A0OFsIvmrotHBDwg extraction code: hcnq
Include (scripts and templates)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.