vulnersCom / zabbix-threat-control

Zabbix vulnerability assessment plugin
GNU General Public License v3.0
208 stars 56 forks source link

Updated Zabbix Threat Control to version 1.3.4 #16

Open samosvat opened 6 years ago

samosvat commented 6 years ago

Major changes

: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
jesusmiguelotero commented 5 years ago

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