Skip to main content

This is a plugin to send notifications to MSTeams from Argus

Different levels of incidents have hard-coded icon colors, based on those used in the Argus frontend.

Version 0.5.1 and older can be used by argus-server version 1.9.x to 1.13.x.

Django settings

Add argus_notification_msteams.MSTeamsNotification to MEDIA_PLUGINS:

MEDIA_PLUGINS = [
    ..
    "argus_notification_msteams.MSTeamsNotification",
]

The plugin uses the setting NOTIFICATION_SUBJECT_PREFIX.

Configuration

Create a workflow inside MS Teams to send webhook alerts to a chat or channel. This lets you use “Copy webhook link” to get a long url that needs to be stored in the settings-field.

You can test without invoking the frontend by adding the webhook manually in Django admin.

POST-ing to the API:

/api/v2/notificationprofiles/destinations/, POSTed body:

{
  "media": "msteams",
  "label": "whatever",
  "settings": {
    "webhook": "https://msteams.domain/some-very-long-webhook-specific-path"
  }
}

GET-ing from the API:

/api/v2/notificationprofiles/destinations/{id}/, received result:

{
  "pk": 0,
  "media": {
    "slug": "msteams",
    "name": "MS Teams"
  },
  "label": "whatever",
  "suggested_label": "whatever",
  "settings": {
    "webhook": "https://msteams.domain/some-very-long-webhook-specific-path"
  }
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

argus_notification_msteams-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argus_notification_msteams-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file argus_notification_msteams-1.0.0.tar.gz.

File metadata

File hashes

Hashes for argus_notification_msteams-1.0.0.tar.gz
Algorithm Hash digest
SHA256 425249f4064f47d505ca8e6dfb1c6249e526f2edcdfe01f834cf6c4df0fb5807
MD5 f001969ba8a626a299b848310deb7add
BLAKE2b-256 e972a909d36257c4d7f2351dcb11cf26326ec59cd03176fff1bdc62cd87beecb

See more details on using hashes here.

File details

Details for the file argus_notification_msteams-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for argus_notification_msteams-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 585c4f3d6f0ae78ad7585f7f83feef54e68aa92342d1ccde964ccc768bae4e09
MD5 07d9b43414b17cce2c2953a3d016335c
BLAKE2b-256 4c3f51c558ebe5f3c4b00c430995708aa5e64fe06b6719fe78e6ea6042cc6973

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.6.0

2 files

0.5.1

2 files

0.5

2 files

0.4

1 file

0.3

1 file

0.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page