Can't scrape the Prometheus node_exporter if it's a LaunchDaemon and the macOS firewall is up #4040
Unanswered
DrJosh9000
asked this question in
Everyday usage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Not sure if there's just something weird with my Mac. But when I run the node_exporter brew service as a LaunchDaemon (i.e.
sudo brew services start node_exporter
) I couldn't scrape it from my Prometheus server, even if I clicked "Allow" on the macOS firewall popup.I found a workaround, which was to add this to
/usr/local/opt/node_exporter/homebrew.mxcl.node_exporter.plist
:But I don't trust the file to remain stable on upgrade.
Is this plist key being missing a bug in the formula?
Beta Was this translation helpful? Give feedback.
All reactions