Good morning everyone,
first of all a greeting to all, I am a new user of the forum.
I am writing to ask you for a help in configuring Zabbix for monitoring Log files.
The version of Zabbix in use is: Zabbix 5.0.12 on Docker desktop.
I configured Zabbix to read the contents of a log file of a CentOS 7 server, creating a Log_Monitoring template and inside it, I created a Log item configured as follows:
Type: Zabbix Agent (Active)
Key: log[/var/log/applicazione.log,,,,skip,,,] ho provato anche log[/var/log/applicazione.log,,,,skip,,]
Type Information: Log
Update interval: 1s
History storage period: Storage period 90d
I followed the official guide for configuring the Template and it seems to me that I have done everything correctly, but the log is not received by zabbix. On this server I have also enabled other templates such as Template Module Linux filesystems by Zabbix agent, which work regularly.
On the client in /var/log/zabbiz/zabbix_agentd.log I have no particular errors and the last line says:
31680: 20220318: 102811.088 active check configuration update from [xxx.xxx.xxx.xxx:10051] is working again
hich makes me understand that the active mode agent works regularly. On the other hand, I cannot view the server log files, as I cannot find them in the Docker container.
I hope someone can help me solve this problem that has been gripping me for some time.
Thank you
first of all a greeting to all, I am a new user of the forum.
I am writing to ask you for a help in configuring Zabbix for monitoring Log files.
The version of Zabbix in use is: Zabbix 5.0.12 on Docker desktop.
I configured Zabbix to read the contents of a log file of a CentOS 7 server, creating a Log_Monitoring template and inside it, I created a Log item configured as follows:
Type: Zabbix Agent (Active)
Key: log[/var/log/applicazione.log,,,,skip,,,] ho provato anche log[/var/log/applicazione.log,,,,skip,,]
Type Information: Log
Update interval: 1s
History storage period: Storage period 90d
I followed the official guide for configuring the Template and it seems to me that I have done everything correctly, but the log is not received by zabbix. On this server I have also enabled other templates such as Template Module Linux filesystems by Zabbix agent, which work regularly.
On the client in /var/log/zabbiz/zabbix_agentd.log I have no particular errors and the last line says:
31680: 20220318: 102811.088 active check configuration update from [xxx.xxx.xxx.xxx:10051] is working again
hich makes me understand that the active mode agent works regularly. On the other hand, I cannot view the server log files, as I cannot find them in the Docker container.
I hope someone can help me solve this problem that has been gripping me for some time.
Thank you
Comment