Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

processes input means config is not cross-platform #2652

Closed
rburchell opened this issue Apr 11, 2017 · 4 comments · Fixed by #6891
Closed

processes input means config is not cross-platform #2652

rburchell opened this issue Apr 11, 2017 · 4 comments · Fixed by #6891
Labels
bug unexpected problem or unintended behavior platform/windows
Milestone

Comments

@rburchell
Copy link

Bug report

Relevant telegraf.conf:

 # Get the number of processes and group them by status
 #[[inputs.processes]]
 #  # no configuration

System info:

1.2.1, macOS & Windows 10.

Steps to reproduce:

I had a working telegraf config already, and attempted to run it on a Windows PC on my network to get additional "coverage".

Expected behavior:

The same config works across multiple hosts.

Actual behavior:

I was greeted by this:

2017/04/12 01:12:59 E! Error parsing E:\telegraf\telegraf.conf, Undefined but requested input: processes

Additional info:

It was quite easy to get past (comment out the processes input plugin in the config), but it'd be nice if the same config worked without issues across platforms. Is this possible?

@danielnelson
Copy link
Contributor

I think ideally it would warn but still start.

@afriberg
Copy link

afriberg commented Aug 3, 2017

Hi, did you guys solve this?

@danielnelson
Copy link
Contributor

Not yet, it is likely the fix will just be a better error message. I don't think it is possible to have the config work across systems.

@ajayjawale
Copy link

ajayjawale commented Oct 24, 2018

hello there,

its seems like this error still exists...
I am using Windows 10 with telegraf 1.8.2 and while configuring basic configuration for [[inputs.processes]] as listed below, --test serving me error message "E! Error parsing E:\telegraf\telegraf.conf, Undefined but requested input: processes"

 # Get the number of processes and group them by status
 #[[inputs.processes]]
 #  # no configuration

what can be done to overcome the same?
any ideas, thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior platform/windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants