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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Zabbix Threat Control to version 1.3.4 #16

Open
samosvat opened this issue Aug 10, 2018 · 1 comment
Open

Updated Zabbix Threat Control to version 1.3.4 #16

samosvat opened this issue Aug 10, 2018 · 1 comment

Comments

@samosvat
Copy link
Collaborator

samosvat commented Aug 10, 2018

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.

馃挜 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 samosvat mentioned this issue Sep 3, 2018
@jesusmiguelotero
Copy link

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

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

2 participants