Disable collectors
See original GitHub issueTASK [cloudalchemy.node-exporter : Assert collectors are not both disabled and enabled at the same time] ***
failed: [host] (item=diskstats) => {
"assertion": "item in node_exporter_enabled_collectors",
"changed": false,
"evaluated_to": false,
"item": "diskstats",
"msg": "Assertion failed"
}
failed: [host] (item=mdadm) => {
"assertion": "item in node_exporter_enabled_collectors",
"changed": false,
"evaluated_to": false,
"item": "mdadm",
"msg": "Assertion failed"
}
I recently updated the role locally and it started failing with the above message. I think this check was introduced in #22. How do you disable what is enabled by this role (by default)? So far, I was using the role and disabled the collectors that I didn’t need and it worked — node-exporter didn’t use the collector for e.g. mdam or diskstats.
With #22, my deploy stalls as the collector is enabled by default, but I can’t disable it anymore.
Do I need to now explicitly set all enabled and disabled?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Disable all collectors? · Issue #735 · prometheus/node_exporter
Is there a way to disable all collectors by default? I just need "-collector. textfile" all the others are useless to me.
Read more >Enable and disable collectors - BMC Documentation
Deactivate an active collector. Type D next to the collector name, and then press Enter. The collector is deactivated immediately. Warning.
Read more >Enabling/Disabling a Collector - Fortinet Documentation Library
To disable one or more Collectors simultaneously: In the COLLECTORS page, select the checkboxes of the FortiEDR Collectors to be disabled. All selected ......
Read more >How do I enable or disable Database Collectors?
Users who want to discontinue monitoring a database without deleting the Collector profile can disable the Collector from the Controller UI.
Read more >Enabling and Disabling the Data Collectors - IBM
The scripts enabledc.py and disabledc.py programmatically enable and disable selected ITCAM Data Collectors for a given node of the WebSphere® Application ...
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
Soon there should be an announcement in https://www.meetup.com/Berlin-Prometheus-Meetup/
Should be fixed now.
I see you are based in Berlin, come to next prometheus meetup (April 17th) 😄