To clarify what Kostas is saying, that error is coming directly from
procstat. It's not generated or controlled by Telegraf.

On Thu, Oct 6, 2016 at 2:57 AM, Konstantinos Botsas <[email protected]>
wrote:

> Hi Alan,
>
> The error may seem unclear at first, but exit code "1" is documented in
> pgrep's manpages as "No processes were matched." for most distros.
>
>
>
> On Wed, Oct 5, 2016 at 9:02 PM, Alan Latteri <[email protected]> wrote:
>
>> Thanks for the follow up Kostas.
>>
>> I did find that error, is really just meaning that exe is not active
>> now.  I think logging that as an error is mis-leading, and maybe should not
>> be logged at all.
>>
>> Alan
>>
>> On Tuesday, October 4, 2016 at 4:27:54 PM UTC-7, 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 InfluxDB version number with all issue reports
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "InfluxDB" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/influxdb/7F2cYi_KTVc/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/ms
>> gid/influxdb/2bcfeb50-e735-42bf-b41b-e7d318697e26%40googlegroups.com
>> <https://groups.google.com/d/msgid/influxdb/2bcfeb50-e735-42bf-b41b-e7d318697e26%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Konstantinos Botsas
> Support Engineer
> InfluxData
>
> --
> 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/CALk5YvkCXw-pP3YiTNZSR9OV%2Boav5EW77d%
> 2BeaKuBiBUQLt7maA%40mail.gmail.com
> <https://groups.google.com/d/msgid/influxdb/CALk5YvkCXw-pP3YiTNZSR9OV%2Boav5EW77d%2BeaKuBiBUQLt7maA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sean Beckett
Director of Support and Professional Services
InfluxDB

-- 
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/CALGqCvM%3DgYii7MN7Qwy1Qias5OFnx%2BThqNqxFwnC_pfBtYy5qQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to