Go to All Forums

monitor log file

Is there a plugin or easy way to monitor a flat file on a server for specific messages while keeping track of place in file. I know there is the file content check, but that seems to check the entire file and would pull in old messages 

Reply 1
Replies (3)

Re: monitor log file

Hi,

For File Content Check, as soon as the check is added, the file is read from the beginning. After that, the checks are done from the last checked point in the file. After the first poll, the place in the file is tracked and only new entries are scanned in the content.

Please let us know if this helps.

 

Regards

Bhuvaneshwari

Reply 0

Re: Re: monitor log file

That helps.

 

Follow-ups:

1. the Max Occurrences doesn't seem to allow 0, I want it to raise an alert on first occurrence. A value of means it has to match on 2 occurrences or more.

 

Reply 0

Re: Re: Re: monitor log file

Hi,

Setting 'Max Occurrence' to 1 will ensure that the alert is raised on first occurrence. Alert will be triggered when count is equal to or greater than the max occurrence value.

 

Regards

Bhuvaneshwari

Reply 0