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获取回来的数据转json失败 #9

Open
liujinhua306 opened this issue Oct 12, 2018 · 1 comment
Open

zabbix获取回来的数据转json失败 #9

liujinhua306 opened this issue Oct 12, 2018 · 1 comment

Comments

@liujinhua306
Copy link

比如 ItemObject 类的delay字段是interger类型的 但是获取的json值是 "delay":"1h"。 “1h”转integer会失败。我的zabbix是3.4版本的。。请问这问题该怎么解决。

@ysyh15
Copy link

ysyh15 commented Feb 25, 2021

当前这个jar包是基于2.2版本,3.4版本的delay返回值是字符串,你需要自己修改一下基于字符串返回的包

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