hello.

the telegraf service is run by telegraf.
I use procstat input to monitor users metric like this.
ex :
/etc/telegraf/telegraf.d/bapplipuppet-procstat.conf
[[inputs.procstat]]
prefix = "bapplipuppet"
user = "bapplipuppet"

telegraf reports log like this:
2016/09/02 17:36:00 Error: procstat getting process, exe: [] pidfile: []
pattern: [] user: [bapplipuppet] Failed to execute /usr/bin/pgrep. Error:
'exit status 1'

I have a workaround : running telegraf as root by modifying the init.d
(centos 6), or systemd-unit (centos 7)

But i would like to not use this workdaround if not necessary.

Does somebody have a trick to do it?

Thank a lot

-- 
Cdt

NICOLE Emerik
0677946693
[email protected] <[email protected]>

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" 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/CAHBG1yVfF6HBhG7c5veHd7FqbFx-HWd1oSOR5DjFyHCG%3DA76CQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to