由于权限不足,Application Insight Monitor无法将数据发送到门户 [英] Application insight monitor doesn't send data to portal due to insufficient permission

查看:109
本文介绍了由于权限不足,Application Insight Monitor无法将数据发送到门户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IIS上安装了应用程序洞察状态监视器,但是在Azure门户上仍然没有服务器数据,并且在监视器中,我的应用程序收到以下警告消息.

I installed the application insight status monitor on IIS, however I still don't have server data on the azure portal, and in the monitor I got the following warning message on my app.

在应用程序池"XXX"下运行的应用程序XXX可能没有足够的权限来收集性能数据.如果在门户中看不到性能计数器数据,请确保运行该应用程序的安全主体是性能监视器用户组".

"The application XXX running under application pool 'XXX' might have insufficient permissions to collect performance data. If no performance counter data is visible in the portal, make sure that the security principal under which the application runs is a member of 'Performance Monitor Users' group".

在哪里可以设置我的应用程序的安全主体?谢谢!

Where can I set up the security principal of my app? Thanks!

推荐答案

问题是您的应用程序池所运行的身份无法访问监视和收集性能计数器数据.要解决此问题,您可以执行以下操作:

The problem is that the identity under which your Application Pool is running doesn't have access to monitoring and collecting performance counter data. To fix this, you could do the following:

  1. 确定IIS中应用程序池的身份
    • 使用运行"打开inetmgr或直接从Windows启动IIS
    • 点击应用程序池,然后检查运行您的应用程序的应用程序池的身份.
    • 或者,您可以导航到该应用程序,单击基本设置"或高级设置",然后检查应用程序池"
    • 可以将应用程序池标识设置为内置标识,例如LocalServer,LocalSystem等或自定义帐户.
  1. Determine the identity of the Application Pool in IIS
    • Open inetmgr using Run or directly launch IIS from Windows
    • Click on Application Pools and check the identity for the app pool running your app.
    • Alternatively you could navigate to the application, click on Basic or Advanced Settings and check the Application Pool
    • The application pool identity might be set to a built-in one, such as LocalServer, LocalSystem etc. or a custom account.
  • 打开用户和组或直接从运行启动lusrmgr.msc
  • 导航到组->性能监视器用户
  • 添加应用程序池的标识(来自上一步)

现在,您的应用程序应该能够收集性能计数器,并且还可以毫无问题地发送给AI.

Now your app should be able to collect performance counters and also send to AI without any problems.

希望这会有所帮助!

这篇关于由于权限不足,Application Insight Monitor无法将数据发送到门户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆