DX Unified Infrastructure Management

  • 1.  Error log monitoring

    Posted Aug 03, 2017 11:16 PM
      |   view attached
    Need an urgent fix  to monitor dynamic log file name in format below..Attached is the file format..  debug-2017-07-10-200924.txt


  • 2.  Re: Error log monitoring

    Posted Aug 04, 2017 04:47 AM

    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"?



  • 3.  Re: Error log monitoring



  • 4.  Re: Error log monitoring

    Posted Aug 07, 2017 02:28 PM

    Thank you information provided was much helpful..



  • 5.  Re: Error log monitoring

    Broadcom Employee
    Posted Aug 04, 2017 09:12 AM

    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-*.txt
    this 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 from
    add 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.



  • 6.  Re: Error log monitoring

    Posted Aug 07, 2017 02:28 PM

    Thank you Gene