zabbix-template-speedtest
zabbix-template-speedtest copied to clipboard
On Zabbix 6.4.6 i get "Unsupported key items" in every item
Hello, on Debian 12 and Zabbix 6.4.6 running I managed to import the template and followed seamlessly all the setup steps. Great! I linked the template to my Zabbix server but all items row are showing the infamous red "i" saying "unsupported key item". Am I missing something?
did you import the user parameter file?
did you import the user parameter file?
where is this file?
Same error, template is currently not working! I imported everything on my debian system. "Unsupported Item Key" for all items
@pschmitt I did some digging; i hope you can help me with this problem! I installed the speedtest cli from their website (https://www.speedtest.net/de/apps/cli). But still, as the user above has the same problem:
Server and agent log of Zabbix:
388:20240627:221229.518 item "Zabbix server:speedtest.timestamp" became not supported: Unsupported item key.
388:20240627:221230.521 item "Zabbix server:speedtest.upload" became not supported: Unsupported item key.
389:20240627:221301.729 item "Zabbix server:speedtest.download" became not supported: Unsupported item key.
388:20240627:221326.572 item "Zabbix server:speedtest.jitter" became not supported: Unsupported item key.
388:20240627:221327.575 item "Zabbix server:speedtest.ping" became not supported: Unsupported item key.
388:20240627:221328.579 item "Zabbix server:speedtest.server" became not supported: Unsupported item key.
I tried to execute it manually on the zabbix command line with /etc/zabbix/bin/zbx-speedtest.sh -d and it works. So its not the script which is broken.
I imported everything correctly, including the userParameter.
The Zabbix Speedtest Service says this:
Jun 27 22:55:43 monitoring zbx-speedtest.sh[8371]: {"type":"log","timestamp":"2024-06-27T22:55:43Z","message":"Failed to save settings: boost::filesystem::create_directories: Permission denied [system:13]: \"/var/lib/zabbix/.config/ookla\", \"/var/lib/zabbix/.config/ookla\"","level":"error"} Jun 27 22:55:43 monitoring zbx-speedtest.sh[8371]: {"type":"log","timestamp":"2024-06-27T22:55:43Z","message":"Path used: /var/lib/zabbix/.config/ookla/speedtest-cli.json","level":"error"} Jun 27 22:55:57 monitoring systemd[1]: zabbix-speedtest.service: Deactivated successfully.
After fixing the permission with the log folder (probably not even the problem) the logs of the service are:
Jun 27 23:00:00 monitoring systemd[1]: Started zabbix-speedtest.service - Run a speedtest. Jun 27 23:00:09 monitoring zbx-speedtest.sh[9673]: {"type":"log","timestamp":"2024-06-27T23:00:09Z","message":"Error: [0] Cannot open socket","level":"error"} Jun 27 23:00:20 monitoring systemd[1]: zabbix-speedtest.service: Deactivated successfully.