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:
That should be enough to get you started.