Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Getting the pfSense version with SNMP

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Benjamin B
      last edited by Benjamin B

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

      I could use some help.

      Thank you,
      Benjamin

      1 Reply Last reply Reply Quote 0
      • B
        Benjamin B
        last edited by

        Anyone using SNMP can help me?

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          Noop.
          But Google told me you can start here : https://forum.netgate.com/topic/55910/snmp-oids-for-monitoring-pfsense-via-mrtg

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • B
            Benjamin B
            last edited by Benjamin B

            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?

            1 Reply Last reply Reply Quote 0
            • GertjanG
              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 !

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.