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

    How to monitor ipsec of pfsense from librenms

    Scheduled Pinned Locked Moved SNMP
    5 Posts 3 Posters 4.7k 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.
    • J
      johnhu866
      last edited by

      HI all,

      I want to monitor ipsec of pfsense from librenms. i already setup snmp in pfsense and now  librenms can monitor all pfsense ports but not ipsec.    Can any one give instruction? 
      I know there maybe something related to MIBs , but im not sure which mib to download (from http://files.pfsense.org/misc/mibs/ and https://files.pfsense.org/jimp/mibs/) and how to import it to pfsense, please help!

      John

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

        There are no MIBs for IPsec right now. IPsec is handled via strongSwan and there isn't anything in the SNMP daemon that can pull information from strongSwan.

        Using the NET-SNMP package on 2.4 you could script some extended commands to gather info from ipsec status commands, but it would be a lot of manual work to get anything meaningful from it.

        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
        • J
          johnhu866
          last edited by

          Thanks Jimp,

          I really want to set it up, could you please give some idea how to script extend command or where i can i get some ideas.

          THx

          1 Reply Last reply Reply Quote 1
          • A
            arash
            last edited by

            Hi @jimp do you have any idea on this old topic, i also really eager also to do monitoring over IPsec tunnels through the Librenms.

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

              There has been no change here. If you need to poll the info, use NET-SNMP and craft your own set of extend commands/scripts to report the information you need. If you need help with that, start a new thread and see if anyone can assist you there.

              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 1
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.