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

Preprocessing failed for: 1. Failed: cannot extract value from json by path "$.ssl_status": #73

Open
bissa opened this issue Oct 18, 2021 · 2 comments

Comments

@bissa
Copy link

bissa commented Oct 18, 2021

Hi,

I'm having problems getting the website_metrics.ssl to work I get the following error
Preprocessing failed for:

  1. Failed: cannot extract value from json by path "$.ssl_status":

If i do "Execute now" i get
Cannot send request
Cannot send request: wrong item type.

execute_now_error01
json_error01

@bissa
Copy link
Author

bissa commented Oct 19, 2021

Ubuntu 20.04.3 LTS
Python 3.8.10

zabbix_server (Zabbix) 5.0.16
Revision 422e00c66a 29 September 2021, compilation time: Sep 22 2021 06:38:40
Compiled with OpenSSL 1.1.1f 31 Mar 2020
Running with OpenSSL 1.1.1f 31 Mar 2020

zabbix_agentd (daemon) (Zabbix) 5.0.17
Revision 0a4ac3dabc 18 October 2021, compilation time: Oct 18 2021 08:24:54

root@zabbix01:~# pip3 install -r requirements.txt
Requirement already satisfied: python-dateutil>=2.7.2 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 1)) (2.8.2)
Requirement already satisfied: requests>=2.22.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (2.22.0)
Requirement already satisfied: tldextract>=2.2.0 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 3)) (2.2.3)
Requirement already satisfied: urllib3 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (1.25.8)
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (from -r requirements.txt (line 5)) (0.34.2)
Requirement already satisfied: whois in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 6)) (0.9.13)
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.7.2->-r requirements.txt (line 1)) (1.14.0)
Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from tldextract>=2.2.0->-r requirements.txt (line 3)) (2.8)
Requirement already satisfied: requests-file>=1.4 in /usr/local/lib/python3.8/dist-packages (from tldextract>=2.2.0->-r requirements.txt (line 3)) (1.5.1)

@bissa
Copy link
Author

bissa commented Oct 19, 2021

I also get
Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: '2021-10-19 19:51:17,699 - DEBUG - Input arguments: Namespace(debug='True', discoverydomain=None, discoveryssl='https://google.com', httpproxy=No

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

1 participant