Ansible role to install the Netdata host monitoring system on a RHEL system.
This role requires a RHEL system with Apache HTTPD already installed/configured.
It will create an additional Apache virtual host file to access the Netdata interface on non-standard port.
After executing this role, you should be able to access the Netdata web ui at https://server_shortname.library.ucla.edu:30462
-
httpd_port
- defines the Apache httpd listening port that will proxy to Netdata (default set to30462
) -
server_shortname
- defines the apache server hostname netdata will answer on (e.g. if the FQDN isnetdata-server.library.ucla.edu
, the server_shortname isnetdata-server
) -
netdata_ssl_config
- defines if the apache virtual host should use HTTPS (default set toyes
) -
netdata_restrict_access
- defines if the access to netdata should be restricted via firewalld (default set toyes
) -
netdata_config_path
- defines location of main netdata configuration file (default set to/etc/netdata/netdata.conf
) -
netdata_disable_alerts
- Boolean flag to disable all netdata alerts (default set toTrue
)
uclalib_role_apache
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- name: uclalib_netdata.yml
become: yes
become_method: sudo
hosts: all
roles:
- { role: uclalib_role_netdata }