Comments (7)
Could you verify if this is also happening in recent version (v0.22.0) of this role?
from ansible-node-exporter.
Yes, just verified the behavior remains when upgrading to v0.22.0
(ansible) 14:25:39:~/setup/linux/playbooks$ ansible-galaxy role list | grep node-exporter
- cloudalchemy.node-exporter, 0.22.0
from ansible-node-exporter.
Ok, I see now what is going on. You need following lines https://github.com/cloudalchemy/ansible-node-exporter/blob/master/defaults/main.yml#L16-L17 in node_exporter_enabled_collectors
to specify directory. This doesn't seem like a bug to me, but it is a problematic issue and fairly strange UX. Could you create a PR with a note about it to https://github.com/cloudalchemy/ansible-node-exporter/blob/master/TROUBLESHOOTING.md document?
from ansible-node-exporter.
So the node_exporter_enabled_collectors
variable defaults to a value that uses the variable
node_exporter_text_file_dir
?
If so, do you agree it would be a good idea to mention that changing the value of node_exporter_text_file_dir
does not have any impact if node_exporter_enabled_collectors
is specified, i.e not left to default to using node_exporter_text_file
?
I would also suggest mentioning the expected structure of node_exporters_enabled_collectors
, since mentioning it as a
role variable makes users (e.g me) change it.
In this part of the README:
I didn't notice the lack of quotes around the elements in the list, but it's subtle.
(I've edited this comment a few times, FYI)
from ansible-node-exporter.
So the node_exporter_enabled_collectors variable defaults to a value that uses the variable
node_exporter_text_file_dir?
yes
I would also suggest mentioning the expected structure of node_exporters_enabled_collectors, since mentioning it as a
role variable makes users (e.g me) change it.
Sounds good to me. We could do it as another subsection of README (another example) or in the table. Could you create a PR?
from ansible-node-exporter.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from ansible-node-exporter.
Done in #182 and updated in 198aaee
from ansible-node-exporter.
Related Issues (20)
- 'latest' version doesn't work HOT 11
- node_exporter_textfile_dir doesn't enable corresponding collector HOT 1
- Unpack node_exporter binary step fails on cluster HOT 3
- With recent release of node_exporter (1.2.2) the role fails to detect version installed. HOT 7
- Unable to find required 'zipinfo' binary in the path HOT 2
- Allow to install node exporter easily without internet HOT 4
- Create password hash on local machine HOT 3
- Encryption not working for basic authentication HOT 5
- new release? HOT 10
- Support for other RHEL-like packages HOT 1
- Refactor: Unnecessary call to github if node_exporter already installed HOT 1
- Still maintained? HOT 8
- tasks/main.yml wrong parameter in import_tasks: install.yml HOT 1
- Create a new release with changes in master branch HOT 4
- PreventHome works only if mount is directly under /home HOT 1
- Role doesn't work with Ansible 7.0.0 HOT 5
- Crash on get checksum list HOT 1
- Is ansible-node-exporter abandoned? No commits have been made since January 2022 (now December 2022) HOT 5
- Node exporter version 1.5.0 systemd unit unable to start HOT 2
- Example code in the README doesn't generate a CSR file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-node-exporter.