vulnersCom / zabbix-threat-control

Zabbix vulnerability assessment plugin
GNU General Public License v3.0
211 stars 60 forks source link

Compatibility with Zabbix 5.4 and the future 6.0 #56

Open cbssantos opened 2 years ago

cbssantos commented 2 years ago

At the momment using Zabbix 5.4 when preparing the system, we get this error:

/opt/monitoring/zabbix-threat-control/prepare.py -u -v -t -d -a

Connected to Zabbix API v.5.4.9

Checking the connection to the zabbix-agent... Сompleted successfully. For connecting with zabbix-agent used address "127.0.0.1"

Checking the connection to the zabbix-server via zabbix_sender... Сompleted successfully. For connecting with zabbix-server used address "localhost"

Host group "Vulners" already exists (id: 95). Use this group.

Can't create host vulners.hosts. Exception: ('Error -32602: Invalid params., Invalid parameter "/1/macros/1/value": a character string is expected.', -32602)

When the script starts preparing to create the Template it stops with the error. In Zabbix you can see a empty template called Template Vulners OS-Report with only a MACRO {$REPORT_SCRIPT_PATH} - No items, triggers, LLD or anything else.

Anyone can fix this?

As an option, can anyone export the template so i can skip the Template creation and test the Dashboard (-d and -a)?

Thank you for any help

FabrizioA commented 2 years ago

Hi, I'm implementing this solution and I get this same error with Zabbix 6.0... Is there any fix for that? Thank you in advance :)

rm-r1 commented 1 year ago

I have the same issue in zabbix 6.4, does anybody have a solution for this?