zabbix-disk-performance
zabbix-disk-performance copied to clipboard
Error during discovery on Ubuntu 20.04
I've got this application running on a couple dozen Ubuntu 14-18 servers, but the two I've just spun up are on Ubuntu 20.04 and I'm getting the following error during discovery:
Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'sh: 1: /usr/local/bin/lld-disks.py: not found'
Has anybody else ran into this issue? Running Zabbix 5.0.1
I was able to resolve this by manually installing python 2.7 and python-pip for 2.7.
i resolved this on my ubuntu 20.04, by adding "python3", in front of "/usr/local/bin/lld-disks.py". so the complete first line of the userparam would be:
"UserParameter=custom.vfs.discover_disks,python3 /usr/local/bin/lld-disks.py"