Logging SNMP Agent Actions

When the LSMS SNMP agent process starts, stops, or sends a trap request, it logs information about the action in a log file. The log file is named lsmsSNMP.log. The log file is stored in the directory /usr/TKLC/lsms/logs/snmp and is automatically deleted after 7 days. If either the log file or its directory does not already exist, the agent process creates the file or the directory, or both, when one of these actions occurs.

The log file has a maximum size of 5 MB. After the log is completely filled, its contents are copied to a backup file lsmsSNMP.log.backup in the same directory, and actions are logged from the beginning of a fresh lsmsSNMP.log file.

For more information about what is logged in this file, see “Logging SNMP Agent Actions”.