Ok I installed Zabbix 1.4.4 on my server Debian etch.
The localhost is collecting data perfectly.
Then When I add windows hosts, I add their IP.
Install the agent and put a config file.
Then I get this error and on the server no data is collected.
I get few things like this ZBXDD for host information.
This is a small part of the log file on my client Windows xp
The localhost is collecting data perfectly.
Then When I add windows hosts, I add their IP.
Install the agent and put a config file.
Code:
# 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 (or hostnames) of ZABBIX servers. # No spaces allowed. First entry is used for sending active checks. # Note that hostnames must resolve hostname->IP address and # IP address->hostname. Server=10.131.56.110 # Server port for sending active checks ServerPort=10051 # Unique hostname. Required for active checks. Hostname=blx012-debian01 # Listen port. Default is 10050 ListenPort=10050 # IP address to bind agent # If missing, bind to all available IPs #ListenIP=127.0.0.1 # Number of pre-forked instances of zabbix_agentd. # Default value is 5 # This parameter must be between 1 and 16 StartAgents=5 # How often refresh list of active checks. 2 minutes by default. RefreshActiveChecks=120 # Disable active checks. The agent will work in passive mode listening server. #DisableActive=1 # Enable remote commands for ZABBIX agent. By default remote commands disabled. EnableRemoteCommands=1 # Specifies debug level # 0 - debug is not created # 1 - critical information # 2 - error information # 3 - warnings (default) # 4 - for debugging (produces lots of information) DebugLevel=4 # Name of PID file #PidFile= # Name of log file. # If not set, syslog will be used LogFile=c:\zabbix_agentd.log # Spend no more than Timeout seconds on processing # Must be between 1 and 30 Timeout=3 ####### USER-DEFINED MONITORED PARAMETERS ####### # Format: UserParameter=<key>,<shell command> # Note that shell command must not return empty string or EOL only #UserParameter=system.test,who|wc -l ### Set of parameter for monitoring MySQL server (v3.23.42 and later) ### Change -u<username> and add -p<password> if required #UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l #UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T" #UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q" #UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S" #UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O" #UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":" #UserParameter=mysql.version,mysql -V
Then I get this error and on the server no data is collected.
I get few things like this ZBXDD for host information.
This is a small part of the log file on my client Windows xp
Code:
2232:20080226:100827 Before read
2232:20080226:100827 Get active checks error: ZBX_TCP_READ() failed [Une connexion existante a dû être fermée par l'hôte distant.
]
2232:20080226:100827 Getting list of active checks failed. Will retry after 60 seconds
2216:20080226:100927 zabbix_agentd collector stopped
2196:20080226:100927 thread [0] is terminated
3616:20080226:100929 zabbix_agentd started. ZABBIX 1.4.4.
3464:20080226:100929 zabbix_agentd collector started
820:20080226:100929 zabbix_agentd listener started
2408:20080226:100929 zabbix_agentd listener started
1104:20080226:100929 zabbix_agentd listener started
988:20080226:100929 zabbix_agentd active check started [10.131.56.110:10051]
3464:20080226:100929 In GetCounterName() [index:6]
988:20080226:100929 In init_active_metrics()
988:20080226:100929 In refresh_metrics('10.131.56.110',10051)
988:20080226:100929 get_active_checks('10.131.56.110',10051)
3464:20080226:100929 In GetCounterName() [index:238]
988:20080226:100929 Sending [ZBX_GET_ACTIVE_CHECKS
blx012-debian01
]
3464:20080226:100929 In GetCounterName() [index:6]
988:20080226:100929 Before read
3464:20080226:100929 In GetCounterName() [index:238]
988:20080226:100929 Get active checks error: ZBX_TCP_READ() failed [Une connexion existante a dû être fermée par l'hôte distant.
]
3464:20080226:100929 In GetCounterName() [index:44]
988:20080226:100929 Getting list of active checks failed. Will retry after 60 seconds
3464:20080226:100929 In GetCounterName() [index:2]
988:20080226:101030 get_active_checks('10.131.56.110',10051)
988:20080226:101030 Sending [ZBX_GET_ACTIVE_CHECKS
blx012-debian01
]
988:20080226:101030 Before read
988:20080226:101030 Get active checks error: ZBX_TCP_READ() failed [Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte.
]
988:20080226:101030 Getting list of active checks failed. Will retry after 60 seconds
988:20080226:101131 get_active_checks('10.131.56.110',10051)
988:20080226:101131 Sending [ZBX_GET_ACTIVE_CHECKS
blx012-debian01
]
988:20080226:101131 Before read
988:20080226:101131 Get active checks error: ZBX_TCP_READ() failed [Une connexion existante a dû être fermée par l'hôte distant.
]
988:20080226:101131 Getting list of active checks failed. Will retry after 60 seconds
Comment