Set up Collectd in Debian-like systems.
None
-
collectd_plugins_present
: [default:['contextswitch', 'cpu', 'df', 'disk', 'interface', 'irq', 'network', 'processes', 'swap', 'tcpconns', 'uptime']
]: Names of the plugins to install -
collectd_plugins_absent
: [default:[]
]: Names of the plugins to remove -
collectd_plugin_network_servers
: [default:[]
]: The servers to send the data to -
collectd_plugin_network_servers.{n}.server
: [required]: The IP address of the server -
collectd_plugin_network_servers.{n}.port
: [default:25826
]: The port of the server -
collectd_plugin_network_servers.{n}.security_level
: [optional]: The security level is one of three values:None
,Sign
orEncrypt
-
collectd_plugin_network_servers.{n}.username
: [optional]: Username -
collectd_plugin_network_servers.{n}.password
: [optional]: Password -
collectd_plugin_disk_disks
: [default:['/^[vhs]d[a-f]$/']
]: Names (or regexes to match names) of disks to collect information of -
collectd_plugin_interface_interfaces
: [default:[]
]: Network interfaces to collect information of, defaults to all interfaces when empty
None
---
- hosts: all
roles:
- collectd
vars:
collectd_plugin_network_servers:
- server: '10.0.0.1'
---
- hosts: all
roles:
- collectd
vars:
collectd_plugin_network_servers:
- server: '10.0.0.1'
security_level: Encrypt
username: foo
password: bar
MIT
- Mark van Driel
- Mischa ter Smitten
Are welcome!