View Full Version : Host Error "Cannot connect to host"
Hello,
Can somebody help us.
The host off zabbix gives the follwing message:
Status Availability Error
Monitored Available Cannot connect to [Host] [Connection refused]
Kind regards,
Han
cybermage
27-12-2005, 15:59
What is result of
telnet host 10000
? (Change host to your host IP and 10000 to port, where zabbix agent runs)
hello,
Thanks for your quick reaction.
It gives the following message
zabbix$ telnet 192.168.100.6 10051
Trying 192.168.100.6...
Connected to 192.168.100.6.
Escape character is '^]'.
Connection closed by foreign host.
Kind regards,
Han
cybermage
27-12-2005, 16:26
Check
Server =
in zabbix_agentd.conf
you should enable IP, where server is querying
The server side in ie 192.168.100.6
Agentd.conf see below
# This is config file for zabbix_agentd
# To get more information about ZABBIX, go http://www.zabbix.com
############ GENERAL PARAMETERS #################
# List of comma delimited IP addresses of ZABBIX servers. No spaces allowed.
# First IP is used for sending active checks.
Server=192.168.100.6
# Server port for sending active checks
ServerPort=10051
#
cybermage
27-12-2005, 17:14
The server side in ie 192.168.100.6
Server=192.168.100.6
Server=192.168.100.6,192.168.100.6
?
And what does say agent log ?
Is there any error ?
No No
server=192.168.100.6
We use http://192.168.100.6 (ie) to login into zabbix
Log file is:
015318:20051227:172859 zabbix_agentd started. ZABBIX 1.1beta1.
015319:20051227:172859 zabbix_agentd 15319 started
015320:20051227:172859 zabbix_agentd 15320 started
015321:20051227:172859 zabbix_agentd 15321 started
015323:20051227:172859 zabbix_agentd 15323 started
015322:20051227:172859 zabbix_agentd 15322 started
cybermage
28-12-2005, 09:19
015320:20051227:172859 zabbix_agentd 15320 started
015321:20051227:172859 zabbix_agentd 15321 started
015323:20051227:172859 zabbix_agentd 15323 started
015322:20051227:172859 zabbix_agentd 15322 started
Could you increase log level of agent please ?
We solved the problem, but now we have on triggers.
In the alpha7 they come automaticly when you us the unix templates. We read in the forum that it is a bug in the beta4?
Thanks for your help and quick respones
Han
cybermage
29-12-2005, 16:19
We solved the problem, but now we have on triggers.
What was the problem ?
In the alpha7 they come automaticly when you us the unix templates. We read in the forum that it is a bug in the beta4?
Sorry, I don't understand problem with triggers.
When you select " add items form template" the error "cannot connect to host" is gone. :o
Kind Regards and thanks for the quick reactions.
Han