How to manage/limit the size of the Alarm Nottifier log file (NOTIFIER.OUT)?
search cancel

How to manage/limit the size of the Alarm Nottifier log file (NOTIFIER.OUT)?

book

Article ID: 199177

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

This article explains the available options for this requirement.

Environment

All Spectrum supported versions

Resolution

Currently, there are no out-of-box available configuration/parameters to manage/limit the size of the NOTIFIER.OUT.

However, you have 2 other options to do it:


Option 1- You can restart the notifier process. Based on the manual each time AlarmNotifier starts, a new log file is generated and a backup of the previous log file is created as NOTIFIER.OUT.bak

You can also change the number of notifier log file backups retained, by configuring the $SPECROOT/lib/SDPM/partslist/AlarmNotifier.idb:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/10-4-2/managing-client-applications/alarmnotifier/operating-alarmnotifier/start-alarmnotifier-with-the-process-daemon.html 

----------------
Note:

Each time AlarmNotifier starts, a new log file is generated, and a backup of the previous log file is created. However, the SpectroSERVER only stores the two most recent AlarmNotifier log files. To keep more Notifier log files, add this line after the LOGNAMEPATH entry, LOGBACKUPMAX;10; This will save 10 copies of your Notifier Log file.  
----------------

If you want to restart the process automatically then you can create a batch file and you can use the O.S task scheduler to schedule based on your requirement (daily or weekly). 

 

Option 2 - You can create a script to "manually" rotate the notifier log file (there is not an OOB automatic process to do it), without recycling AlarmNotifier process. Please refer to the following article:

https://knowledge.broadcom.com/external/article/112742