Smarts IP: Debug statements are seen in the server log after the debug level was set to FALSE in the discovery-snmp-trap.asl file
search cancel

Smarts IP: Debug statements are seen in the server log after the debug level was set to FALSE in the discovery-snmp-trap.asl file

book

Article ID: 303725

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:



 

Debug statements are seen in the Ionix IP/Smarts IP server log after the debug level was set to FALSE in the discovery-snmp-trap.asl file (/IP/smarts/local/rules/discovery/discovery-snmp-trap.asl) as follows:

default debug = FALSE

 

The following debug statements are received in Ionix IP/Smarts IP APM logs:

discovery/discovery-snmp-trap.asl: [DEFAULT]: 1309427974|169.x.x.x|.1.3.6.1.6.3.1.1.5|2|0|.1.3.6.1.2.1.2.2.1.1.122|1 22|.1.3.6.1.2.1.2.2.1.2.122|GigabitEthernet3/26|.1.3.6.1.2.1.2.2.1.3.122|6|.1.3.6.1.4.1.9.2.2.1.1.20.122|Lost Carrier|.1.3.6.1.4.1.733.6.3.18.1.5.0|1|.1.3.6.1.4.1.733.6.3.18.1.6.0|A9 39 DF D0 |
discovery/discovery-snmp-trap.asl: [DEFAULT]: 1309427974|137.x.x.x|.1.3.6.1.2.1.11|3|0|.1.3.6.1.2.1.2.2.1.1.7|7|.1.3 .6.1.4.1.733.6.3.18.1.5.0|1|.1.3.6.1.4.1.733.6.3.18.1.6.0|89 22 7A 66 |
discovery/discovery-snmp-trap.asl: [DEFAULT]: 1309427975|137.x.x.x|.1.3.6.1.2.1.11|2|0|.1.3.6.1.2.1.2.2.1.1.7|7|.1.3 .6.1.4.1.733.6.3.18.1.5.0|1|.1.3.6.1.4.1.733.6.3.18.1.6.0|89 22 7A 66 |



Environment

VMware Smart Assurance - SMARTS

Cause

The changes made in the discovery-snmp-trap.asl file have not been applied in the environment. For traps, the discovery-snmp-trap.asl file is loaded only once at the start. After that, any changes in the file will be reflected only after the Ionix IP/Smarts IP server restart or Discovery-Trap-Driver daemon restart.

Resolution

To resolve this issue, you can do either of the following:

  • Restart the Ionix IP/Smarts IP server
     
  • Restart the Discovery-Trap-Driver daemon as by running the following dmctl commands:

    dmctl -s <server> -b <broker> invoke GA_DaemonDriver::Discovery-Trap-Driver stop

    dmctl -s <server> -b <broker> invoke GA_DaemonDriver::Discovery-Trap-Driver start