View Full Version : Zabbix Agent on Windows
Dunmarie
30-01-2009, 07:13
I have just installed Zabbix and monitoring from Linux boxes is a breeze.
However, for some reason I can't get the monitoring of Windows machines right.
I have installed the agent as a service, checked the service is running. I made sure the Windows firewall is not interfering, even turned it off, but no data is collected by Zabbix. :confused:
The host is loaded on Zabbix and the standard Windows Template loaded.
Am I missing something when it comes to the monitoring of Windows?
Any help will be appreciated.
troffasky
30-01-2009, 12:35
Can you telnet from the Zabbix server to the agent port on the Windows box?
From a working setup:
# telnet 2k3ts 10050
Trying 192.168.40.4...
Connected to 2k3ts
Escape character is '^]'.
Are you there?
ZBX_NOTSUPPORTED
Connection closed by foreign host.
At the very least you should get 'Connected to'. I installed the agents using the MSI installer.
Dunmarie
30-01-2009, 12:46
Yes I can telnet to the windows computers using the following:
telnet exchange.gaappos.net 10050
Trying 10.18.201.251...
Connected to exchange.gaappos.net.
Escape character is '^]'.
Mine however stop after the Escape Character.
Netstat reveals a listening port 10050:
netstat -an |find /i "listening"
TCP 10.18.201.251:10050 0.0.0.0:0 LISTENING
troffasky
30-01-2009, 13:21
Mine however stop after the Escape Character.
Yes, I typed 'Are you there?' and pressed enter :-)
Dunmarie
02-02-2009, 08:52
I found the reason for my problem.
If you configure your Hosts in Zabbix frontend, don't use special characters.
For example, DJS-Laptop will not work, but DJS Laptop works fine.
troffasky
02-02-2009, 10:10
That doesn't sound right. I've got many hosts configured with '-' in the name [although come to think of it, they're SNMP agents, not Zabbix agents]. What version are you on? Do you get errors in the logs?
Dunmarie
02-02-2009, 10:16
I am on version 1.6.2.
The agents I am using is also 1.6.2.
There was no error's in the log except for:
5496:20090202:091208 OK
5496:20090202:091213 Info from server: Processed 0 Failed 1 Total 1 Seconds spent 0.001988
I then changed the Name under host and in the config file and it started working immediately.