{"id":19096477,"url":"https://github.com/falon/telegraf-extplugins","last_synced_at":"2026-05-18T10:38:22.592Z","repository":{"id":91572503,"uuid":"361727741","full_name":"falon/telegraf-extplugins","owner":"falon","description":"Ansible role for [CSI-Telegraf-plugins](https://github.com/falon/CSI-telegraf-plugins).","archived":false,"fork":false,"pushed_at":"2021-04-29T09:51:32.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T06:42:37.234Z","etag":null,"topics":["ansible-role","telegraf-execd","telegraf-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/falon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-26T11:38:43.000Z","updated_at":"2021-04-29T09:51:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"df518a89-4970-4dd6-b23a-e950131c3ddf","html_url":"https://github.com/falon/telegraf-extplugins","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/falon/telegraf-extplugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falon%2Ftelegraf-extplugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falon%2Ftelegraf-extplugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falon%2Ftelegraf-extplugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falon%2Ftelegraf-extplugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/falon","download_url":"https://codeload.github.com/falon/telegraf-extplugins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falon%2Ftelegraf-extplugins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-role","telegraf-execd","telegraf-plugin"],"created_at":"2024-11-09T03:36:50.392Z","updated_at":"2026-05-18T10:38:22.572Z","avatar_url":"https://github.com/falon.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Role Name\n=========\n\nUse this Ansible role to install CSI External Telegraf Plugins.\n\nRequirements\n------------\n\nNone.\n\nRole Variables\n--------------\n\nThis role provides the `telegraf_plugins_external` list of dicts. Following the example of **dj-wasabi.telegraf** role, these are the keys:\n\n| key  | description | default |\n|----------|----------|----------|\n| `name`     | The instance name of the plugin, corresponding to a configuration file. | \u003cul\u003e\u003cli\u003eds389-default\u003c/li\u003e\u003cli\u003eldap_org-default\u003c/li\u003e\u003c/ul\u003e |\n| `plugin`   | The plugin name. This is the part following _input._ in the configuration file. | \u003cul\u003e\u003cli\u003eds389\u003c/li\u003e\u003cli\u003eldap_org\u003c/li\u003e\u003c/ul\u003e|\n| `config`   | A list of configuration items of the plugin. | Plugin dependent |\n| `path`     | Plugin config file path. __Please, don't change this__. | `/etc/CSI-telegraf-plugins` |\n| `only_in_this_host` | An host of your inventory. This plugin will install only that host. Leave undefined in order to install in all hosts. | |\n\nDependencies\n------------\n\nIn your playbook, you can run this role after Telegraf has installed.\n\nTelegraf must include the _execd_ plugins as well.\n\nFor instance, if you use the **dj-wasabi.telegraf** role you must define a var like this:\n\n```\nvars:\n    telegraf_plugins_extra:\n      ds389-default:\n        plugin: execd\n        config:\n          - command = ['/usr/bin/telegraf-ds389', '-config', '/etc/CSI-telegraf-plugins/ds389-default.conf', '-poll_interval', '1m']\n        tags:\n          - instance = 'default'\n      ldap_org:\n        plugin: execd\n        config:\n          - command = ['/usr/bin/telegraf-ldap_org', '-config', '/etc/CSI-telegraf-plugins/ldap_org-default.conf', '-poll_interval', '24h']\n        tags:\n          - instance = 'default'\n\nroles:\n  - dj-wasabi.telegraf\n  - falon.telegraf-extplugins\n```\n\nThe role assumes that the `telegraf` user already exists, as created by some Telegraf role which runs before.\n\n\nExample Playbook\n----------------\n\nIncluding an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:\n\n    - hosts: all\n      vars:\n        telegraf_plugins_extra:\n          ds389-default:\n            plugin: execd\n            config:\n              - command = ['/usr/bin/telegraf-ds389', '-config', '/etc/CSI-telegraf-plugins/ds389-default.conf', '-poll_interval', '1m']\n            tags:\n              - instance = 'default'\n          ldap_org-default:\n            plugin: execd\n            config:\n              - command = ['/usr/bin/telegraf-ldap_org', '-config', '/etc/CSI-telegraf-plugins/ldap_org-default.conf', '-poll_interval', '24h']\n            tags:\n              - instance = 'default'\n        telegraf_plugins_external:\n          - name: ds389-default\n            plugin: ds389\n            config:\n              - host = \"localhost\"\n              - port = 389\n              -\n              - \"# dn/password to bind with. If bind_dn is empty, an anonymous bind is performed.\"\n              - bindDn = \"cn=Directory Manager\"\n              - bindPassword = \"password\"\n              -\n              - '# If true, alldbmonitor monitors all db and overrides \"dbtomonitor\".'\n              - alldbmonitor = true\n              -\n              - \"# Connections status monitor\"\n              - status = true\n            tags:\n              - instance = default\n            path: /etc/CSI-telegraf-plugins\n          - name: ldap_org-default\n            plugin: ldap_org\n            config:\n              - \"# LDAP Host and post to query\"\n              - host = \"localhost\"\n              - port = 389\n              -\n              - \"# dn/password to bind with. If bind_dn is empty, an anonymous bind is performed.\"\n              - bindDn = \"cn=Directory Manager\"\n              - bindPassword = \"password\"\n              -\n              - \"# Where to count metrics\"\n              - searchBase = \"c=en\"\n              - retAttr = \"o\"\n              - filter = \"(objectClass=*)\"\n            only_in_this_host: master.example.com\n\n      roles:\n         - falon.telegraf-extplugins\n\nIf you don't add the `path` key, then the default value will be used. Other keys must be specified.\n\nAdd any tags to `execd` plugin in Telegraf. We can't add tags to the external plugin config file, they are not managed by _shim_.\n\nOnce you have placed all your execd plugin in Telegraf too, you can test them by:\n\n```\ntelegraf --config /etc/telegraf/telegraf.conf --config-directory /etc/telegraf/telegraf.d/ --input-filter execd --test-wait 70\n```\n\nThe real value of `test-wait` is greather than  the maximum `poll_interval` you defined.\n\nAt this moment the role doesn't perform tests to validate the configuration of the external plugins.\n\nLicense\n-------\nGNU GPL 3 \n\nAuthor Information\n------------------\n\nMarco Favero\n - https://github.com/falon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalon%2Ftelegraf-extplugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalon%2Ftelegraf-extplugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalon%2Ftelegraf-extplugins/lists"}