%20*%2F.png)
Zabbix Serverでスピードテストのステータスを取得したいので、ZabbixのWebサイトに記載されている「Zabbix Speedtest」のReadmeに従ってください。https://git.cdp.li/polcape/zabbix/tree/master/zabbix-speedtest
インストール手順は次のとおりです。
1- speedtest-cli (pip install speedtest-cli) と jq (yum install jq) をインストールします。 2- speedtest.sh を /etc/zabbix/script にコピーし、実行可能にします: chmod +x /etc/zabbix/script/speedtest.sh
3- 代替案 1: systemd サービスとタイマーをインストールします: cp speedtest.service speedtest.timer /etc/systemd/system タイマーを起動して有効にします: systemctl enable --now speedtest.timer
4 - 代替案2: speedtest.cronを/etc/cron.dにコピーしてcrontabを使用する
5 - zabbix-agent 設定をインポートします: cp speedtest.conf /etc/zabbix/zabbix_agentd.conf.d/
6- zabbix-agentを再起動します: systemctl restart zabbix-agent
7 - Zabbixサーバーにtemplate_speedtest.xmlをインポートする
そして私が得たサービスを実行します:
次のエラーが発生しました:
No matched servers: 4510