This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Alert MaintenanceMode

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:

    104Orion.AlertSuppressionAddedAlerts muted
    105Orion.AlertSuppressionChangedSchedule for muting alerts changed
    106Orion.AlertSuppressionDeletedAlerts unmuted

    That should be enough to get you started. emoticons_wink.png