Role for installing prometheus VM metrics exporter
Fix vars in unitfile
- Fix critical error!
- Move parametr memory_limit to group vars
- Add extra_arguments to start service
node_exporter:
memory_limit: 100M
extra_arguments: ""- Add Create cron for starting node exporter in case if systemd is not available at a time when role is running
- Add optional var ignore_systemd_errors
- #T2326 🐫 Доработать роль установки нод экспортеров чтобы они не падали когда сервер перегружен
- Add /bin/sh -c
- Add optional node_exporter.version variable
- Do not run the role if it executed recently
- [BREAKING CHANGE] Add node_exporter. prefix to variables
All variables are set by default
node_exporter:
# Optional
exporter_port: 9100
# Optional
version: v1.1.2
# Optional
binaries_file_name: node_exporter-1.1.2.linux-amd64
# Optional. If the role already succeeded recently, do not execute task in it for an hour
enable_cache: yes
# Optional. When cache_key changes the cache wil reset
cache_key: default
memory_limit: 100M
extra_arguments: ""