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

Cannot call plugin multiple times anymore #39

Closed
rlex opened this issue Oct 31, 2017 · 2 comments
Closed

Cannot call plugin multiple times anymore #39

rlex opened this issue Oct 31, 2017 · 2 comments

Comments

@rlex
Copy link
Contributor

rlex commented Oct 31, 2017

After PR #37, i cannot use multiple instances of same plugin.
Example:

telegraf_plugins_extra: 
 - plugin: ping
    config:
      - urls = [
                "host1.int",
                "host2.int"
               ]
      - count = 4
      - ping_interval = 1.0
      - timeout = 1.0
  - plugin: ping
     config:
       - urls = [
                "host1",
                "host2"
               ]
      - count = 4
      - ping_interval = 1.0
      - timeout = 1.0

Role tries to write first instance, then second, creating always-changed state.

@dj-wasabi
Copy link
Owner

Hi @rlex

Can you check with the version available on github? #40 is merged and might help you?

@rlex
Copy link
Contributor Author

rlex commented Dec 8, 2017

Yep, works with filename param. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants