Hello,
Is there a way to create alert with email action to send notification email to person who set mainteanance mode for node if object is placed in MM for some time period ?
Have a look at the AuditingEvents table, this bit of SWQL will show information of who and when something was muted in the past 5 minutes.
SWQL Language:
SELECT DisplayName, TimeLoggedUtc, AccountID, NetworkNode, NetObjectID, NetObjectType, DetailsUrl
FROM Orion.AuditingEvents
WHERE ActionTypeID = 104
AND TimeLoggedUtc > AddMinute(-5,GETUTCDATE())
From the Orion.AuditingActionTypes table we have the following AlertSupression types:
104 | Orion.AlertSuppressionAdded | Alerts muted |
105 | Orion.AlertSuppressionChanged | Schedule for muting alerts changed |
106 | Orion.AlertSuppressionDeleted | Alerts unmuted |
That should be enough to get you started.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.