Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/falon/csi-telegraf-plugins
A collection of external Telegraf plugins working with shim.
https://github.com/falon/csi-telegraf-plugins
ldap monitor shim telegraf telegraf-plugins
Last synced: 5 days ago
JSON representation
A collection of external Telegraf plugins working with shim.
- Host: GitHub
- URL: https://github.com/falon/csi-telegraf-plugins
- Owner: falon
- License: mit
- Created: 2021-04-15T08:55:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-26T12:36:57.000Z (over 2 years ago)
- Last Synced: 2023-07-11T12:45:54.922Z (over 1 year ago)
- Topics: ldap, monitor, shim, telegraf, telegraf-plugins
- Language: Go
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegraf Plugins
This is a collection of Telegraf plugins.
These plugins are now ready:
- [ds389](plugins/inputs/ds389/README.md): a 389ds metrics collection from cn=monitor.
- [ldap_org](plugins/inputs/ldap_org/README.md): monitor number of entries inside LDAP trees.They are based on the initial idea and work by Olivier JUDITH (@gnulux).
## Install Instructions
Download the repository:
$ git clone https://github.com/falon/telegraf-plugins.git
Build the binary:
$ go build -o telegraf- cmd/main-.go
You should then be able to call this from telegraf now using:
```
[[inputs.execd]]
command = ["/path/to/telegraf-", "-config", "/etc/telegraf-external/.conf"]
[inputs.execd.tags]
instance = "default"
```If you want any tags, just add them to execd plugin as above. __Tags in the external plugin configuration file doesn't work__.
### By RPM
You can install using RPM in Centos/EL8 systems following these instructions.
In the host where you installed Telegraf:
```
curl -1sLf \
'https://dl.cloudsmith.io/public/csi/shared/setup.rpm.sh' \
| sudo -E bash
```This installs the repository. Now you can install the package:
`dnf install CSI-telegraf-plugins`
This install all our Telegraf _external plugins_.
Configuration files are under/etc/CSI-telegraf-plugins/
The path to command is */usr/bin*.
For instance, if you want add `ldap_org` to Telegraf add to Telegraf config file the following:
```
[[inputs.execd]]
command = ["/usr/bin/telegraf-ldap_org", "-config", "/etc/CSI-telegraf-plugins/ldap_org.conf", "-poll_interval", "24h"]
```#### Ansible role
You can find a role [here](https://galaxy.ansible.com/falon/telegraf-extplugins).
In your Ansible installation type: `ansible-galaxy install falon.telegraf_extplugins`.
## Grafana dashboard
For **ldap_org**:
- https://grafana.com/grafana/dashboards/10591
For **ds389**:
- https://grafana.com/grafana/dashboards/10587
- https://grafana.com/grafana/dashboards/10590