zabbix-threat-control
zabbix-threat-control copied to clipboard
Updated Zabbix Threat Control to version 1.3.4
Major changes
- To work with the Vulners API, use the vulners module (ver. 1.3) instead of requests
- Rewritten to work with the config file.
:collision: Update breaks the plugin's normal operation! To make it work, please follow the steps bellow:
Before upgrading:
- save your current config file
ztc_config.py
After upgrading:
- Put (or update to v.1.3) vulners module:
pip install -U vulners
- Manually fill in the new config
ztc.conf
values from the old configztc_config.py
- Update the macro value to:
/opt/monitoring/zabbix-threat-control/scan.py
4.Update the name of the fix-script in ACTION: /opt/monitoring/zabbix-threat-control/fix.py
Hi
Only running in zabbix 3.4? I have zabbix 4.2.6 and I obtein this error:
[root@Zabbix os-report]# /opt/monitoring/zabbix-threat-control/prepare.py -uvtda Connected to Zabbix API v.4.2.6
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... Error: Can't send data with zabbix-sender: Command: -vv zabbix_sender -z Zabbix -p 10051 -s zabbix_sender_ztc_test -k zabbix_sender_ztc_test -o 1 -vv zabbix_sender [42397]: DEBUG: send value error: cannot connect to [[Zabbix]:10051]: [111] Connection refused Sending failed.
Please fix this for continue!
Can you help me!!!!
Regards