Poll State Table Size



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



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

    Any idea?  :)


  • Rebel Alliance Developer Netgate

    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.


Locked