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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zabbix Agent is not responding after upgrade to Zabbix 4.0 #192

Closed
mbleonardo opened this issue Nov 29, 2018 · 4 comments
Closed

Zabbix Agent is not responding after upgrade to Zabbix 4.0 #192

mbleonardo opened this issue Nov 29, 2018 · 4 comments

Comments

@mbleonardo
Copy link

Hello!

We've got a problem with Zorka after upgrading to Zabbix 4.0:

# zabbix_get -s SERVER -p 10055 -k 'zorka.jmx["java","java.lang:type=Runtime","Uptime"]'
zabbix_get [16172]: Timeout while executing operation

But, with telnet, it works:

#telnet SERVER 10055
Trying 10.70.2.24...
Connected to SERVER.
Escape character is '^]'.
zorka.jmx["java","java.lang:type=Runtime","Uptime"]
ZBXD33784774Connection closed by foreign host.

The same happens with Zorka Dev. version (1.90.4).

I think this might be a bug related to this:

Support for the plain text protocol has been dropped and a header is now mandatory. A header has been added to Zabbix get requests, Zabbix server/proxy passive check requests and frontend requests to Zabbix server. As a consequence, Zabbix agents that are older than version 1.4 are no longer supported. Also, messages from self-written senders will be rejected if the header is absent. Whereas previously Zabbix trappers would accept messages without headers as well as messages with headers, now they will only accept messages with protocol header.

https://www.zabbix.com/documentation/current/manual/installation/upgrade_notes_400

If it's not a bug, I would appreciate any help on debugging/solving this.

Thank you!

@jitlogic
Copy link
Owner

jitlogic commented Dec 2, 2018

Zorka is using plaintext at this moment. There is preliminary TLS support implemented in 1.90.x (master branch) but not tested at all. I'll try this with Zabbix 4.0 and let you know in a few days.

@jitlogic
Copy link
Owner

jitlogic commented Dec 2, 2018

Fixed in both master and v1-stable branches. Please fetch and compile branch you're interested in. Note that compiling v1-stable requires JDK6. Official releases will be published sometime in December.

@jitlogic jitlogic closed this as completed Dec 2, 2018
@kkmaslowski
Copy link

kkmaslowski commented Feb 5, 2019

@jitlogic I updated zorka to 1.0.17 and I still have the same problem (Timeout). Should I compile it from sources?
UPDATE: compiled from sources on jdk6. Everything works ok!

@jitlogic
Copy link
Owner

jitlogic commented Feb 8, 2019

Yes, forgot to mention, sorry. Stable branch (1.0.18-SNAPSHOT) needs to be compiled. Development branch has been released meanwhile, so it is available in 1.90.6.

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

3 participants