Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Resolve zabbix "ZBX_NOTSUPPORTED: Timeout while executing a shell script" error report

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

As shown in the question, the error message appears when zabbix_server uses zabbix_get to obtain the data of the script corresponding to the custom "UserParameter".

[root@nmp01 scripts] # / usr/local/zabbix/bin/zabbix_get-s 127.0.0.1-k 8080connectNumZBX_NOTSUPPORTED: Timeout while executing a shell script.

Solution

(1) modify the zabbix_server.conf of zabbix_server:

[root@nmp01 scripts] # vim / usr/local/zabbix/etc/zabbix_server.conf

Modify the following parameters:

Timeout=30

Note: the timeout time is 30 seconds.

(2) modify the zabbix_agentd.conf of the zabbix_agentd where the script resides:

[root@nmp01 scripts] # vim / usr/local/zabbix/etc/zabbix_server.conf

Modify the following parameters:

Timeout=30

(3) restart the zabbix server and the client where the script resides:

[root@nmp01 scripts] # service zabbix_server restart [root@nmp01 scripts] # service zabbix_agentd restart

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report