Hi,
I am trying to do a log monitoring in an proxy monitored agent, for some reason, some kig files are getting data with no issues, some are not.
I could not find anything wrong about it in the debug log file from the agent, and its clearly working for other files.
[root@PROXY logs]# ls -ltr /etc/ansible/playbooks/bkpruns/logs/s1.db1818.small.bkp.log /tmp/zt.log
-rw-r--r-- 1 root root 6634 Jan 24 22:44 /etc/ansible/playbooks/bkpruns/logs/s1.db1818.small.bkp.log
-rw-r--r-- 1 root root 105 Jan 27 10:57 /tmp/zt.log
The /tmp/zt.log is an test file I add some data, its working fine, but the other file gets no data, its running for hours now.
Obs; I can see in the debug of the agent that it hass some old itens that I already deleted, its possible it have some old active checks activated somhow ? If so, how can I force the proxy/agent to get the most update data / clean it up ?
Regards,
Wagner.
I am trying to do a log monitoring in an proxy monitored agent, for some reason, some kig files are getting data with no issues, some are not.
I could not find anything wrong about it in the debug log file from the agent, and its clearly working for other files.
| test2 | log[/etc/ansible/playbooks/bkpruns/logs/s1.db1818.small.bkp.log] | 1m | 90d | Zabbix agent (active) | Ansible Log Files | ||||||
| test3 | log[/tmp/zt.log] | 1m | 90d | Zabbix agent (active) | Ansible Log Files |
-rw-r--r-- 1 root root 6634 Jan 24 22:44 /etc/ansible/playbooks/bkpruns/logs/s1.db1818.small.bkp.log
-rw-r--r-- 1 root root 105 Jan 27 10:57 /tmp/zt.log
| Proxy | Ansible Log Files (2 Items) | ||||||
| teste2 | |||||||
| teste3 | 2020-01-27 12:03:19 | 2016-08-13 13:03:05 third log entry | |||||
Obs; I can see in the debug of the agent that it hass some old itens that I already deleted, its possible it have some old active checks activated somhow ? If so, how can I force the proxy/agent to get the most update data / clean it up ?
Regards,
Wagner.
Comment