Page 1 of 1

Check logs that rotate

Posted: Thu Feb 28, 2013 2:45 am
by certo85
Hi,
i need a suggestion, i have to monitor some logs into a directory (on a windows server) to search a pattern.
I know the directory but i don't know the logs name.

I searched a plugin that can help me but i didn't found.

thx

Re: Check logs that rotate

Posted: Thu Feb 28, 2013 5:11 pm
by abrist
I dug around for one too, but all I could find were eventlog monitors, not ones specific to greping text files for strings. You may have to code up a custom solution. You could use nsclient to fire off a script that performs your needed operations. You could use check_by_ssh with cygwin and custom script as well.