Skip to content

This automation script can be launched from correlation and creates a teams channel message that includes the element, parameter description and value.

License

Notifications You must be signed in to change notification settings

SkylineCommunications/SLC-AS-CorrelationAlarmTeamsNotification

Repository files navigation

CorrelationAlarmTeamsNotification

This repository contains an automation script that can be launched from correlation and creates a teams channel message that includes the element, parameter description and alarm value. There is also (commented) code to include an alarm property. A teams channel message will be displayed using adaptive cards.

How to get started

  1. Use the script in the cloud connected DataMiner Agent. Organization must Grant Admin Consent for chat integration with Teams.

  2. Install DataMiner Application in MS Teams.

  3. It is neccessary to use Chat Integration automation scripts to fetch the teams and channels data from the Teams. Scripts can be found here: Chat Integration Examples on GitHub or here: Chat Integration Examples on Catalog.

    2.1. Create a memory file "Teams"

    2.2. Run Fetch Teams script

    2.3. Create a memory file "Channels"

    2.3. Run Fetch Channels script (With Parameter TeamID value file "Teams")

  4. "Correlation Alarm Teams Notification" script can be used now. Please pay attention that Script Parameters have predefined values for Team Id and Channel Id value files, as defined in the previous step. If these memory files have different names, parameter value files should be modified before the usage.

  5. Create a new correlation rule with desired alarm filtering and rule conditions. In actions, specify CorrelationAlarmTeamsNotification script to run. It is neccessary to select desired Team and Channel where the notification should be sent, to define Notification title that will be displayed and Parameter description must have value "[field(parametername)]". Please note that "Evaluate script parameter values" must be checked too.

Help

Skyline Communications: Support

Contact

Skyline Communications: Contact

Version History

Skyline Communications: Contact

License

This project is licensed under the MIT License – see the file for details.

About

This automation script can be launched from correlation and creates a teams channel message that includes the element, parameter description and value.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages