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

    FRR BGP + AgentX SNMP support

    Scheduled Pinned Locked Moved FRR
    6 Posts 3 Posters 2.1k 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.
    • Y
      yswery
      last edited by yswery

      I am using pFsense 2.5.0 which has FRR with SNMP support all built in:

      Module information for bgpd:
      Module Name  Version                   Description
      
      libfrr       7.5                       libfrr core module
      bgpd         7.5                       bgpd daemon
      bgpd_snmp    7.5                       bgpd AgentX SNMP module
      	from: /usr/local/lib/frr/modules/bgpd_snmp.so
      pid: 19886
      

      I have ticked the "Enable agentx support for accessing FRR Zebra data via SNMP with the net-snmp package." in the BGP section, and I have installed the net-snmp (instead of the default bsnmpd)

      cat /var/etc/netsnmpd.conf | grep agentx
      master agentx
      

      However I dont seem to be having the peers show up on my librenms panel for the host.

      Did anyone get this to work on their end?

      amassiA 1 Reply Last reply Reply Quote 1
      • amassiA
        amassi @yswery
        last edited by

        @yswery Hello. I am very interesting by this topic too. I am making upgrade to have the same configuration in observium / pfsense. Do you have some new information for you ?

        Y 1 Reply Last reply Reply Quote 0
        • Y
          yswery @amassi
          last edited by

          @amassi Actually I did get this working

          1. Make sure you disable the default bsnmpd
          2. Install net-snmp (package) and configure it instead
          3. go Services -> SNMP (net-snmp) -> General -> Advance Options and in the advance option add agentxperms 777 777"
            See post here: https://redmine.pfsense.org/issues/11610#note-5
          4. In FRR, enable agentx in both global AND in BGP sections.

          Restart things and confirm FRR is running all ok. to chck it works you can do:

          snmpwalk -c COMMUNITYSTRING -v2c IP.IP.IP.IP BGP4-MIB::bgpPeerRemoteAs
          

          NOTE: since FRR uses BGP4-MIB it means that ony IPv4 peers will show up. Have a look at the closed ticket here to implement a different MIB: https://github.com/FRRouting/frr/issues/2350

          amassiA 2 Replies Last reply Reply Quote 1
          • amassiA
            amassi @yswery
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • amassiA
              amassi @yswery
              last edited by

              @yswery thank you for your help. Now its work well.

              1 Reply Last reply Reply Quote 0
              • viktor_gV
                viktor_g Netgate
                last edited by

                redmine issue: https://redmine.pfsense.org/issues/11610

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