All Projects → pschmitt → zabbix-template-speedtest

pschmitt / zabbix-template-speedtest

Licence: GPL-3.0 license
Speedtest template for zabbix

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to zabbix-template-speedtest

speed-cloudflare-cli
📈 Measure the speed and consistency of your internet connection using speed.cloudflare.com
Stars: ✭ 99 (+253.57%)
Mutual labels:  speedtest, bandwidth
speedy
Test, track, monitor and analyze your internet speed.
Stars: ✭ 35 (+25%)
Mutual labels:  speedtest, bandwidth
speedtest
Simple bandwidth test in browser javascript
Stars: ✭ 41 (+46.43%)
Mutual labels:  speedtest, bandwidth
zabbix-templates
Zabbix templates
Stars: ✭ 104 (+271.43%)
Mutual labels:  zabbix
zabbix 44x next
Zabbix Next: Continued development of Zabbix version 4.4.x (unofficial)
Stars: ✭ 12 (-57.14%)
Mutual labels:  zabbix
realopinsight
✔️ Measure and observe end-user applications availability - Define and track SLA/SLO targets through Prometheus-alike metrics and built-in reports - Kubernetes®, Zabbix®, Nagios®.
Stars: ✭ 55 (+96.43%)
Mutual labels:  zabbix
speedtest
A self-hosted, lightweight HTML5 speed test implemented in JavaScript, based on Web Workers and XMLHttpRequest.
Stars: ✭ 154 (+450%)
Mutual labels:  speedtest
Elasticsearch-zabbix-monitor
Elasticsearch zabbix 监控
Stars: ✭ 16 (-42.86%)
Mutual labels:  zabbix
zbx2git
Zabbix Configuration Versioning Manager
Stars: ✭ 23 (-17.86%)
Mutual labels:  zabbix
zabbix-alerta
Forward Zabbix alerts to the alerta monitoring system
Stars: ✭ 94 (+235.71%)
Mutual labels:  zabbix
netcheck
A shell script to check and log when your internet connection goes down.
Stars: ✭ 138 (+392.86%)
Mutual labels:  speedtest
Zabbix-Network-Weathermap
Network weathermap for Zabbix
Stars: ✭ 83 (+196.43%)
Mutual labels:  zabbix
alerta-contrib
Contributed integrations, plugins and custom webhooks
Stars: ✭ 107 (+282.14%)
Mutual labels:  zabbix
effluence
Zabbix loadable module for real-time export of history to InfluxDB
Stars: ✭ 26 (-7.14%)
Mutual labels:  zabbix
orabbix
zabbix oracle orabbix docker
Stars: ✭ 17 (-39.29%)
Mutual labels:  zabbix
speedInspectorRPI
A docker image with a cronjob running speedtest, audit your internet connection/ISP
Stars: ✭ 12 (-57.14%)
Mutual labels:  speedtest
monitor ce
OneOaaS Monitor Community Edition
Stars: ✭ 35 (+25%)
Mutual labels:  zabbix
Zabbigot
Bukkit plugin for Zabbix monitoring.
Stars: ✭ 18 (-35.71%)
Mutual labels:  zabbix
zabbix-sender
java zabbix-sender
Stars: ✭ 70 (+150%)
Mutual labels:  zabbix
zabbix-dynamic-pdf-report
No description or website provided.
Stars: ✭ 16 (-42.86%)
Mutual labels:  zabbix

Zabbix Speedtest template

Dependencies

⚠️ Warning

You need to install Ookla's version of speedtest-cli and NOT the unofficial python tool.

Installation (Generic x86_64)

  • Install speedtest-cli
  • Create /etc/zabbix/bin: mkdir -p /etc/zabbix/bin
  • Copy zbx-speedtest.sh to /etc/zabbix/bin
  • Make it executable: chmod +x /etc/zabbix/bin/zbx-speedtest.sh
  • Install the systemd service and timer: cp systemd/{zabbix-speedtest.service,zabbix-speedtest.timer} /etc/systemd/system
  • Start and enable the timer: systemctl enable --now zabbix-speedtest.timer
  • Import the zabbix-agent config: cp zabbix_agentd.d/speedtest.conf /etc/zabbix/zabbix_agentd.conf.d
  • Restart zabbix-agent: systemctl restart zabbix-agent
  • Import template_speedtest.xml on your Zabbix server

Installation (Debian/Ubuntu)

  • Install speedtest-cli
  • Create /etc/zabbix/bin: mkdir -p /etc/zabbix/bin
  • Copy zbx-speedtest-debian.sh to /etc/zabbix/bin/zbx-speedtest.sh
  • Make it executable: chmod +x /etc/zabbix/bin/zbx-speedtest.sh
  • Install the systemd service and timer: cp systemd/{zabbix-speedtest-debian.service,zabbix-speedtest.timer} /etc/systemd/system; mv /etc/systemd/system/zabbix-speedtest{-debian,}.service
  • Start and enable the timer: systemctl enable --now zabbix-speedtest.timer
  • Import the zabbix-agent config: cp zabbix_agentd.d/speedtest.conf /etc/zabbix/zabbix_agentd.conf.d
  • Restart zabbix-agent: systemctl restart zabbix-agent
  • Import template_speedtest.xml on your Zabbix server

Installation (OpenWRT)

  • Install speedtest-cli by placing the binary in your $PATH
  • Copy zbx-speedtest.sh to /etc/zabbix_agentd.conf.d/bin
  • Make it executable: chmod +x /etc/zabbix_agentd.conf.d/bin/zbx-speedtest.sh
  • Import the zabbix-agent config: cp zabbix_agentd.d/speedtest.openwrt.conf /etc/zabbix_agentd.conf.d
  • Restart zabbix-agent: /etc/init.d/zabbix-agentd restart
  • Install the cron job: crontab -e -> Add the content of systemd/speedtest.crontab
  • Import template_speedtest.xml on your Zabbix server

Installation (Docker)

Speedtest in a container

Check out pschmitt/speedtest:cron on Docker Hub

Zabbix-agent

  • You must mount zbx-speedtest.sh inside your zabbix-agent container
  • It also needs to have access to speedtest data volume

Below is an example docker-compose.yaml.

NOTE: pschmitt/zabbix-agent2 contains jq which is required by zbx-speedtest.sh.

---
version: "3.7"
services:
  speedtest:
    image: pschmitt/speedtest:cron
    volumes:
      - "./data/speedtest:/data"
    environment:
      - INTERVAL=300

  zabbix-agent:
    image: pschmitt/zabbix-agent2:latest
    restart: unless-stopped
    hostname: ${HOSTNAME}
    privileged: true
    network_mode: host
    pid: host
    volumes:
      - "./config/bin:/zabbix/bin:ro"
      - "./config/zabbix_agentd.d:/etc/zabbix/zabbix_agentd.d:ro"
      - "./data/speedtest:/data/speedtest:ro"
    environment:
      - ZBX_HOSTNAMEITEM=system.hostname
      - ZBX_SERVER_HOST=zabbix.example.com
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].