Hi folks,
I am having a host behind a firewall that does not want to play with Zabbix (1.4.4). Here is my setup:
mylocation.mycompany.com = public ip (e.g. 82.55.99.88)
zabbix = NAT'ed ip (e.g. 192.168.1.2)
server = NAT'ed ip on same subnet (e.g. 192.168.1.3).
remotelocation.mycompany.com = public ip (e.g. 85.22.33.44)
remoteserver = NAT'ed ip (e.g. 192.168.0.4)
port 10050 forwarded to 192.168.0.4 in ADSL modem.
firewall accept tcp traffic on port 10050
I can successfully run passive checks on server and zabbix server, but not on remoteserver.
A simple check is:
[myuser@zabbix ~]$ telnet 192.168.1.3 10050
Trying 192.168.1.11...
Connected to 192.168.1.11 (192.168.1.11).
Escape character is '^]'.
helo
ZBXDZBX_NOTSUPPORTEDConnection closed by foreign host.
This seems to work.. but when I do the same to the ip of the remotelocation,
the following happens:
[thomas@server ~]$ telnet remotelocation.mycompany.com 10050
Trying 85.22.33.44...
Connected to mailmaster.linprofs.com (85.22.33.44).
Escape character is '^]'.
helo
^]
telnet> quit
Connection closed.
I've setup the agent to do full debugging, but there's nothing in the log file, except for just saying that it's starting up. I think it has something to do with the ip that the request is coming from (from the server to the agent)? I've used both the FQDN and the public ip address of mylocation.mycompany.com in the agent's zabbix_agentd.conf file.
Can anyone help me debug this? What else can I try?
I am having a host behind a firewall that does not want to play with Zabbix (1.4.4). Here is my setup:
mylocation.mycompany.com = public ip (e.g. 82.55.99.88)
zabbix = NAT'ed ip (e.g. 192.168.1.2)
server = NAT'ed ip on same subnet (e.g. 192.168.1.3).
remotelocation.mycompany.com = public ip (e.g. 85.22.33.44)
remoteserver = NAT'ed ip (e.g. 192.168.0.4)
port 10050 forwarded to 192.168.0.4 in ADSL modem.
firewall accept tcp traffic on port 10050
I can successfully run passive checks on server and zabbix server, but not on remoteserver.
A simple check is:
[myuser@zabbix ~]$ telnet 192.168.1.3 10050
Trying 192.168.1.11...
Connected to 192.168.1.11 (192.168.1.11).
Escape character is '^]'.
helo
ZBXDZBX_NOTSUPPORTEDConnection closed by foreign host.
This seems to work.. but when I do the same to the ip of the remotelocation,
the following happens:
[thomas@server ~]$ telnet remotelocation.mycompany.com 10050
Trying 85.22.33.44...
Connected to mailmaster.linprofs.com (85.22.33.44).
Escape character is '^]'.
helo
^]
telnet> quit
Connection closed.
I've setup the agent to do full debugging, but there's nothing in the log file, except for just saying that it's starting up. I think it has something to do with the ip that the request is coming from (from the server to the agent)? I've used both the FQDN and the public ip address of mylocation.mycompany.com in the agent's zabbix_agentd.conf file.
Can anyone help me debug this? What else can I try?
Comment