Need an urgent fix to monitor dynamic log file name in format below..Attached is the file format.. debug-2017-07-10-200924.txt
What are you exactly trying to do? Could you be more precise? Do you want to use the logmon probe?
Can't you use something generic as "debug-*.txt"?
Hi San!
You will need to use the Logmon probe and here is some Tips to help you to know how the probe works:
logmon Hints and Examples - CA Unified Infrastructure Management Probes - CA Technologies Documentation
Tech Tip: UIM - How can I monitor a read-only filesystem on a Linux machine?
Tech Tip: UIM - How to specify and use wildcards/regex for the logmon probe target file field
logmon -How to monitor only first/last x lines.
How can I monitor stderr messages with logmon probe
Upper limit for the number of characters in logmon for exclude field.
How to configure logmon Watcher for a certain string
How to configure the logmon probe in Unified Infrastructure Management to generate alarms based on a threshold.
https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.TEC000004644.html
Thank you information provided was much helpful..
the logmon probe supports data and time in the file extension.the file name you have does not appear to be a date time stamp format that I can decipher.You can see the time formatting section in the logmon advanced documentation on what is supported.https://docops.ca.com/ca-unified-infrastructure-management-probes/ga/en/alphabetical-probe-articles/logmon-log-monitoring/logmon-im-configuration/logmon-advanced-im-configuration#logmonAdvancedIMConfiguration-UseTimeFormattingPrimitives I did a quick test in my lab and you could use something such as the following\debug-%Y-%m-%d-*.txtthis would read in all the files for the same day and parse out the information you are looking for.If you would like to identify which file the alarm came fromadd the ${FILENAME} to the message string and set the alarm tab suppression key to this as well ${FILENAME}Otherwise all the files will be read but the alarms will come into a single alarm per watcher and just increase the count.
Thank you Gene