Netgate SG-1000 microFirewall

Author Topic: Monitor connected users on OpenVPN  (Read 59 times)

0 Members and 1 Guest are viewing this topic.

Offline mistral

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Monitor connected users on OpenVPN
« on: February 21, 2018, 09:04:42 am »
Hi,

I've been trying to find out if there is an OID for the OpenVPN?

My goal is to see names of connected users on OpenVPN and display it on my monitoring screen.
I can't find the right check via snmpwalk and I looked trough many MIB's.
Does anyone know of such snmp check, or an other way to check the names of connected users on OpenVPN?

I'm running Zabbix and Netgate SG-8860 pfSense.

Thanks in advance.

Cheers,
Nijaz

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21571
  • Karma: +1471/-26
    • View Profile
Re: Monitor connected users on OpenVPN
« Reply #1 on: February 21, 2018, 12:32:32 pm »
There is no mechanism to get that over SNMP currently.

It might be possible with NET-SNMP and an extend entry pointing to a custom script which fetches the connected users, or a custom command executed through a zabbix agent, but nothing exists out of the box.
Need help fast? Commercial Support!

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

Do not PM for help!

Offline mistral

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Monitor connected users on OpenVPN
« Reply #2 on: Today at 08:06:31 am »
There is no mechanism to get that over SNMP currently.

It might be possible with NET-SNMP and an extend entry pointing to a custom script which fetches the connected users, or a custom command executed through a zabbix agent, but nothing exists out of the box.

Thanks for quick reply.

Do you have a documentation with custom commands i can execute on pfSense?
I would like to try this approach with "a custom commands executed through a zabbix agent"
Thanks a lot