Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Prometheus node exporter plugin
« previous
next »
Print
Pages: [
1
]
Author
Topic: Prometheus node exporter plugin (Read 2331 times)
jcdick1
Newbie
Posts: 36
Karma: 1
Prometheus node exporter plugin
«
on:
November 14, 2023, 10:47:58 pm »
I'm trying to get the os-node_exporter plugin working. It is listed as installed in the plugins tab. However, I see no indication that it is running. It is not listed on the homepage. I don't see anything about it in a process list. The file /etc/rc.conf.d/node_exporter explicitly states
not
to edit it, but its one line is
Code:
[Select]
node_exporter_enable="NO"
The node_exporter file I happened to find in /usr/local/etc says to add lines to /etc/rc.conf.local or /etc/rc.conf to enable it, but neither of those files exist for any other services. Do I create them? Does it need some sort of bracketed identifier inside to say "These options are for the Prometheus node_exporter"?
Also, once its running, will I need to create a firewall rule to allow my Prometheus instance to scrape it for stats?
It is very confusing behind the scenes with this.
Thanks for any assistance.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Prometheus node exporter plugin
«
Reply #1 on:
November 14, 2023, 11:03:08 pm »
I'm not familiar with this plugin but does it not appear listening when you use sockstat?
Logged
jcdick1
Newbie
Posts: 36
Karma: 1
Re: Prometheus node exporter plugin
«
Reply #2 on:
November 15, 2023, 01:37:22 am »
Nothing shows as listening on port 9100 in sockstat.
I'm guessing I have enable the plugin, but every file seemingly associated either says "Don't edit" or doesn't exist.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Prometheus node exporter plugin
«
Reply #3 on:
November 15, 2023, 02:33:28 pm »
I would try with a onestart first and see if it comes up with ps and sockstat. If no, diagnose time. If yes, put the line in the tunables section that might act as the equivalent of one of those local rc scripts.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Prometheus node exporter plugin
«
Reply #4 on:
November 15, 2023, 03:21:45 pm »
> node_exporter_enable="NO"
It hasn't been enabled in the GUI?
Cheers,
Franco
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Prometheus node exporter plugin
«
Reply #5 on:
November 15, 2023, 05:49:54 pm »
I don't have that plugin installed so couldn't tell if that plugin has a GUI part but yes I assume the OP has checked
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Prometheus node exporter plugin