Hi,
This is the basic openvpn monitoring plugin, it can monitor number of connected clients, total bytes in and total bytes out. You can enhance it to whatever your needs.
Here are the steps;
1-) Download the script and rename it to check_openvpn.sh
2-) Copy to /home/zabbix/bin/check_openvpn.sh on the openvpn server
3-) Add this line to openvpn's server.conf and restart openvpn
management 127.0.0.1 1150
4-) add items as openvpn[nclients], openvpn[bytesin] and openvpn[bytesout]
That's all, it is easy to make graphs etc so I don't provide template.
Hope this helps to openvpn users to give idea.
This is the basic openvpn monitoring plugin, it can monitor number of connected clients, total bytes in and total bytes out. You can enhance it to whatever your needs.
Here are the steps;
1-) Download the script and rename it to check_openvpn.sh
2-) Copy to /home/zabbix/bin/check_openvpn.sh on the openvpn server
3-) Add this line to openvpn's server.conf and restart openvpn
management 127.0.0.1 1150
4-) add items as openvpn[nclients], openvpn[bytesin] and openvpn[bytesout]
That's all, it is easy to make graphs etc so I don't provide template.
Hope this helps to openvpn users to give idea.
Comment