Node exporter fails on ec2 builds with ""No file was found when using first_found"
See original GitHub issuehttps://github.com/cloudalchemy/ansible-node-exporter/pull/114 has renamed redhat.yml
to redhat-7.yml
.
This has broken Amazon ec2 installs with
{“msg”: “No file was found when using first_found. Use the ‘skip: true’ option to allow this task to be skipped if no files are found”}
Amazon returns "ansible_os_family": "RedHat",
and here is where I assume we used to match it:
https://github.com/cloudalchemy/ansible-node-exporter/blob/0a594311180fa8570145872f86ffba540889c974/tasks/main.yml#L11
Just needs a symlink to the old redhat.yml
from redhat-7.yml
I reckon (or 8 - I’m not sure).
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Metrics stuck / deadlock on some kernel versions · Issue #2500
Stuck node exporter after random time. After run strace -f -p pgrep node_exporter node exporter unstuck. Out pprof:
Read more >Monitoring Linux host metrics with the Node Exporter
Start up a Prometheus instance on localhost that's configured to scrape metrics from the running Node Exporter. NOTE: While the Prometheus Node Exporter...
Read more >Troubleshoot instances with failed status checks
fsck: No such file or directory while trying to open... (File system not found). This condition is indicated by a system log similar...
Read more >Node Exporter Setup on Linux Nodes - VMware Docs
Create a node_exporter service file under systemd. sudo tee /etc/systemd/system/node_exporter.service<< ...
Read more >Node exporter - GitLab Docs
Enable Prometheus. · Edit /etc/gitlab/gitlab.rb . · Add (or find and uncomment) the following line, making sure it's set to true : node_exporter['enable']...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@paulfantom Confirmed on Amazon Linux 2 x86. Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.