The Windows platform's Zabbix agent has just been installed and started successfully, but the Zabbix Web monitoring page shows that the Windows Server is still not discoverable: the general meaning is that you cannot connect to this Zabbix agent side.
Based on previous experience, I logged on to the Zabbix server to execute the zabbix_get command to test:
[[email protected] ~]# zabbix_get -s 10.253.40.64 -p 10050 -k "agent.version"
zabbix_get [22209]: Timeout while executing operation
Moreover, this error output will wait for a long time.
Boss see this error, and let me execute the telnet command:
[[email protected] ~]# telnet 10.253.40.64 10050
Trying 10.253.40.64...
telnet: connect to address 10.253.40.64: Connection timed out
will also wait a long time.
Search the online method, said the server boot time more than 400 days caused some problems ... Am I going to restart the server for this?
Fuck you! It's all a damn nonsense!!
Or find a way to do it on a 51cto blog:
On the Windows Server, right-click on "Computer", select "Manage", in the pop-up "Server Manager" in turn open "Windows Firewall with Advanced Security" under "Configuration".
Click "Windows Firewall Properties", in the Pop-up dialog box, click on the "Public Profile" tab, click "Firewall Status" next to the drop-down list, select "Close", you can click on the "OK" button to save the configuration.
Note: Some servers may need to be set up in the "Domain Profile", "Private Profile" 2 tabs. These 3 tabs have a firewall on/off setting. If necessary, you may need to close all.
At this point, go back to the Zabbix server to execute the command:
[[email protected] ~]# zabbix_get -s 10.253.40.64 -p 10050 -k "agent.version"
2.4.4
reacted very quickly.
There is no problem executing the telnet command.
[[email protected] ~]# telnet 10.253.40.64 10050
Trying 10.253.40.64...
Connected to 10.253.40.64.
Escape character is ‘^]‘.
The Zabbix monitoring page is also working quickly.
Reference: Http://xjlsky.blog.51cto.com/22754/1770795--zabbix errors encountered in the monitoring
This article is from the "Dark-matter" blog, make sure to keep this source http://gagarin.blog.51cto.com/1056957/1870355
Zabbix server executes Zabbix_get command times wrong: "Zabbix_get [22209]: Timeout while executing operation"