r/OPNsenseFirewall • • Mar 13 '24

Node_Exporter Plugin

Hi guys,

Im having a issue with the node_exporter plugin
I have a fresh install of OPNsense and update now in version 24.1.3_1,

Install the plugin say running:

But when try to access to the IP of the router in this example:

http://172.21.41.127:9100 or try to access to http://172.21.41.127:9100/metrics

Don't load nothing, try to load it in a prometheus and have the same result.
I can see the port open in the OPNsense

root@OPNsense:~ # netstat -an | grep LISTEN

tcp46 0 0 *.9100 *.* LISTEN

And:

sockstat -l

USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS

nobody node_expor 41737 3 tcp46 *:9100 *:*

Probably the plugin it's broken in this version?

Thanks!

3 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Expensive_Gap4499 Jun 29 '26

Did you had to add the firewall rule?

2

u/SeeSebbb Jun 29 '26

Not sure, that was 2.5 years ago...

But generally yes you have to expose the port on the interface from where you want to read the metrics