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

    Poll State Table Size

    Scheduled Pinned Locked Moved SNMP
    3 Posts 3 Posters 7.8k 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.
    • A
      acherman
      last edited by

      I would like to monitor the size of the state table in a couple of our applications.  As the user base behind them grows so must the state table and I would like set up alerts triggered by the state table size.  I found the OID for the configured max size - 1.3.6.1.4.1.12325.1.200.1.5.1.0.  I would like someone to verify the OID for the current table size, which I believe is this - 1.3.6.1.4.1.12325.1.200.1.3.1.0.  It is a little hard to be 100% sure as it fluctuates rapidly and I can never get the web page value to match what I poll, even within seconds of each other.

      Thanks in advance for any help anyone can offer.

      1 Reply Last reply Reply Quote 0
      • R
        RTO-IT
        last edited by

        I am looking for the same OID, number of actually active states.

        Any idea?  :)

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Look at:

          /usr/share/snmp/defs/pf_tree.def

          (though it seems to be off a little)

          /usr/share/snmp/mibs/BEGEMOT-PF-MIB.txt

          pfStateTableCount OBJECT-TYPE
              SYNTAX      Unsigned32
              MAX-ACCESS  read-only
              STATUS      current
              DESCRIPTION
                  "Number of entries in the state table."
              ::= { pfStateTable 1 }

          Leads me to this:

          1.3.6.1.4.1.12325.1.200.1.3.1.0

          Looks like that gets you the state table size.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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