Getting the pfSense version with SNMP
I am working with snmp on pfSense and I can't find the oid where the pfSense version is given.
I only have the freeBSD version on '184.108.40.206.220.127.116.11.0'
I could use some help.
Anyone using SNMP can help me?
Gertjan last edited by
But Google told me you can start here : https://forum.netgate.com/topic/55910/snmp-oids-for-monitoring-pfsense-via-mrtg
I tried a snmpwalk on all oid available after activated all default SNMP Modules (MibII, Netgraph, PF, Host Resources, UCD and REGEX) but nowhere in the result do I have the version of pfSense (which is 2.4.4-RELEASE-p3).
I searched this regex /2.4.4/
Am I missing something or does the pfSense version not given by default?
Is there another SNMP module required to access this data?
Gertjan last edited by Gertjan
You can't find 2.4.4 info, because that version doesn't exist anymore (snmp bug).
The actual version works just fine :
root@DiskStation2:~# snmpwalk -v1 -c public 192.168.1.1 | grep 'pfSense' SNMPv2-MIB::sysDescr.0 = STRING: pfSense pfsense.brit-hotel-fumel.net 2.4.5-RELEASE-p1 pfSense FreeBSD 11.3-STABLE amd64 SNMPv2-MIB::sysLocation.0 = STRING: pfSense HOST-RESOURCES-MIB::hrSWRunParameters.426 = STRING: "-q -f /etc/pfSense-devd.conf"
Btw : for "regex" reason, this
snmpwalk -v1 -c public 192.168.1.1 | grep '2.2.5'
will not work. "2.4.5" isn't a literal search string !