pfSense Support Subscription

Author Topic: how to monitor ipsec of pfsense from librenms  (Read 223 times)

0 Members and 1 Guest are viewing this topic.

Offline johnhu866

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
how to monitor ipsec of pfsense from librenms
« on: March 20, 2017, 09:20:47 pm »
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

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 20158
  • Karma: +1200/-8
    • View Profile
Re: how to monitor ipsec of pfsense from librenms
« Reply #1 on: March 22, 2017, 09:07:01 am »
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.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline johnhu866

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: how to monitor ipsec of pfsense from librenms
« Reply #2 on: March 22, 2017, 10:48:46 pm »
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