Skip to content

terminal_services collector on classic machine #2231

@arnaudcharles

Description

@arnaudcharles

Problem Statement

I'm using the terminal_services collector as per #2114

Windows Exporter is installed on a lot of instance, thanks for your work btw, and on all of them I can see this log :
WARNING err="failed collecting terminal services session count metrics: failed to collect Terminal Services Session metrics: performance counter not initialized.

I use this metric on several host to show on Grafana how much RDP session are open and who is connected where.
It eas the purpose for us of the logon collector.

Is there a way to not show this warning in the logs, I have one every 30s or should I consider not using the terminal_services collector and find another way like a process, logs or whatever to monitor simple RDP sessions ?

I'm looking for you advice on this, I don't know if this is a bug related to the collector.

Environment

  • windows_exporter Version: 0.31.3
  • Windows Server Version: 2019

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions