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

    Create SNMP self scripts

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 877 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.
    • T Offline
      tomli
      last edited by

      Dear all,

      I want to pop state table usage MRTG graphic. Therefore, I added the below configuration in my pfsense snmpd.config file.

      exec sstable /sbin/pfctl -ss |wc -l

      In my mrtg server, I run the snmpwalk -v2c -cpublic pfsenseip ucdavis. I cannot find the state table value.  :-[

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

        pfSense uses bsnmpd, not net-snmpd. bsnmpd does not support exec statements in that way.

        For pf-related stats from bsnmpd, see https://raw.githubusercontent.com/pfsense/FreeBSD-src/devel/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt

        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.