CyVerse-Ansible.prometheus-node-exporter

prometheus-node-exporter

Deploys the Node Exporter for Prometheus.

Build Status Ansible Galaxy

Requirements

None

Role Variables

Variable Required Default Choices Comments
PROMETHEUS_NODE_EXPORTER_MONITOR_RAID_STORCLI no false true, false Monitor RAID with StorCLI
PROMETHEUS_NODE_EXPORTER_CHECK_SPECTRE_MELTDOWN no false true, false Check Spectre/Meltdown mitigation status
PROMETHEUS_NODE_EXPORTER_CUSTOM_OPTS no undefined string Additional options to pass to node_exporter

Dependencies

If PROMETHEUS_NODE_EXPORTER_MONITOR_RAID_STORCLI is set, storcli must be installed a la https://gitlab.cyverse.org/config-mgmt/ansible-install-storcli

If PROMETHEUS_NODE_EXPORTER_CHECK_SPECTRE_MELTDOWN is set, systems will be checked for mitigation of Spectre/Meltdown vulnerabilities via spectre-meltdown-checker and expose the following metrics:

  • CVE-2017-5753
  • CVE-2017-5715
  • CVE-2017-5754

A value of 0 means "not vulnerable", a value of 1 means "vulnerable", and a value of 2 means "unknown".

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: all
  roles:
     - prometheus-node-exporter

License

See license.md

Author Information

https://cyverse.org

About

Deploys Node Exporter for Prometheus

Install
ansible-galaxy install CyVerse-Ansible.prometheus-node-exporter
GitHub repository
License
other
Downloads
82