cloudalchemy / ansible-node-exporter

Provision basic metrics exporter for prometheus monitoring tool
MIT License
501 stars 270 forks source link

Allow to install node exporter easily without internet #251

Closed XDavidT closed 1 year ago

XDavidT commented 2 years ago

What is missing? What if my servers don't have access to the internet? any option to provide them with the file locally?

Why do we need it? Not all servers connected to internet Environment Ubuntu servers

maxtruxa commented 2 years ago

node_exporter_binary_local_dir does this already, doesn't it?

XDavidT commented 2 years ago

node_exporter_binary_local_dir does this already, doesn't it?

I'm not sure, even after use it, the task failing here

maxtruxa commented 2 years ago

That task does not run if you set node_exporter_binary_local_dir. Are you sure you set the var correctly? Try inserting a debug task right before the block to see if the var is set:

- debug:
    var: node_exporter_binary_local_dir
SuperQ commented 1 year ago

This role has been deprecated in favor of a the prometheus-community/ansible collection.