解决zabbix“ZBX_NOTSUPPORTED: Timeout while executing a shell script”报错
如题所示,在zabbix_server使用zabbix_get获取自定义“UserParameter”对应的脚本的数据时,出现了如题所示的报错信息# /usr/local/zabbix/bin/zabbix_get -s 127.0.0.1 -k 8080connectNumZBX_NOTSUPPORTED: Timeout while executing a shell script. 解决方案
(1)修改zabbix_server的zabbix_server.conf:
# vim /usr/local/zabbix/etc/zabbix_server.conf 修改以下参数:
Timeout=30 注:超时时间为30秒
(2)修改脚本所在zabbix_agentd的zabbix_agentd.conf:
# vim /usr/local/zabbix/etc/zabbix_server.conf 修改以下参数:
Timeout=30 (3)重启zabbix服务端和脚本所在客户端:
# service zabbix_server restart
# service zabbix_agentd restart
页:
[1]