On Wednesday, October 5, 2016 at 2:27:54 AM UTC+3, 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
Hi Alan, I have not been able to reproduce this with Telegraf v1.0, I have not encountered any issues so far while using multiple procstat plugins with different exe parameters. The error you are describing is returned when the process name is not found by pgrep. Are you sure that both processes are up at the time the error appears? Do `pgrep Nuke` and `pgrep maya` return results on the shell at that moment? -- 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/2f398435-cf58-4288-adea-97fa97cee0f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
