Prometheus/Node_Exporter On PFSense
-
I'm wondering if anyone has managed to get the Node_Exporter module installed and working on PFSense in order to monitor the system from Prometheus. It looks like it's in the Ports repo of FreeBSD, but that's about it.
Thanks!
-
I wonder the same.
I'll try to make an install and see if works and what additional pkg's do we need -
I did make a little 'concept' a while back. That didnt have much requirements, and worked at least a bit.. ( http://piba-nl.mooo.com/files/ install the 2 relevant files with 'pkg add' if your interested..)
But as i don't use Prometheus, and didn't know the proper 'requirements' for a good full purpose prometheus package. Like should it have several of the prometheus modules like the haproxy one included.?. Should it have a prometheus relay to securely connect to a remote server.. Thinking about such things and all possible other modules and their requirements, i kinda dropped the idea to continue with it.. If anyone would like to continue with it i can put the sources of my initial concept package online in my git repository.
-
Do you still have those concept files? The link seems to be dead. I'm interested in picking this up and working on it.
-
@jdokoupil, link is available again.. The webserver its running on needs a kick in its but from time to time.. And isnt used for much else so i pay little/no attention to it running properly..
-
Thanks, got the files. I'll post some results if I find something.
-
Hi,
I build an pfsense (2.4 latest) setup and I'm trying to monitor it via prometheus.
The installation of the freebsd 11 port via pkg add works fine. Service starts and some metrics are exposed.Basic Metrics like: CPU Cores, CPU Utiliziation , Memory , Disk I/O seem not to work.
The collectors are enabled.I tried to mount /proc manually, but cpuinfo is not available, like on linux systems.
Are there some hints what is going wrong there?
-
Yes, I got it running with Prometheus & Grafana outputting metrics like https://pastebin.com/AaLfyNUa
What do you see in the /metric page of the node_exporter? -
@PiBa said in Prometheus/Node_Exporter On PFSense:
http://piba-nl.mooo.com/files/
Any chance you can re-enable that server or have another link where I could download that node_exporter for Pfsense ?
Thanks
-
Don't bother, it will be an official package of the default repository on pfSense 2.5:
No need to manually install it, package manager can do it for ya. If you don't have an extremely complicated setup or the need for it to run 24/7 you could upgrade to 2.5-devel and try it out yourself :)
-
Hi @JeGr ,
Thanks for a quick response. Do you know when its due to become part of official package on pfSense 2.5 ? I may not be able to upgrade pfSense version until its official and not in development.
-
That screen is from my home-lab firewall running 2.5-snapshots and the package is already there so I'm assuming it will be there with 2.5-final as well. I don't know if it has any hard dependencies blocking it porting backwards to 2.4.x though as it's using python3.7. But I can remember the Telegraf package going a slightly similar route first popping up in devel-builds only and then being back-ported to stable as well. Perhaps @jimp knows who is in charge of the package and if there are plans for it to be available in 2.4.x, too.
-
Has anybody gotten node exporter to work on 2.4.5 and have steps? Would love to scrape pfsense with prometheus. Thx!