Logmon probe monitoring of different files at different time

Discussion created by ken.howell on Mar 18, 2014
Latest reply on Mar 18, 2014 by jonhcw

 I have a situation where I need to monitor different .log files at different times such as daily and weekly. I currently have a profile to look at a nightly backup log for failures. It looks in a location for a specific file name (i.e. backup_daily_%y%m%d.log) and because of the time primitives it always looks for the current days log.  If it's not there (because the log was generated yesterday) it will alarm at each check interval with no log found. To keep that from happening I have edited the probe to only wake up once a day, scan the file for "failed", alarm if found or go back to sleep if not.

 Here's the problem. I need to look in the same folder at another weekly generated log file and I can't specify another wakeup period in the probe configuration. I don't want to make a bunch of pre-processing rules to exclude alarms from  the probe.


Does anyone have any suggestions?