Hi, Alan

This is an open issue with Telegraf / procstat plugin.
#--------------------
 [[inputs.procstat]]
    exe = "telegraf|.*"
#--------------------

Boom! The only thing now, is, all process_names (will be pgrep'd now as pgrep 
takes Pattern). So, it'll search for telegraf and .*

You can just use .* but then it'll make it little uneasy to undertsand. 
Having exe = "telegraf|.*" makes more sense practically.

Regards
Arun Sangal


To make all procstat entries work in one file, you can do something like this:


On Tuesday, October 4, 2016 at 5:27:54 PM UTC-6, Alan Latteri wrote:
> In telegraf procstat:
> 
> 
> 
> [[inputs.procstat]]
>    exe = "Nuke"
> [[inputs.procstat]]
>    exe = "maya"
> 
> 
> return in log:
> 2016/10/04 15:51:50 Error: procstat getting process, exe: [maya]    pidfile: 
> [] pattern: [] user: [] Failed to execute /usr/bin/pgrep. Error: 'exit status 
> 1'
> 
> 
> 
> Either entry alone works fine.  So how to specify multiple exe?
> 
> 
> Alan

-- 
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/56c9efcb-234e-4005-8cfd-47403d2c796f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to