Alert is not being sent by SNMP Trap in Aria Operations
search cancel

Alert is not being sent by SNMP Trap in Aria Operations

book

Article ID: 388979

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

This KB's purpose is to assist in checking if the Outbound Setting (SNMP trap) is being sent successfully by Aria Operations.

Environment

Aria Operations 8.x

Resolution

For the analytics logs to display confirmation that it has sent the SNMP trap, we need to create a logger on ANALYTICS for com.vmware.vcops.platform.notification and set to DEBUG.

Setting a class to debug on Aria Operations in Administration > Control Panel > Support Logs:

  • Ensure that the "Group by:" dropdown is set to Node.
  • Select a node from the list and expand its dropdown.
  • Then select "ANALYTICS"
  • Then click the gear icon ("Edit Properties").

  • Click on the + sign and add the class: com.vmware.vcops.platform.notification 
  • Search for the same class above and set it to DEBUG

Now, it is possible to see the following once the alert is triggered and the Outbound Settings sends the alert by SNMP trap

2025-02-14T13:43:10,156+0000 DEBUG [pool-29-thread-2]  com.vmware.vcops.platform.notification.snmp.SnmpSender.send - Queuing Snmp Trap notification: CANCEL Alert Definition: _CPU Usage gt 0.5, Resource: XXXXX AlertId: XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX, OID: X.X.X.X.X.x.XXXX.X.XX.X.X.XX; total varbinds: 23
2025-02-14T13:43:10,175+0000 DEBUG [pool-668-thread-1]  com.vmware.vcops.platform.notification.snmp.SnmpSender.send - Sending send SNMP trap... : CANCEL Alert Definition: _CPU Usage gt 0.5, Resource: XXXXX, AlertId: XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX, OID: X.X.X.X.X.x.XXXX.X.XX.X.X.XX; total varbinds: 23
2025-02-14T13:43:10,177+0000 DEBUG [pool-668-thread-1]  com.vmware.vcops.platform.notification.snmp.SnmpSender.send - Successfully sent SNMP trap for alert: CANCEL Alert Definition: _CPU Usage gt 0.5, Resource: XXXXX, AlertId: XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX, OID: X.X.X.X.X.x.XXXX.X.XX.X.X.XX; total varbinds: 23


Please make sure to remove this logger once the troubleshooting is completed.
DEBUG logs collecting on the system add extra load to the cluster and will impact performance if there are too many.