Hello all,
I have some problems, getting active checks to work. First of all, here ary my client and server config files:
Client
Server
If I start the agent I get in the logs at the client:
Port 10051 is open at the server and accepting connections.
For testing purposes I have created an item 'system.localtime' as 'Zabbix agent (active)'.
The hostname in the client.conf is the same as the hostname used in the webinterface for the client.
In the webinterface you see the host as not responding (no wonder nat is blocking incomng connection attempts...):
client-hostname <clients hostname>.dyndns.org <clients ip> 10050 VPN-Server Monitored Not available Cannot connect to [ghar-sshtunnel] [Connection refused] Items : Triggers : Graphs
Does anyone have an idea whats wrong here? I'm a little clueless
I have some problems, getting active checks to work. First of all, here ary my client and server config files:
Client
Code:
Server=server.hostname.tld ServerPort=10051 Hostname=client ListenPort=10050 ListenIP=127.0.0.1 StartAgents=5 RefreshActiveChecks=60 DisableActive=0 EnableRemoteCommands=1 DebugLevel=4 PidFile=/tmp/zabbix_agentd.pid LogFile=/tmp/zabbix_agentd.log Timeout=3
Code:
Server=1 StartPollers=6 StartTrappers=5 ListenPort=10051 ListenIP=<server ip> HousekeepingFrequency=1 SenderFrequency=30 DebugLevel=3 Timeout=5 PidFile=/tmp/zabbix_server.pid LogFile=/tmp/zabbix_server.log FpingLocation=/usr/sbin/fping DBHost=localhost DBName=zabbix DBUser=zabbix DBPassword=<password for database>
Code:
27974:20070318:192749 zabbix_agentd started. ZABBIX 1.3.3.
27975:20070318:192749 zabbix_agentd collector started
27976:20070318:192749 zabbix_agentd listener started
27977:20070318:192749 zabbix_agentd listener started
27978:20070318:192749 zabbix_agentd listener started
27979:20070318:192749 zabbix_agentd active check started [server.hostname.tld:10051]
27979:20070318:192749 In init_active_metrics()
27979:20070318:192749 In refresh_metrics('server.hostname.tld',10051)
27979:20070318:192749 get_active_checks('server.hostname.tld',10051)
27979:20070318:192749 Sending [ZBX_GET_ACTIVE_CHECKS
<clients name>
]
27979:20070318:192749 Before read
27979:20070318:192749 In parse_list_of_checks('ZBXD')
27979:20070318:192749 In disable_all_metrics()
27979:20070318:192749 Parsed [ZBXD]
27979:20070318:192749 In process_active_checks('server.hostname.tld',10051)
27979:20070318:192749 In get_min_nextcheck()
27979:20070318:192749 Sleeping for 60 seconds
For testing purposes I have created an item 'system.localtime' as 'Zabbix agent (active)'.
The hostname in the client.conf is the same as the hostname used in the webinterface for the client.
In the webinterface you see the host as not responding (no wonder nat is blocking incomng connection attempts...):
client-hostname <clients hostname>.dyndns.org <clients ip> 10050 VPN-Server Monitored Not available Cannot connect to [ghar-sshtunnel] [Connection refused] Items : Triggers : Graphs
Does anyone have an idea whats wrong here? I'm a little clueless

Comment