D
D
Dmitry2015-01-26 03:27:26
Zabbix
Dmitry, 2015-01-26 03:27:26

Why can't zabbix_proxy give data to zabbix_server?

There is a VPS, the Zabbix server is running on it. There is a local network, it has a local server with ubuntu, on which a zabbix proxy with muscle support and snmp is assembled from the source. Also in this network there is a microtic that needs to be monitored + other different hardware. Forwarding ports is tedious. The proxy is configured as active. The proxy config is like this:

ProxyMode=0
Server=<IP>
ServerPort=10051
Hostname=<hostname>
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=5
DebugLevel=3
PidFile=/var/run/zabbix/zabbix_proxy.pid
DBHost=localhost
DBSocket=/var/run/mysqld/mysqld.sock
DBName=zabbix
DBUser=<user>
DBPassword=<password>
DataSenderFrequency=1
StartTrappers=5

The hostname in the proxy config matches the name of the proxy in the server's face. The hosts that need to be monitored have exactly local ips (like 192.168.x.x), and it is also indicated that it is necessary to monitor through a proxy (selected from the list). However, nothing is monitored, data is not transmitted to the server, and in the proxy logs I see this:
19938:20150126:031335.259 Unable to connect to the server [IP]:10051 [cannot connect to [[IP]:10051]: [4] Interrupted system call]
19938:20150126:031435.259 Unable to connect to the server [IP]:10051 [cannot connect to [[IP]:10051]: [4] Interrupted system call]
19937:20150126:031442.498 Unable to connect to the server [IP]:10051 [cannot connect to [[IP]:10051]:[110] Connection timed out].
19937:20150126:031649.730 Still unable to connect...

Question: what does he not like???

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
D
Dmitry, 2015-01-26
@totalcount

I asked myself, and I will answer. Initially, I configured the proxy as passive, and, accordingly, forwarded port 10051 on Mikrotik. And at night I forgot to cut off the rule in nata. Disabled, everything worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question