简体   繁体   English

如何在Azure Portal中从我的Linux VM获取指标

[英]How to get metrics from my Linux VM in Azure Portal

I'm trying to get computer metrics like RAM, Left space, cpu usage and etc, but this ins't working. 我正在尝试获取RAM,剩余空间,CPU使用率等计算机指标,但这无法正常工作。 I'm using so RH 7.5 and the agent is installed, also my vm is recognized in azure portal. 我正在使用RH 7.5,并且已安装代理,并且在Azure门户中也可以识别我的VM。

Others VMs are working fine. 其他虚拟机运行正常。

PS I'd already install Agent to pick this metrics and logs. PS我已经安装了Agent以选择此指标和日志。

After installing the agent you have to enable the diagnostics extension to get OS level metrics. 安装代理后,您必须启用诊断扩展才能获取操作系统级别指标。

https://docs.microsoft.com/en-us/azure/cost-management/azure-vm-extended-metrics https://docs.microsoft.com/en-us/azure/cost-management/azure-vm-extended-metrics

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

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