Hi,

There are lots of cases where Telegraf can't read some system quantity or other 
because it usually runs as an ordinary user (called telegraf). On some systems 
/proc files may be inaccessible, and I'm sure pretty much everyone has some 
files that are root-only that you might want to use the filestat plugin on.

There are some cases where a file is owned by (say) mysql, which likes to set 
file permissions to 0600. In this case, no amount of group ownerships or 
anything else is going to give the telegraf user access to the file, so the 
only option is to run Telegraf as root (which lots of people are rightly 
nervous about doing).

So my question is... is it safe to run Telegraf as root (in production)?

Assuming 'no' is the answer, is that because of specific plugins, or the whole 
of Telegraf, or is it because it might actually be safe to run as root, but 
hasn't been tested/verified as such?

Looking forward to any clarification we can get on this.

Cheers,

...Ralph

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/2412a3f1-4c50-41fb-9f33-f86f74104843%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to