# \[agent\] Error writing to outputs.graphite: could not write to any server in cluste

**URL:** <https://community.influxdata.com/t/agent-error-writing-to-outputs-graphite-could-not-write-to-any-server-in-cluste/57920>\
**Category:** Telegraf\
**Tags:** telegraf, grafana\
**Created:** [September 8, 2025, 5:12pm UTC](https://community.influxdata.com/t/agent-error-writing-to-outputs-graphite-could-not-write-to-any-server-in-cluste/57920 "2025-09-08T17:12:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aditya\_pratap\_singh](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/aditya_pratap_singh/32/20131_2.png) [@Aditya\_pratap\_singh](https://community.influxdata.com/u/Aditya_pratap_singh)\
**Post date:** [September 8, 2025, 5:12pm UTC](https://community.influxdata.com/t/agent-error-writing-to-outputs-graphite-could-not-write-to-any-server-in-cluste/57920/1 "2025-09-08T17:12:44Z")

</div>

One of the Mac servers is not reporting to Grafana.  
Telegraf 1.34.4

this is conf file

```auto
[agent]
  interval = "10s"
  round_interval = true
  metric_batch_size = 1000
  metric_buffer_limit = 10000
  collection_jitter = "0s"
  flush_interval = "10s"
  flush_jitter = "0s"
  precision = ""
  hostname = "mac05"
  omit_hostname = false

[[outputs.graphite]]
  servers = ["1.2.3.4:2003"]
  prefix = ""
  template = "host.tags.measurement.field"
  timeout = 2

[[inputs.cpu]]
  percpu = true
  totalcpu = true
  collect_cpu_time = false
  report_active = false

[[inputs.disk]]
  ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]

[[inputs.mem]]
  # no configuration

```

When i check the telegraf.log

```auto
2025-09-06T16:33:01Z E! **[agent] Error writing to outputs.graphite: could not write to any server in cluster**
2025-09-06T16:33:11Z E! [agent] Error writing to outputs.graphite: could not write to any server in cluster
2025-09-06T16:33:21Z E! [agent] Error writing to outputs.graphite: could not write to any server in cluster

```

But if when i run  
**telegraf --config /usr/local/etc/telegraf.conf --debug**

then it works fine and reports the metrix to grafana. where should i look ???

1\> I have restart the server  
2\> Restarted the telegraf  
3\> I have check the IP server IP address

---

<div class="post-metadata">

**Author:** ![srebhan](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/srebhan/32/8572_2.png) [@srebhan](https://community.influxdata.com/u/srebhan)\
**Post date:** [September 8, 2025, 6:37pm UTC](https://community.influxdata.com/t/agent-error-writing-to-outputs-graphite-could-not-write-to-any-server-in-cluste/57920/2 "2025-09-08T18:37:12Z")

</div>

Is this reproducible? If so, are there any other error messages _before_ the lines you’ve shown? There should be at least a line staring with

```auto
E! Writing to ... failed: ...

```

---

<div class="post-metadata">

**Author:** ![Aditya\_pratap\_singh](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/aditya_pratap_singh/32/20131_2.png) [@Aditya\_pratap\_singh](https://community.influxdata.com/u/Aditya_pratap_singh)\
**Post date:** [September 16, 2025, 1:27pm UTC](https://community.influxdata.com/t/agent-error-writing-to-outputs-graphite-could-not-write-to-any-server-in-cluste/57920/3 "2025-09-16T13:27:04Z")

</div>

I have restarted the telegarf and this is the log which i have got

Available plugins: 238 inputs, 9 aggregators, 33 processors, 26 parsers, 63 outputs, 5 secret-stores

2025-09-16T13:12:59Z I! Loaded inputs: cpu disk mem net

2025-09-16T13:12:59Z I! Loaded aggregators:

2025-09-16T13:12:59Z I! Loaded processors:

2025-09-16T13:12:59Z I! Loaded secretstores:

2025-09-16T13:12:59Z I! Loaded outputs: graphite

2025-09-16T13:12:59Z I! Tags enabled: host=mac

2025-09-16T13:12:59Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:“mac”, Flush Interval:10s

2025-09-16T13:12:59Z W! [agent] The default value of ‘skip\_processors\_after\_aggregators’ will change to ‘true’ with Telegraf v1.40.0! If you need the current default behavior, please explicitly set the option to ‘false’!

2025-09-16T13:12:59Z W! DeprecationWarning: Value “false” for option “ignore\_protocol\_stats” of plugin “[inputs.net](http://inputs.net)” deprecated since version 1.27.3 and will be removed in 1.36.0: use the ‘inputs.nstat’ plugin instead for protocol stats

2025-09-16T13:13:09Z E! [agent] Error writing to outputs.graphite: could not write to any server in cluster

2025-09-16T13:13:19Z E! [agent] Error writing to outputs.graphite: could not write to any server in cluster

2025-09-16T13:13:29Z E! [agent] Error writing to outputs.graphite: could not write to any server
