Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during discovery on Ubuntu 20.04 #32

Open
emike09 opened this issue Aug 3, 2020 · 2 comments
Open

Error during discovery on Ubuntu 20.04 #32

emike09 opened this issue Aug 3, 2020 · 2 comments

Comments

@emike09
Copy link

emike09 commented Aug 3, 2020

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

@emike09
Copy link
Author

emike09 commented Sep 21, 2020

I was able to resolve this by manually installing python 2.7 and python-pip for 2.7.

@hamsjelv
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants