Resolve Zabbix "zbx_notsupported:timeout while executing a shell script" error

Source: Internet
Author: User



As shown in title, when Zabbix_server uses Zabbix_get to get the data for a custom "userparameter" script, there is an error message shown in title



[Email protected] scripts]#/usr/local/zabbix/bin/zabbix_get-s 127.0.0.1-k 8080connectNum

Zbx_notsupported:timeout while executing a shell script.


Solution Solutions



(1) Modify Zabbix_server's zabbix_server.conf:



[Email protected] 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:



[Email protected] 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 is located:




[[email protected] scripts]# service zabbix_server restart

[[email protected] scripts]# service zabbix_agentd restart


This article is from "Zifangsky's personal blog" blog, make sure to keep this source http://983836259.blog.51cto.com/7311475/1862594



Resolve Zabbix "zbx_notsupported:timeout while executing a shell script" error


Alibaba Cloud Hot Products

Elastic Compute Service (ECS) Dedicated Host (DDH) ApsaraDB RDS for MySQL (RDS) ApsaraDB for PolarDB(PolarDB) AnalyticDB for PostgreSQL (ADB for PG)
AnalyticDB for MySQL(ADB for MySQL) Data Transmission Service (DTS) Server Load Balancer (SLB) Global Accelerator (GA) Cloud Enterprise Network (CEN)
Object Storage Service (OSS) Content Delivery Network (CDN) Short Message Service (SMS) Container Service for Kubernetes (ACK) Data Lake Analytics (DLA)

ApsaraDB for Redis (Redis)

ApsaraDB for MongoDB (MongoDB) NAT Gateway VPN Gateway Cloud Firewall
Anti-DDoS Web Application Firewall (WAF) Log Service DataWorks MaxCompute
Elastic MapReduce (EMR) Elasticsearch

Alibaba Cloud Free Trail

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.