In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
In common monitoring scenarios, in addition to monitoring server performance and service health, we also need to monitor the health of certain processes. In Azure Monitor, we can treat process IDs as performance counters to monitor process health.
Each process writes a number of values to the performance counters. Azure Monitor does not collect these values by default, but we can easily see them in Windows Performance:
Configure collection process data
We can configure Azure Monitor to monitor processes as performance counters, using notepad as an example:
In the Log Analytics workspace, click "Advanced settings"--"Data"--"Windows Performance Counters" and add "Process[notepad]\ID Process":
View collected data
Once configured, we can query notepad's process ID using the following query: If the Notepad program is not running, there is no data. If Alert needs to be set, alert rules can be configured to generate alerts when zero results are returned within the last X minutes.
Perf| where InstanceName == "notepad"| extend localTimestamp = TimeGenerated + 8h| where TimeGenerated > ago(5m)| project TimeGenerated , CounterValue, InstanceName| order by TimeGenerated desc
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.