bundlewrap-collectd
install and configures collectd, "a daemon which collects system and application performance metrics periodically and provides mechanisms to store the values in a variety of ways".
By default data is being stored in RRD files.
Additionally it's possible to configure collectd as server as well as client to send data encrypted to another instance.
As of February 2018 this bundle will not be mainained anymore. If you encounter any issues I cannot help.
- Bundles:
- firewalld
- Zone settings from firewalld bundle will be used, if you do not overwrite this behaviour in the metdata.
- monit
- collectd is being monitored by monit
- hddtemp
- Temperature data is being parsed by collectd
- temper
- Temperature data is being parsed by collectd
- PostgreSQL
- Some nice database stats!
- Many, many more
- firewalld
'metadata': {
'collectd': {
'interval': "10", # optional, defaults to 10
'collect_internal_stats': True, # optional, `False` by default
'server': { # off by default
'ip': "10.11.12.13",
'port': "25826", # optional, defaults to 25826
'firewalld_permitted_zone': "internal", # optional, only used when firewalld bundle is used
},
'client': { # off by default
'ip': "10.11.12.13", # your servers ip address!
'port': "25826", # optional, defaults to 25826
'user': "username",
'password': "secret",
},
'cgp': { # optional, installs the collectd graph panel by pommi
'install_path': "/var/www/monitoring/htdocs/cgp", # required
},
},
}
There are a few options to manipulate what is collected by default. e.g. if you're running lxc containers you won't need to collectd load statistics. Take a look into files/collectd.conf
for details.
Using the server requires a data dir: <bwrepo>/data/collectd/server_auth
Within this dir the authentication file will be stored. Please find additional information about these files in the collectd wiki.
Please check if your server IP is matching firewalld Zone setting. If not please use the firewalld_allowed_zone
setting.