I’ve got a simple python script I’m trying to call from the [[inputs.exec]] but I keep getting permission denied.
I’ve tried chowning the script as root:root, or telegraf:telegraf with chmod 777 but the error persists. I’ve moved the script into the /tmp directory, and error persists. I’ve also tried adding telegraf to the root group with no success.
I am using the telegraf docker.