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服务器端获取不了数据,请帮忙看看,谢谢。 #57

Open
python8384 opened this issue Mar 19, 2021 · 0 comments
Open

Comments

@python8384
Copy link

在被监控的主机执行脚本没有问题。
/usr/local/python/bin/python /usr/local/zabbix/lib/jvm
/jvm.py --list
{
"data":[
{
"{#GC}":"ConcMarkSweep",
"{#JVMPORT}":9091,
"{#PID}":1245,
"{#RUNUSER}":"hybris"
},
{
"{#GC}":"ConcMarkSweep",
"{#JVMPORT}":9092,
"{#PID}":27178,
"{#RUNUSER}":"hybris"
}
]
}

在监控服务器上,执行zabbix_get就出现数据为空的情况,不知道问题出在哪里。
zabbix_get -s 10.149.1.183 -k jmx.jvm.discovery
{
"data":null
}
通过zabbi前端界面进行测试的时候,发现也是同样的情况,困扰好几天了,一直得不到解决。

image

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

1 participant