Logmon not able to read complete logfile
search cancel

Logmon not able to read complete logfile

book

Article ID: 242228

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM) Unified Infrastructure Management for Mainframe

Issue/Introduction

We are trying to monitor the log updates in a csv file but logmon is not able to read the complete file. The log file is being replaced with a new log file but with the same name and location.

Environment

  • Release : 20.3
  • Component : UIM LOGMON
  • logmon probe 4.20

Cause

- Unknown, maybe a regex that was too aggressive

Resolution

1. Adjust the Regex to make it simpler and easier, using an AND operator.

Here is the example regex used (which is also much easier to read/discern what you're parsing) so you copy it and adjust it in any way you require.

/(.*Failure.*)(.*Log Backup.*)(.*OracleDb.*)(.*GKTEST4.*)/

2. Under the logmon General Tab, set the format to UTF-8 for the csv format.

3. Test it in 'full' mode, and you will receive the expected alarm.

4. Empty the logmon alarm message window in testing so you can receive the default alarm during testing.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=TRDVcfmchNkaFQym6Y5L1w==

In testing, the profile was able to read the complete log file and able to generate the alert using the adjusted regex.

 

 

Attachments