zabbix-threat-control icon indicating copy to clipboard operation
zabbix-threat-control copied to clipboard

Updated Zabbix Threat Control to version 1.3.4

Open samosvat opened this issue 6 years ago • 1 comments

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:

  1. save your current config file ztc_config.py

After upgrading:

  1. Put (or update to v.1.3) vulners module: pip install -U vulners
  2. Manually fill in the new config ztc.conf values from the old config ztc_config.py
  3. Update the macro value to: /opt/monitoring/zabbix-threat-control/scan.py
Macros

4.Update the name of the fix-script in ACTION: /opt/monitoring/zabbix-threat-control/fix.py

Action

samosvat avatar Aug 10 '18 17:08 samosvat

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

jesusmiguelotero avatar Sep 16 '19 08:09 jesusmiguelotero