I've got a problem with log file monitoring. I'm trying to monitor the content of a .txt file.
The first time it works and it gives me a good result. When I change the content of the .txt file it won't update properly.
For example, when I look at my monitoring this is what is says:
But when I look into my file it says 96786678.
So it just shows the last number. It works when I restart the service each and every time. But thats not what I want.
It has to check 8 txt files and they all come with the same problems. Its the same with numbers and letters.
Could this be a problem with me manually editing these txt files? They normally get there input from a script which monitors our databases. But as I'm trying to test it I thought it might be smart to manually adjust them.
Let me know, if there are any obscurities and I'll try to explain them.
I'm running ZABBIX 1.4.4
The first time it works and it gives me a good result. When I change the content of the .txt file it won't update properly.
For example, when I look at my monitoring this is what is says:
Code:
2008.Feb.26 14:55:58 8 2008.Feb.26 14:54:58 2452525
So it just shows the last number. It works when I restart the service each and every time. But thats not what I want.
It has to check 8 txt files and they all come with the same problems. Its the same with numbers and letters.
Could this be a problem with me manually editing these txt files? They normally get there input from a script which monitors our databases. But as I'm trying to test it I thought it might be smart to manually adjust them.
Let me know, if there are any obscurities and I'll try to explain them.
I'm running ZABBIX 1.4.4
Comment