check_logfiles is a plugin for Nagios which searches for patterns in logfiles. It is capable of scanning multiple logfiles and their rotated ancestors in a single run.