SystemEDGE Log File monitoring based on date

book

Article ID: 6517

calendar_today

Updated On:

Products

CA Systems Performance for IM (SystemEdge) CA eHealth

Issue/Introduction

The requirement is to check log file entries for today's date and if the line also includes "N" to send an alert.

Environment

Release: SYSPAG99000-5.7-Systemedge
Component:

Resolution

  • SytemEDGE regex is looking for a pattern match, but there is no way for the agent to automatically enumerate what today's date is.
  • The only way to satisfy this requirement would be to have the application alter the logging to create a new log file every 24 hours.
  • SystemEDGE supports rotating log files and will monitor the newest file.
  • You could then use a log file monitor agaisnt the most current file to match lines that have the N value. 

.