Hi,
I've been troubling myself these days with learning to setup zabbix to monitor Windows 2016 server(s).
Server is deployed on Centos7, agent is on W2016 Srv Std.
I've configured PSK on both sides (agent.conf on W2016 and on Zabbix frontend for same host). Checks are working, W2016 sends its data to ZBX, but...
There are lines in log that point that either something is wrong with agent logging errors to log, or it doesn't really works.
This is what I get in Agent Log:
8652:20200414:150739.470 Starting Zabbix Agent [myWin2016.domain.loc]. Zabbix 4.0.17 (revision a528a0a4bc).
8652:20200414:150739.470 **** Enabled features ****
8652:20200414:150739.471 IPv6 support: YES
8652:20200414:150739.472 TLS support: YES
8652:20200414:150739.473 **************************
8652:20200414:150739.473 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
8652:20200414:150739.561 agent #0 started [main process]
7120:20200414:150739.562 agent #1 started [collector]
6172:20200414:150739.563 agent #2 started[listener #1]
7788:20200414:150739.564 agent #3 started[listener #2]
8696:20200414:150739.564 agent #4 started[listener #3]
8564:20200414:150739.565 agent #5 started [active checks #1]
7788:20200414:150755.670 failed to accept an incoming connection: from 192.168.1.1 : unencrypted connections are not allowed
Agent Conf:
#########
LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log
DebugLevel=3
EnableRemoteCommands=1
LogRemoteCommands=1
Server=192.168.1.1
StartAgents=3
ServerActive=192.168.1.1
Hostname=myWin2016.domain.loc
HostMetadata=Windows
HostMetadataItem=system.uname
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=PSK001
TLSPSKFile=C:\Program Files\Zabbix Agent\psk.key
#########
On frontend, host is "green" both ZBX and both PSKs, meaning that correct PSK id and key and hostname are ok in Zabbix web gui.
I've checked firewall, read documentation, but still haven't solved this.
What am I missing and where.
Thanks.
I've been troubling myself these days with learning to setup zabbix to monitor Windows 2016 server(s).
Server is deployed on Centos7, agent is on W2016 Srv Std.
I've configured PSK on both sides (agent.conf on W2016 and on Zabbix frontend for same host). Checks are working, W2016 sends its data to ZBX, but...
There are lines in log that point that either something is wrong with agent logging errors to log, or it doesn't really works.
This is what I get in Agent Log:
8652:20200414:150739.470 Starting Zabbix Agent [myWin2016.domain.loc]. Zabbix 4.0.17 (revision a528a0a4bc).
8652:20200414:150739.470 **** Enabled features ****
8652:20200414:150739.471 IPv6 support: YES
8652:20200414:150739.472 TLS support: YES
8652:20200414:150739.473 **************************
8652:20200414:150739.473 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
8652:20200414:150739.561 agent #0 started [main process]
7120:20200414:150739.562 agent #1 started [collector]
6172:20200414:150739.563 agent #2 started[listener #1]
7788:20200414:150739.564 agent #3 started[listener #2]
8696:20200414:150739.564 agent #4 started[listener #3]
8564:20200414:150739.565 agent #5 started [active checks #1]
7788:20200414:150755.670 failed to accept an incoming connection: from 192.168.1.1 : unencrypted connections are not allowed
Agent Conf:
#########
LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log
DebugLevel=3
EnableRemoteCommands=1
LogRemoteCommands=1
Server=192.168.1.1
StartAgents=3
ServerActive=192.168.1.1
Hostname=myWin2016.domain.loc
HostMetadata=Windows
HostMetadataItem=system.uname
TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=PSK001
TLSPSKFile=C:\Program Files\Zabbix Agent\psk.key
#########
On frontend, host is "green" both ZBX and both PSKs, meaning that correct PSK id and key and hostname are ok in Zabbix web gui.
I've checked firewall, read documentation, but still haven't solved this.
What am I missing and where.
Thanks.
Comment