vulnersCom / zabbix-threat-control

Zabbix vulnerability assessment plugin
GNU General Public License v3.0
210 stars 59 forks source link

Проблема при запуске scan.py #29

Closed depresnak closed 5 years ago

depresnak commented 5 years ago

Здравствуйте уважаемые разработчики. При попытке запустить файл scan.py (-rwxr-xr-x 1 zabbix zabbix) выдает ошибку:

Traceback (most recent call last):
File "./scan.py", line 22, in <module>
import vulners
ImportError: No module named 'vulners'

В чем может быть проблема? вывод prepare.py -uvtda

Connected to Zabbix API v.3.4.15

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 "server1"

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

Created host "Vulners - Hosts" (id: 10254)

Created host "Vulners - Bulletins" (id: 10255)

Created host "Vulners - Packages" (id: 10256)

Created host "Vulners - Statistics" (id: 10257)

Created template "Template Vulners OS-Report" (id: 10258)

Created action "Vulners" (id: 13)

Created dashboard "Vulners" (id: 7)

Script "/opt/monitoring/zabbix-threat-control/scan.py" will be run every day at 04:58
via the item "Service item..." on the host "Vulners - Statistics".

Dashboard URL:
http://localhost/zabbix/zabbix.php?action=dashboard.view&dashboardid=7&fullscreen=1
samosvat commented 5 years ago

Привет! Не хватает модуля 'vulners'.

ImportError: No module named 'vulners'
depresnak commented 5 years ago

Он идет отдельным пакетом?

samosvat commented 5 years ago

да, к примрку так: pip3 install -U vulners

depresnak commented 5 years ago

Извините, не заметил сразу https://github.com/vulnersCom/api всё заработало большое спасибо)