Skip to Content
0
Nov 04, 2009 at 11:13 AM

Log Monitoring

13 Views

I am required to configure log monitoring for several systems (>100). To do this, I will need to transfer the .ini files (templates) to various systems and also modify the sapccmsr.ini file.

Luckily, the sapccmsr.ini file remains the same across all the systems. However, I still need to edit and transfer all the template files individually to all the systems as they contain system specific parameters like below for eg:

LOGFILE_TEMPLATE

DIRECTORY="/oracle/SID/sapbackup"(<<<<---- SID is a system specific parameter)

FILENAME="*.anf"

MONITOR_NEWEST_FILES=1

MTE_CLASS="BACKUPS"

Is there some way to script the files such that the strings are retrieved as combination of words like below (does not work 😔 )... or something else with which such values are calculated at run time.

LOGFILE_TEMPLATE

DIRECTORY="/oracle/" + $SAPSYSTEMNAME + sapbackup"

FILENAME="*.anf"

MONITOR_NEWEST_FILES=1

MTE_CLASS="BACKUPS"

Thanks,