I'm new to Zabbix I installed the 5.2 version on Ubuntu 20.04 using MySQL database and running on Apache.
I was able to add 2 computers for monitoring, data is being collected, but the eventlog is not working.
I setup the log item as Zabbix agent (active), using the key "eventlog[Application,,,,,,]", but nothing comes up.
Checking the agent lof file, seems to be fine, no errors:
The Zabbix server ip address: 192.168.14.36
The Zabbix server hostname: zabbix
The agent config file is configured as shown below:
Zabbix agent config file:
Zabbix server config file:
The computers that I'm trying to collect data have the 10050 port open on firewall.
I found some tutorials: https://medium.com/zabbix-tutorials/...x-736d87af8a1e is exactly what I'm looking for, I followed the steps, but couldn't make it work.
Regards,
LC
I was able to add 2 computers for monitoring, data is being collected, but the eventlog is not working.
I setup the log item as Zabbix agent (active), using the key "eventlog[Application,,,,,,]", but nothing comes up.
Checking the agent lof file, seems to be fine, no errors:
Code:
6168:20210205:101922.186 Starting Zabbix Agent [spujun-wks03]. Zabbix 5.2.4 (revision e9f58de09c). 6168:20210205:101922.187 **** Enabled features **** 6168:20210205:101922.188 IPv6 support: YES 6168:20210205:101922.190 TLS support: YES 6168:20210205:101922.191 ************************** 6168:20210205:101922.192 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf 6168:20210205:101923.330 agent #0 started [main process] 8080:20210205:101923.332 agent #1 started [collector] 10132:20210205:101923.333 agent #2 started[listener #1] 8776:20210205:101923.334 agent #3 started[listener #2] 8788:20210205:101923.335 agent #4 started[listener #3] 9952:20210205:101923.336 agent #5 started [active checks #1]
The Zabbix server hostname: zabbix
The agent config file is configured as shown below:
Code:
LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log Server=192.168.14.36 ServerActive=192.168.14.36 Hostname=spujun-wks03 HostnameItem=system.hostname RefreshActiveChecks=120 Include=C:\Program Files\Zabbix Agent\zabbix_agentd.conf.d\
Code:
PidFile=/run/zabbix/zabbix_agentd.pid LogFile=/var/log/zabbix/zabbix_agentd.log LogFileSize=0 Server=127.0.0.1 ServerActive=127.0.0.1 Hostname=zabbix Include=/etc/zabbix/zabbix_agentd.d/*.conf
Code:
LogFile=/var/log/zabbix/zabbix_server.log LogFileSize=0 PidFile=/run/zabbix/zabbix_server.pid SocketDir=/run/zabbix DBName=zabbix DBUser=zabbix DBPassword=MyStr0ngP4$$w0rd SNMPTrapperFile=/var/log/snmptrap/snmptrap.log CacheSize=32M Timeout=4 FpingLocation=/usr/bin/fping Fping6Location=/usr/bin/fping6 LogSlowQueries=3000 StatsAllowedIP=127.0.0.1
I found some tutorials: https://medium.com/zabbix-tutorials/...x-736d87af8a1e is exactly what I'm looking for, I followed the steps, but couldn't make it work.
Regards,
LC
Comment