# \#exec

**URL:** https://community.influxdata.com/tag/exec/85.md

[Latest](https://community.influxdata.com/latest.md) · [Categories](https://community.influxdata.com/categories.md) · [Tags](https://community.influxdata.com/tags.md)

---

## [Help with Telegraf's exec input](https://community.influxdata.com/t/help-with-telegrafs-exec-input/37728)

<div class="topic-metadata">

**Author:** [@malcolm1308](https://community.influxdata.com/u/malcolm1308)\
**Replies:** 1\
**Last updated:** [October 2, 2024, 8:49am UTC](https://community.influxdata.com/t/help-with-telegrafs-exec-input/37728 "2024-10-02T08:49:32Z")

</div>

I am trying to ingest the result the “pveversion” command with the input.exec plugin, which should return something like “pve-manager/8.2.7/3e0176e6bb2ade3b (running kernel: 6.8.12-2-pve)”. But my telegraf config running…

---

## [Shutting execd process down quicker when reloading the Telegraf configuration](https://community.influxdata.com/t/shutting-execd-process-down-quicker-when-reloading-the-telegraf-configuration/32093)

<div class="topic-metadata">

**Author:** [@pjdewitte](https://community.influxdata.com/u/pjdewitte)\
**Replies:** 8\
**Last updated:** [November 15, 2023, 2:52pm UTC](https://community.influxdata.com/t/shutting-execd-process-down-quicker-when-reloading-the-telegraf-configuration/32093 "2023-11-15T14:52:05Z")

</div>

Hi all, I have a Telegraf configuration file with execd input plugins (calling Python). I let Telegraf watch the configuration file with --watch-config. I noticed that when the configuration file changes, the configura…

---

## [\[\[inputs.exec\]\] not being executed](https://community.influxdata.com/t/inputs-exec-not-being-executed/27092)

<div class="topic-metadata">

**Author:** [@casperghst42](https://community.influxdata.com/u/casperghst42)\
**Replies:** 5\
**Last updated:** [October 28, 2022, 7:12pm UTC](https://community.influxdata.com/t/inputs-exec-not-being-executed/27092 "2022-10-28T19:12:23Z")

</div>

Hi, I’m trying to get \[\[inputs.exec\]\] to execute my command. telegraf.conf \[agent\] interval = “2s” round\_interval = true debug = true quiet = false \[\[inputs.exec\]\] commands = \[ “/disktemp.sh” \] name\_suffix = “\_…

---

## [Telefraf plugin input.exe don't execute python script when telegraf is executed as service while works ok in test mode](https://community.influxdata.com/t/telefraf-plugin-input-exe-dont-execute-python-script-when-telegraf-is-executed-as-service-while-works-ok-in-test-mode/26533)

<div class="topic-metadata">

**Author:** [@Juan\_Antonio\_Alcaraz](https://community.influxdata.com/u/Juan_Antonio_Alcaraz)\
**Replies:** 2\
**Last updated:** [September 13, 2022, 8:00pm UTC](https://community.influxdata.com/t/telefraf-plugin-input-exe-dont-execute-python-script-when-telegraf-is-executed-as-service-while-works-ok-in-test-mode/26533 "2022-09-13T20:00:07Z")

</div>

Hi, I want to excute a python script with the inputs.exec plugin , the configuration is: \[\[inputs.exec\]\] Commands array commands = \[“pythionE:/sw/telegraf\_2/a.py” \] name\_suffix = “\_mycollector” data\_format = “influx…

---

## [Telegraf exec input make a changing data](https://community.influxdata.com/t/telegraf-exec-input-make-a-changing-data/23583)

<div class="topic-metadata">

**Author:** [@Peter753l](https://community.influxdata.com/u/Peter753l)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 8:42am UTC](https://community.influxdata.com/t/telegraf-exec-input-make-a-changing-data/23583 "2022-01-31T08:42:17Z")

</div>

hello everyone, I found a problem while using exec. my shell: alert\_test\_3.sh: | #/bin/bash echo "IfTable,agent\_host=test,hostname=test,ifDescr=test,ifType=6 ifOperStatus=1,ifAdminStatus=1" sleep 30s echo "IfTable,age…

---

## [Input plugin for iPerf3 with exit status errors](https://community.influxdata.com/t/input-plugin-for-iperf3-with-exit-status-errors/18793)

<div class="topic-metadata">

**Author:** [@Debi](https://community.influxdata.com/u/Debi)\
**Replies:** 2\
**Last updated:** [January 15, 2022, 3:02pm UTC](https://community.influxdata.com/t/input-plugin-for-iperf3-with-exit-status-errors/18793 "2022-01-15T15:02:23Z")

</div>

Hi there, I am currently getting these errors: 2021-03-06T12:29:01Z E! \[inputs.exec\] Error in plugin: exec: exit status 1 for command ‘iperf3 -c 201.1.1.4 -u --get-server-output --json’: 2021-03-06T12:29:01Z E! \[input…

---

## [Telegraf output prometheus lose precision](https://community.influxdata.com/t/telegraf-output-prometheus-lose-precision/19718)

<div class="topic-metadata">

**Author:** [@danielmotaleite](https://community.influxdata.com/u/danielmotaleite)\
**Replies:** 1\
**Last updated:** [May 6, 2021, 9:03pm UTC](https://community.influxdata.com/t/telegraf-output-prometheus-lose-precision/19718 "2021-05-06T21:03:49Z")

</div>

have a telegraf with a external script to grab potential aws ec2 instance termination \[agent\] interval = "10s" round\_interval = true metric\_batch\_size = 1000 metric\_buffer\_limit = 10000 collection\_jitter = "0s…
