远程处理到 perfmon 的问题

发布于 2024-10-26 06:44:25 字数 404 浏览 0 评论 0原文

嘿大家, 我在开发环境中的十五个系统中,有一个遇到了 PerfMon 问题。从本地计算机访问它没问题,但远程连接到它会引发“无法连接”错误。

每台机器都运行 Win 2003,连接到同一个域,并且我对所有机器都拥有管理员权限。

有一些服务设置为禁用,通常默认情况下启用,因此我将这些服务设置为与网络上的其他计算机相匹配 - 仍然存在相同的问题。

有什么想法吗?

干杯

**更新**

好的 - 我发现是远程注册表服务未正确运行导致上述错误;启用后,Perfmon 现在告诉我“不支持此类接口”。

如果我通过计算机管理连接,第一次会失败,但第二次尝试会成功。通过 perfmon 连接每次都会失败。

Hey all,
I'm having trouble with PerfMon on one system out of fifteen in a development environment. Accessing it from the local machine is fine but connecting to it remotely throws a "Cannot connect" error.

Each machine is running Win 2003, is connected to the same domain and I have admin rights to all.

There were some services set to disabled which are normally enabled by default so I've set these to match the other machines on the network - still have the same problem.

Any ideas?

Cheers

**Update**

Ok - I found it was the remote registry service not running correctly causing the above error; Once that was enabled Perfmon is now telling me "No such interface supported".

If I connect through Computer Management, it fails the first time, but the second attempt is successful. Connecting through perfmon fails everytime.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

夏夜暖风 2024-11-02 06:44:25

已修复 - 对于遇到此问题的任何人,希望这可以帮助您。

启用远程注册表解决了我的第一个问题。

第二个问题“不支持此类接口”原来是注册表中的权限问题。显然,这台机器很久以前就为特定的注册表项设置了一些相当模糊的权限,但现在这些权限已经无关紧要了。

使用 secedit 重置权限修复了这个问题 -

secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

现在可以远程访问 Perfmon 计数器。

Fixed - for anyone that runs into this issue, hopefully this can help you..

Enabling Remote Registry fixed my first problem.

The second issue, "No such interface supported" turned out to be permissions issues within the registry. Apparently the machine had some pretty obscure permissions set to specific registry keys a long time ago, which are now irrelevant.

Resetting permissions with secedit fixed it up -

secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

Perfmon counters are now accessible remotely.

马蹄踏│碎落叶 2024-11-02 06:44:25

当尝试在性能监视器中“连接到另一台计算机”时,我们遇到了第二个问题 - “不支持此类接口”。

所有规则和服务都在运行。

我们发现以下内容:

  • 如果用户被添加到本地管理组,他们就能够连接到另一台计算机(无论属于性能监视器组)。
  • 如果用户不是本地管理员并且不在性能监视器组中 - 我们无法通过“连接到另一台计算机”上下文菜单连接到另一台计算机。
    • 但是我们能够添加性能计数器。在性能监视器中,当您添加计数器时,有一个选项“从计算机选择计数器”。我们能够通过这种方式连接到远程计算机上的计数器。另请注意,如果您计划收集数据,则需要设置正确的凭据(默认情况下它似乎在本地系统用户下运行)。

We encountered the second issue - "No such interface supported" when attempting to "Connect to another computer" in Performance monitor.

All the rules and services are running.

We found the following:

  • If the user was added to the local admin group, they were able to connect to another computer (irrespective of belonging to the Performance Monitor group).
  • If the user was not a local admin and in the performance monitor group - we were unable to connect to another computer via the "Connect to another computer" context menu.
    • But we were able to add the performance counters. In Performance monitor when you add a counter there is an option to "Select counters from computer". We were able to connect to the counters on the remote machine this way. Also note that if you are planning on data collecting, you would need to set the correct credentials (by default it appears to run under a local system user).
渡你暖光 2024-11-02 06:44:25

我按如下方式修复了我的情况:

  • 从预定义规则列表中添加防火墙规则性能日志和警报。
  • 从客户端,以远程用户身份运行性能监视器
    例如:runas /user:remote_machine\username "mmc perfmon.msc"

当然,用户必须至少属于“性能日志用户”或“性能监视器用户”用户组。

I fixed my case as follows:

  • Add Firewall rule Performance Logs and Alerts from the predefined rule list.
  • From client, run the Performance Monitor as the remote user
    Eg: runas /user:remote_machine\username "mmc perfmon.msc"

Of course, the user must be at least in the user groups "Performance Log users" or "Performance Monitor Users".

风为裳 2024-11-02 06:44:25

perfmon.exe 不想连接到远程服务器的原因是,它想要连接到 Perf 监视器 Perf 日志(数据收集)。

因此,您必须将用户帐户添加到日志用户组,当然还有监控用户。

输入图片此处描述

您不需要是远程服​​务器上的本地管理员!

The reason why perfmon.exe do not want to connect to the remote server is, it wants to connect to the Perf Monitor and the Perf Logs (Data collections).

So you have to add the user account to also the Log User group and of course to the Monitor Users.

enter image description here

you don't need to be local admin on the remote server!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文