Hi, I want to use telegraf to monitoring two node process, currently I'm using 
the
procstat input plugin with a pattern.

But telegraf wrote more data than I expected, for example when i do a query
the "process_name" shows me "node" (as i expected), but also somethings like
"postgres", "sshd", "lsb_release", "git", "pgrep", etc.

I know the plugin actually use "pgrep -f 'pattern'", so maybe it's not a bug of 
telegraf.
I mean, maybe in a moment those process have a command line that include my 
pattern. 

I'm thinking how I can fix it and i tried use the "exec" argument, but I lost 
the pattern (so
I can't distict my two node process) and I met with this bug: 
https://github.com/influxdata/telegraf/issues/1668

I thinks those arguments are mutually  exclusive.

So I don't know what to do, if I can use these two arguments (exec and 
pattern), I won't have any problem. 

I want to reduce the data that telegraf is writing on influxdb, make it to only 
write about my node process but I need to
diffentiate them.

 What do you think?. 

Thanks. 

-- 
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/4eaa848f-6f35-45e0-8c4a-91e7f2b9cedb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to