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

Zabbix 2.2 install the MySQL MPM plug-in Times error & # 039 X connection to zabbix server failed (rc=1305) & # 039; how to deal with it

2025-04-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces "Zabbix 2.2 install MySQL MPM plug-in Times error 'Connection to zabbix server failed (rc=1305)' how to deal with". In daily operation, I believe many people have doubts about how to deal with Zabbix 2.2 install MySQL MPM plug-in Times error 'Connection to zabbix server failed (rc=1305)'. The editor consulted all kinds of materials and sorted out simple and useful operation methods. I hope it will be helpful for you to answer the question of "how to deal with the wrong 'Connection to zabbix server failed (rc=1305)' in the Zabbix 2.2 installation of MySQL MPM plug-ins!" Next, please follow the editor to study!

When installing the MySQL MPM plug-in, click Monitoring- > Latest data at the front end of zabbix web to view monitoring, but no monitoring data is generated

Check MPM's log and find the following error

[root@localhost etc] # tail-f / var/log/zabbix/FromDualMySQLagent.log

15989 run started 2017-04-1007 run started 59 run started 44.725-FromDual Performance Monitor for MySQL.

15989Viru 2017-04-1007Partition 59Partition 44.945-WARN: 192.168.174.187, 10051, db_server

15989 rc=1305 2017-04-1007 rc=1305 594-595-WARN: Connection to zabbix server failed (rc=1305)!

15989JV 2017-04-1007VlV 59buret 46.078-WARN: 192.168.174.187, 10051, db_server

15989 rc=1305 2017-04-1007 Virtue 59 WARN: Connection to zabbix server failed (rc=1305)!

Solution:

Comment out the check statement in the following file on the Zabbix Agent side

[root@localhost etc] # vim / usr/local/mysql_performance_monitor-agent/lib/sendData.pm

# $rc = & FromDualMySQLagent::checkConnectionToZabbixServer ($main::gParameter {'ZabbixServer'}, $main::gParameter {' ZabbixServerPort'}, $main::gParameter {'Hostname'})

Then close the Agentd service and delete the files in the cache folder

[root@localhost cache] # cd / var/log/zabbix/cache

[root@localhost cache] # rm-rf *

Then restart the Agentd service

After executing the FromDualMySQLagent.pl file again, the MPM log reports the following errors, but does not affect the generation of monitoring data. The correct data can be seen in the front end of Zabbix web.

[root@localhost etc] # tail-f / var/log/zabbix/FromDualMySQLagent.log

19420 run started 2017-04-11 07 run started 58 INFO: FromDual Performance Monitor for MySQL.

19420 2017-04-11 07 Velcro 58 56.190-Load of cache file failed. Rc=1301

19420 2017-04-11 07 Velcro 58 56.283-ERR: Load of cache file failed. Rc=1301

At this point, the study on "Zabbix 2.2 installing MySQL MPM plug-in Times wrong 'Connection to zabbix server failed (rc=1305)' is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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

Servers

Wechat

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

12
Report