mirror of
https://github.com/GeekOops/geekoops-collectd.git
synced 2024-05-20 04:22:21 +00:00
Add Role variables
This commit is contained in:
parent
17a028869a
commit
a5a9cbe73a
17
README.md
17
README.md
|
@ -1,6 +1,6 @@
|
|||
# geekoops-collectd
|
||||
|
||||
Easy ansible role to setup `collectd`. This ansible role works with
|
||||
Easy ansible role to setup `collectd`. Currently only `influxdb` is supported by this role. This ansible role works with
|
||||
|
||||
- openSUSE Leap 15.2
|
||||
|
||||
|
@ -9,7 +9,22 @@ Easy ansible role to setup `collectd`. This ansible role works with
|
|||
|
||||
| Value | Description | Default |
|
||||
|-------|-------------|---------|
|
||||
|`nodename`| Name of the node that will be shown in grafana | "localhost" |
|
||||
|`interval`| Report interval in seconds | 10 |
|
||||
|`overwrite`| Overwrite existing `collectd.conf` file | false |
|
||||
|`enable_influx`| Enable InfluxDB | false |
|
||||
|`influx_host`| InfluxDB host | "127.0.0.1" |
|
||||
|`influx_port`| InfluxDB post | 25826 |
|
||||
|`enable_disk`| Enable disk plugin | true |
|
||||
|`enable_cpu`| Enable CPU plugin | true |
|
||||
|`enable_load`| Enable load plugin | true |
|
||||
|`enable_memory`| Enable memory plugin | true |
|
||||
|`enable_swap`| Enable swap plugin | true |
|
||||
|`enable_df`| Enable df plugin | false |
|
||||
|`disk_disks`| Disks added to the `disk` plugin | [] |
|
||||
|`df_disks`| Disks added to the `df` plugin | [] |
|
||||
|
||||
If `overwrite` is true, any existing `collectd.conf` file will be overwritten by ansible. Use this with caution! The existing configuration will only be written, if `collectd` is installed.
|
||||
|
||||
## Example Playbook
|
||||
|
||||
|
|
Loading…
Reference in a new issue