项目作者: sebastian13

项目描述 :
Monitoring internet bandwidth using speedtest and zabbix
高级语言: Shell
项目地址: git://github.com/sebastian13/zabbix-template-speedtest.git
创建时间: 2020-06-23T09:45:25Z
项目社区:https://github.com/sebastian13/zabbix-template-speedtest

开源协议:

下载


Zabbix Template: Speedtest

Monitoring internet bandwidth using speedtest and zabbix. The script uses zabbix_sender to send the values to a Zabbix Server. The interval is set via cron. To get different results the script will randomly choose one of the 10 closest servers each runtime.

Inspired by

Screenshots

Gathered Data

Latest Data

Graphs

Triggers

How to Use

  1. Install Speedtest-Cli

    1. curl -Lo /usr/bin/speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
    2. chmod +x /usr/bin/speedtest-cli
  2. Download speedtest-zabbix.sh

    1. mkdir -p /etc/zabbix/scripts
    2. cd /etc/zabbix/scripts
    3. curl -LO https://raw.githubusercontent.com/sebastian13/zabbix-template-speedtest/master/scripts/speedtest-zabbix.sh
    4. chmod +x speedtest-zabbix.sh
  3. Create Cron

    1. curl -Lo /etc/cron.d/speedtest-zabbix https://raw.githubusercontent.com/sebastian13/zabbix-template-speedtest/master/speedtest-zabbix.cron
    2. service cron reload
  4. Import the Template zbx_template_speedtest.xml to Zabbix and assign in to a server.

Additional Resources