The Alarm Log and History Files
Introduction
The alarm log files record the NE alarms that have been cleared and acknowledged, as well as other alarm types described below. One file is created per day.
The current alarm log file has the name “alarms.txt” and is located in the directory “/opt/nem/var/log”.
The size of the alarm log file depends on the number of alarms that are recorded (approximately 150 bytes per alarm if there is no Operator Message). For a network of approximately 300 nodes, the alarm log file may grow by a few Mbyte per day or a few Mbyte per hour in the case of an unstable network. The rate at which the file grows is highly dependent on the type of network being managed and how well it is managed.
To prevent the alarm log file from growing until it causes a “disk full” condition, its contents are automatically flushed to a new history file every 24 hours at 23:55. Then, in default configuration, history files older than 30 days are automatically deleted.
Please note:
The history range can be set from 2 up to 730 days by modifying the logfile_keep.time parameter of “/opt/nem/etc/alarming.conf” file.
Identification of the automatically created alarm history files occurs through time stamping. Timestamp syntax is:
alarms_YYYYMMDD.txt
where YYYYMMDD is the year, month, and day on which the alarms have been collected (starting 5 minutes before midnight).