Code Monkey home page Code Monkey logo

zabbix-openvpn's Introduction

zabbix-openvpn

Zabbix 3.0

Script for OpenVPN users monitoring. It shows an OpenVPN user’s status, and its uplink and downlink traffic. The “items” by the files certificates names are made using LLD.

Setup:

  1. Copy the file discover_vpn.sh to any directory on the server were OpenVPN is(for example /etc/zabbix/scripts/discover_vpn.sh ). In this file specify the path to directory where OpenVPN certificates are (line №3).

  2. Copy all lines from “zabbix_agentd.txt” file and paste to the end of zabbix agent config (/etc/zabbix/zabbix_agentd.conf). Probably, will be necessary to change the path to discover_vpn.sh.

  3. Import openvpn.xml to zabbix template.

zabbix-openvpn

Zabbix 3.0

Скрипт мониторинга пользователей OpenVPN. Проверяется статус каждого пользователя OpenVPN, и его входящий\исходящий трафик.

С помощью LLD создаются "элементы данных" по имени файлов сертификатов.

Установка:

  1. скопировать файл discover_vpn.sh в любую директорию, на сервере с OpenVPN (например, /etc/zabbix/scripts/discover_vpn.sh) в этом файле указать путь до папки с сетификатами OpenVPN (строка №3).

  2. из файла zabbix_agentd.txt скопировать все строки в конец конфига zabbix агента (по умолчанию, /etc/zabbix/zabbix_agentd.conf) возможно потребуется изменить путь до discover_vpn.sh

  3. импортировать в zabbix шаблон openvpn.xml

zabbix-openvpn's People

Contributors

grifagor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.