How do I Enable Debug of SNMP, SMTP generated from AAI?
Release : 6.0.1
Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE
The following loggers can be set to DEBUG from the Configuration tool to see more deatils on when an SNMP trap or alert was triggered.
AlertVendorImpl
AlertGenerator
JawsSendSnmpTrap
JawsMibVars
This is an example of a System Alert you would find in the jaws.log, it will mention the Alert being generated, but will not specify whether it is SNMP or email based.
Then you will get messages like "DEBUG [AlertVendorImpl] Saving generated alert. Scheduler: dev autosys r12-v1. Type: JAMMER_LATE"
For Jobstream alerts I found a few log strings like below:
DEBUG [AlertGenerator] Generating new Alert for jobstream 16593_boxA
DEBUG [AlertVendorImpl] Saving generated alert. Scheduler: Dev_autosys. Jobstream: 16593_boxA. Type: JOBSTREAM_TARGETJOB_WONT_RUN
DEBUG [AlertGenerator] Generating Targetjob wont run alert for job stream 16593_boxA, target job 16593_boxA
DEBUG [AlertGenerator] ALERT DV=
16593_boxA09/18/2020 16:30:00 EDTNot Predicted to Finish216593_boxB, 16593_boxAN/AN/A0:11:3109/18/2020 17:00:48 EDT09/18/2020 17:07:36 EDT09/18/2020 17:08:03 EDT067N/A09/18/2020 16:41:31 EDTEN1Dev_autosys16593_boxAAll JobstreamsAAI_orcllvnbld011845http://lvnbld011845:8080/jaws/launch.jnlp?stream=AXSi7LR3a9s=AXSi7LR3a9s=
JawsSendSnmpTrap
DEBUG [JawsSendSnmpTrap] Got parameters for the SNMP Manager: Host= hostname Port= 162 Community= public
DEBUG [JawsSendSnmpTrap] Sending Trap to hostname:162:public:VS=5
DEBUG [JawsSendSnmpTrap] Loading C:\aai\jboss\standalone\configuration\terma.mib 1/1
DEBUG [JawsSendSnmpTrap] Sorting C:\aai\jboss\standalone\configuration\terma.mib 1/1
DEBUG [JawsSendSnmpTrap] Compiling TermaMib 1/1
DEBUG [JawsSendSnmpTrap] Done Sending Trap