-
Notifications
You must be signed in to change notification settings - Fork 262
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
手动取值没问题,网页前端显示Timeout while executing a shell script #44
Comments
zabbix parsing 好像有问题, 不知道怎么解决。 手动取的时候没有问题,用zabbix-agent就有。 46 [root@zabbix-server classes]# zabbix_get -s 10.0.7.168 -k jmx.tomcat.item["Catalina:type=ThreadPool,name=http-nio-8080","currentThreadCount",10001] tomcat.py: error: option -p: invalid integer value: 'currentThreadCount' |
tomat监控,手动执行脚本会有点问题,最好是通过zabbix自动执行,然后看日志确定问题 |
谢谢回复,zabbix自动执行有问题才来看的手动执行的呢,手动执行脚本没问题~ |
大神好!
已经尝试将zabbix-server timeout 改为30。
手动取值没问题:
[2018-10-17 18:47:47] INFO
beanstr: Catalina:type=Server
lst_beanstr: Catalina:type=Server
key: serverInfo
cmdstr: /usr/bin/java -jar /etc/zabbix/zabbix_agent_extend/scripts/cmdline-jmxclient-0.10.3.jar - localhost:10001 'Catalina:type=Server' 'serverInfo'
stdo:
stde: 10/17/2018 18:47:47 +0800 org.archive.jmx.Client serverInfo: Apache Tomcat/8.5.16
retcode: 0
The text was updated successfully, but these errors were encountered: