Skip to content

Windows: multiple config files not working properly #1137

@GuillaumeLohez

Description

Hi,

I've stared using "win_perf_counters" on Windows servers.
I have a little issue: I can not have multiple [[inputs.win_perf_counters]] in multiple files to arrange configs. For example, one for CPU, one for memory, etc...
It seems, only the first [[inputs.win_perf_counters]] found in my telegraf.d directory is used.

WIth snmp input, I can have multiple [[inputs.snmp]], one per file per switch.

Is it an expected behavior ?

I need a such feature for managing config with Puppet.

Metadata

Assignees

No one assigned

    Labels

    area/windowsRelated to windows plugins (win_eventlog, win_perf_counters, win_services)bugunexpected problem or unintended behaviorhelp wantedRequest for community participation, code, contributionplatform/windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions