Due to the company's business needs, the current pressure on zabbixserver is high, you need to install a proxy to ease the pressure, and began to slowly ponder over the proxy installation. There are a lot of documents online, so I will not talk about them. Share only the errors you encounter
Zabbixproxy is a monitoring proxy server that collects the monitored data and stores the data in the buffer zone. The storage time can be set through the configuration file and then transmitted to Zabbixserver; the monitoring proxy requires a separate database.
Benefits of zabbixproxy:
Remote Monitoring
When the monitored location communication is inconvenient
When monitoring thousands of devices
Simplify maintenance of distributed monitoring and reduce the load of zabbixserver
Error1: When zabbix is compiled and installed on the web, php db support does not have mysql, Which is depressing.
Solve: Add and -- with-mysqli =/usr/local/mysql/bin/mysql_config
Generally, errors in web configuration are caused by connection between php and mysql. Zabbix is okay.
Error2: Unable to connect to the server [192.168.1.193]: 10051 [cannot connect to [[192.168.1.193]: 10051]: [4] Interrupted system call]
Solve: this is obvious. The proxy cannot connect to the server. After checking the configuration file, it finds that the server ip address has been changed. Ask the colleague to know that he changed the server in the configuration file to the public ip address, but did not restart the service. ...
Another possibility is that the Hostname and server's web configuration name are different. In this case, you must note that both proxy and server, agent, and server Hostname must be the same.
Error message: sending heartbeat message to server failed: error: "negative response:" failed "", info: "proxy" 192.168.8.187 _ proxy "not found"
11701: 20140331: 165755.799 Cannot obtain configuration data from server. info: "proxy" 192.168.8.187 _ proxy "not found"
11703: 20140331: 165755.802 sending host availability data to server failed: error: "negative response:" failed "", info: "proxy" 192.168.8.187 _ proxy "not found"
Error3: this error is more difficult.
Failed to update local proxy configuration copy: database error
Solve: After reading many documents, I found that there is an error in proxy installation on the Internet. When importing data to zabbix, I only need schema. one SQL statement is enough. What google tells me is that baidu doesn't know...
When you see the data between the proxy and the server, that's exciting.