Hello,
I am using Zabbix for monitoring proccess , services etc.
I would like to monitor one of our application by monitoring the log file.
I wish to monitor the log file size and check if it has been changed or not.
If it has been changed - then probably everything is working and the application is OK.
If the file has not been changed for 1 min or more, I would like to get a notification with error message.
I have tried to accomplish that with log[c:\tmp\test.log] in the key but it looks for a pattern while I would like to check if the log file has been changed or not.
What key should use in order to accomplish that? Maybe vfs.file.time? vfs.file.cheksum? ?
Please help.
Thanks in advance.
I am using Zabbix for monitoring proccess , services etc.
I would like to monitor one of our application by monitoring the log file.
I wish to monitor the log file size and check if it has been changed or not.
If it has been changed - then probably everything is working and the application is OK.
If the file has not been changed for 1 min or more, I would like to get a notification with error message.
I have tried to accomplish that with log[c:\tmp\test.log] in the key but it looks for a pattern while I would like to check if the log file has been changed or not.
What key should use in order to accomplish that? Maybe vfs.file.time? vfs.file.cheksum? ?
Please help.
Thanks in advance.
Comment