Prometheus monitoring server, includes prometheus, alertmanager and blackbox-exporter. This requires docker to be running (not handled by this role).
This role is still in development.
-
prometheus_targets
: Optional list of dictionaries of additional targets:groupname
: The name of the configuration target file, used to name a configuration file so must be uniquegroup
: A list of Ansible groups (optional)hosts
: A list of hosts (optional)port
: The port to be monitoredjobname
: The prometheus job-name
This is intended to be an example. In practice these configuration files could be dynamically generated outside this role, prometheus will automatically reload them.
- hosts: localhost
roles:
- role: openmicroscopy.docker
- role: prometheus