Monitoring PFSense
-
Hey,
i am on of the developers of server-eye, an cloud based monitoring software.
We are currently investigating the PFSense firewall and i wanted to make sure i get the whole picture.
I know about snmp , but besides from CPU,RAM, Memory Usage ( and the state table count) there isnt much going on here.
I want to know if some information from the web-dashboard is also available via programmatic access, like over an cli or something like that.
We need to know the status of the services and most important the "carp status"..
Anyone has information on that topic?
The pfsense cli seems to handle just some basic stuff https://www.linuxnet.ch/pfsense-important-cli-commands/
Thank you in advance :)
-
pfSense is built on FreeBSD, so any of your current sensor packages designed for FreeBSD should work, if you have any.
All of the info presented in the pfSense GUI can (generally) obtained from the shell in some way or another.
Probably best to start learning about FreeBSD, and then apply that to pfSense. Take a look at the handbook:
http://www.freebsd.org/doc/handbook/index.html -
If you figure out how to get its super spiffy live traffic graph to show up on an outside webpage for sure let me know! My thread about it: https://forum.pfsense.org/index.php/topic,71918.0.html
-Jamie M.
-
i think you only can create the graph by yourself by polling the IF-MIB SNMP data for every second and look for the octects in and out on the specific interface
Thats exactly what i dont know and why i asked, if anyone already know how to obtain the "master" or "slave" state via FreeBSD Shell. But if not i will try for myself..
-
i think you only can create the graph by yourself by polling the IF-MIB SNMP data for every second and look for the octects in and out on the specific interface
Thats exactly what i dont know and why i asked, if anyone already know how to obtain the "master" or "slave" state via FreeBSD Shell. But if not i will try for myself..
Well its doing it somewhere already check out the code on github I guess?
-
I will..
i found that the CARP MIB can be used ( works under freebsd) for polling this state.
http://www.packetmischief.ca/openbsd-snmp-mibs/#carpmib
-
You may find some stuff in the SNMP forum.
https://forum.pfsense.org/index.php/board,25.0.html