-
Notifications
You must be signed in to change notification settings - Fork 60
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run the prepare.py - cannot connect to Zabbix API #31
Comments
If you do not specify a ZabbixFrontUrl - ztc uses fallback URL: http://localhost/zabbix. |
Hi |
here is the code where the problem occurs
it doesn't occur to me that there might be a problem. |
sorry for the late reply. Was end of week. Thanks! |
check the connection type: As an example: |
Hello,
Thank you. |
uncomment |
Hello I tried to integrate vulners with zabbix last version but I have the next issue when I execute "python3.6 /opt/monitoring/zabbix-threat-control/prepare.py -uvtda" I got: Checking the connection to the zabbix-agent... If I execute the same command with other item all seems works fine |
Differences: To enable this functionality (system.run), agent configuration file must contain EnableRemoteCommands=1 option. |
I’m already change that value on /etc/zabbix/zabbix_agentd.conf and also
LogRemoteCommands=1, after do that I restart Zabbix-agent and then I execute :
python3.6 /opt/monitoring/zabbix-threat-control/prepare.py -uvtda
… On Mar 22, 2019, at 3:15 AM, Nikolay Samosvat ***@***.***> wrote:
Differences:
zabbix_get -s localhost -k system.run["echo CheckRemoteCommand"]
zabbix_get -s 127.0.0.1 -k agent.hostname
To enable this functionality (system.run), agent configuration file must contain EnableRemoteCommands=1 option.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi
can anyone pls help me?
when i tried running "python3.6 /opt/monitoring/zabbix-threat-control/prepare.py -uvtda" to create the objects in Zabbix, i encountered an error saying that I'm unable to connect to Zabbix API as I'm logged in as 'guest'. (have attached the text file containing the error message).
However, I've specified the 'Admin' (zabbix administrator) log-in in the ztc.conf file.
I am running Zabbix server version 4.0 on CentOS Linux release 7.6.1810 (Core), while the zabbix agents are 2.2.x and 4.0.
The version of python I'm using is 3.6.
Running "pip3.6 list" shows:
jpath (1.6)
pyzabbix (0.7.5)
requests (2.21.0)
six (1.12.0)
vulners (1.4.5)
pls help, would really like to get ztc to work with my zabbix server.
Thanks!
ZTC error.txt
The text was updated successfully, but these errors were encountered: