How do I enable logging to capture APM SNMP Alert Actions?

Document ID : KB000048001
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

If in DEBUG mode, this shows up in the Introscope EM log. But there are far too many other messages to go through. Is there a way to log just these SNMP alert actions?

Solution:

Add the following into the IntroscopeEnterpriseManager.properties file on the Enterprise Manager:

log4j.logger.Manager.SNMPAlertAction=DEBUG, snmplogfile       
log4j.additivity.Manager.SNMPAlertAction=false 
log4j.appender.snmplogfile=com.wily.org.apache.log4j.RollingFileAppender
log4j.appender.snmplogfile.layout=com.wily.org.apache.log4j.PatternLayout
log4j.appender.snmplogfile.layout.ConversionPattern=%d{M/dd/yy hh:mm:ss az} [%-3p] [%c] %m%n log4j.appender.snmplogfile.File=logs/perflog.txt
log4j.appender.snmplogfile.MaxBackupIndex=2
log4j.appender.snmplogfile.MaxFileSize=20MB