# Telegraf WinPerf Plugin Error

**URL:** <https://community.influxdata.com/t/telegraf-winperf-plugin-error/13028>\
**Category:** Telegraf\
**Tags:** telegraf\
**Created:** [February 14, 2020, 4:51am UTC](https://community.influxdata.com/t/telegraf-winperf-plugin-error/13028 "2020-02-14T04:51:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mert](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mert/32/5152_2.png) [@Mert](https://community.influxdata.com/u/Mert)\
**Post date:** [February 14, 2020, 4:51am UTC](https://community.influxdata.com/t/telegraf-winperf-plugin-error/13028/1 "2020-02-14T04:51:39Z")

</div>

Hi,

I’m getting this error from telegraf.

```
2020-02-14T04:46:32Z E! [inputs.win_perf_counters] Error in plugin: error while getting value for counter \DHCP Server\*: A required argument is missing or not correct.
2020-02-14T04:46:32Z E! [telegraf] Error running agent: One or more input plugins had an error

```

This is separate config from telegraf.conf

```
[[inputs.win_perf_counters]]
  [[inputs.win_perf_counters.object]]
    ObjectName = "DHCP Server"
    Counters = ["*"]
    Instances = ["------"]
    Measurement = "dhcp_stats"

```

Telegraf version: 1.13.3  
What I’m missing?

> **[telegraf/plugins/inputs/win\_perf\_counters at master · influxdata/telegraf](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/win_perf_counters)**
>
> master/plugins/inputs/win\_perf\_counters

---

<div class="post-metadata">

**Author:** ![Mert](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mert/32/5152_2.png) [@Mert](https://community.influxdata.com/u/Mert)\
**Post date:** [February 14, 2020, 6:23pm UTC](https://community.influxdata.com/t/telegraf-winperf-plugin-error/13028/2 "2020-02-14T18:23:09Z")

</div>

I fixed the problem by typing Counters:

```
[[inputs.win_perf_counters]]
  [[inputs.win_perf_counters.object]]
    ObjectName = "DHCP Server"
    Counters = ["Acks/sec","Active Queue Length","Conflict Check Queue Length","Declines/sec","Denied due to match.","Denied due to nonmatch.","Discovers/sec","Duplicates Dropped/sec","Failover: BndAck received/sec.",
    "Failover: BndAck sent/sec.", "Failover: BndUpd Dropped.", "Failover: BndUpd sent/sec", "Informs/sec", "Nacks/sec", "Offer Queue Length", "Offers/sec", "Packets Expired/sec", "Packets Received/sec", "Releases/sec", "Requests/sec"]
    Instances = ["------"]
    Measurement = "dhcp_stats"
```
