Automatic Alert notifications fails in Aria Operations. 
search cancel

Automatic Alert notifications fails in Aria Operations. 

book

Article ID: 370362

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Automatic Alert notifications fails to send with below error

ERROR [pool-26-thread-3] com.integrien.analytics.plugins.alertplugins.AlertTransmissionWrapper.run - Error while sending alert notification
java.lang.NullPointerException: null
        at com.integrien.alive.alertplugins.util.NotificationRulesEngineUtils$ResourceKindFilter.lambda$doFilter$0(NotificationRulesEngineUtils.java:783) ~[vcops-alert-plugin-util-1.0-SNAPSHOT.jar:?]
        at java.util.stream.MatchOps$1MatchSink.accept(Unknown Source) ~[?:?]"com.integrien.analytics.plugins.alertplugins.AlertTransmissionWrapper.run - Error while sending alert notification"

Environment

Aria Operations 8.17 and lower.

Cause

There is an invalid or null value in one of the json attributes of a notification rule. See:

{""ResourceKindKeys"":[{""null"":""""}]}

Example:
In notification rule:

NotificationRule.674xxxxx-xxxx-xxxx-xxxx-xxxxxxxxe8c,"{""NotificationRule"":{""id"":{""@UUID"":""67xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxe8c"",""@ObjectType"":""NOTIFICATION_RULE""},""Version"":1710680708347,""Name"":""vSAN Cluster Datastore Alert"",""PluginID"":{""@UUID"":""b92xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx"",""@ObjectType"":""ALERT_PLUGIN_INSTANCE_CONFIG"",""@VersionId"":1670425319780},""PluginType"":""StandardEmailPlugin"",""entry"":[{""ConditionType"":""CRITICALITY"",""NotificationRuleCriticalityCondition"":{""Operator"":5,""com.integrien.alive.common.adapter3.events.EventConstants$AlertCriticalityEnum"":[""ALERT_CRITICALITY_LEVEL_IMMEDIATE"",""ALERT_CRITICALITY_LEVEL_WARNING"",""ALERT_CRITICALITY_LEVEL_CRITICAL""]}},{""ConditionType"":""RESOURCEKIND"",""NotificationRuleResourceKindCondition"":{""ResourceKindKeys"":[{""null"":""""}]}}],""PluginNotificationProperty"":[{""PropertyName"":""maxNotify"",""PropertyValue"":3},{""PropertyName"":""delay"",""PropertyValue"":15},{""PropertyName"":""emailaddr"",""PropertyValue"":""[email protected]""},{""PropertyName"":""resend"",""PropertyValue"":15},{""PropertyName"":""description"",""PropertyValue"":""vSAN Cluster Datastore Alert""}],""ModifiedByUuid"":""48xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxbb"",""LastModificationTimeUtc"":1670425662892,""Disabled"":false,""TemplateID"":""7ecxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx5d4"",""RuleType"":""GENERAL_RULE""}}",,STRING,NotificationRule,,,xxxxxxxxxx094

Resolution

  1. Take powered-off snapshot of Aria Operations.
  2. Deleting the notification rule by following below steps:
    • Access Aria Operations UI via https://<aria_operations_hostname>/ui/index.action#configure/alerts/notifications
    • Select Configure > Alerts > notifications > Select the notification rule that needs and delete it.
    • Delete notification rule which is in question.