Getting the pfSense version with SNMP

  • Hello,

    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 ''

    I could use some help.

    Thank you,

  • Anyone using SNMP can help me?

  • 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?

  • 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 | grep 'pfSense'
    SNMPv2-MIB::sysDescr.0 = STRING: pfSense 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 | grep '2.2.5'

    will not work. "2.4.5" isn't a literal search string !

Log in to reply