简体   繁体   English

适用于Prem Server的Azure Log Analytics软件清单

[英]Azure Log Analytics Software inventory for on Prem Servers

I'm trying to follow the below Article(s) to configure Azure Log Analytics for on prem servers as well as Azure servers to get a list of installed software. 我正在尝试按照下面的文章在高端服务器以及Azure服务器上配置Azure Log Analytics,以获取已安装软件的列表。

It works well on Azure VMs but not on non-Azure VMs. 它在Azure VM上运行良好,但在非Azure VM上却无法正常运行。 All servers are successfully sending Heartbeats but only the Azure VMs are showing a list of installed Software when running the below query: 所有服务器都成功发送了心跳信号,但是在运行以下查询时,只有Azure VM显示了已安装软件的列表:

ConfigurationData | 配置数据| summarize arg_max(TimeGenerated, *) by SoftwareName, Computer | 总结arg_max(TimeGenerated,*)通过SoftwareName,计算机| where ConfigDataType == "Software" | 其中ConfigDataType ==“软件” | summarize count() by Computer 通过计算机总结count()

ref: https://docs.microsoft.com/en-us/azure/automation/automation-tutorial-installed-software 参考: https : //docs.microsoft.com/zh-cn/azure/automation/automation-tutorial-installed-software

https://docs.microsoft.com/en-us/azure/log-analytics/ https://docs.microsoft.com/zh-cn/azure/log-analytics/

Anyone knows how to get the On-Prem to show a list of installed Software? 任何人都知道如何获取本地以显示已安装软件的列表吗?

Ok, I've found the solution!! 好的,我找到了解决方案!

For azure its being done automatically but for non azure we need to go manually in our automation account and check on "Enable Inventory" and here we have 3 options (see my screen shots). 对于天蓝色,它是自动完成的,但对于非天蓝色,我们需要在自动化帐户中手动进行,然后选中“启用库存”,这里有3个选项(请参阅我的屏幕截图)。

From Home --> Automation Accounts --> Automate-%ID%-WEU --> Inventory 从首页->自动化帐户->自​​动化-%ID%-WEU->库存

在此处输入图片说明

在此处输入图片说明

may be useful for the Documentation as its a must for non-azure vms 对于文档来说可能是有用的,因为对于非天蓝色的vm来说这是必须的

ref: https://docs.microsoft.com/en-us/azure/automation/automation-tutorial-installed-software 参考: https : //docs.microsoft.com/zh-cn/azure/automation/automation-tutorial-installed-software

CHECK MY COMMENTS AT THE BOTTOM 在底部查看我的评论

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

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