Our.Umbraco.HealthCheckSlackNotificationMethod 5.0.0

dotnet add package Our.Umbraco.HealthCheckSlackNotificationMethod --version 5.0.0
                    
NuGet\Install-Package Our.Umbraco.HealthCheckSlackNotificationMethod -Version 5.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Our.Umbraco.HealthCheckSlackNotificationMethod" Version="5.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Our.Umbraco.HealthCheckSlackNotificationMethod" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Our.Umbraco.HealthCheckSlackNotificationMethod" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Our.Umbraco.HealthCheckSlackNotificationMethod --version 5.0.0
                    
#r "nuget: Our.Umbraco.HealthCheckSlackNotificationMethod, 5.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Our.Umbraco.HealthCheckSlackNotificationMethod@5.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Our.Umbraco.HealthCheckSlackNotificationMethod&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Our.Umbraco.HealthCheckSlackNotificationMethod&version=5.0.0
                    
Install as a Cake Tool

Umbraco Slack Health Check Notification v5 for Umbraco v17

Icon

This package adds a Health Check Slack Notification Method to Umbraco v17 so that the status of Health Checks can be posted to a specific Slack Channel.

If you are looking for earlier versions:

Installation

dotnet add package Our.Umbraco.HealthCheckSlackNotificationMethod  
NuGet Packages Version
Release NuGet download
Pre-release NuGet download

Once installed you will need to add settings into the appsettings.json file

Create a Slack App, once created go to "OAuth & Permissions" and add a "OAuth Scope" with the value "chat:write.customize" within the "Bot Token Scopes" section. If you will be posting to multiple channels from the same App, you may need to also add the "chat:write.public" scope. Copy the "Bot User OAuth Token" to the appsettings.json file.

Slack App

Configuration

Edit appsettings.json to add the notification method and enable notifications. You need to replace the settings with your own OAuth Token and channel. Your settings file should look like the below:

  "Umbraco": {
    "CMS": {
      "Hosting": {
        "Debug": false
      },
      "Global": {
        "Id": "060fe809-7a36-4af6-a129-14582abc7058"
      },
      "HealthChecks": {
        "Notification": {
          "Enabled": true,
          "NotificationMethods": {
            "slack": {
              "Enabled": true,
              "Verbosity": "Detailed",
              "Settings": {
                "botUserOAuthToken": "xxxx-1111111111-11111111111-abcDEFGhIJ67890",
                "channel": "#test",
                "username": "Umbraco v17 Health Check Status"
              }
            }
          }
        }
      }
    }
  }

Example

Credits and references

This project uses SlackNet which is MIT licensed.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0 62 12/18/2025
4.1.0 4,602 7/13/2023
4.0.5 696 11/25/2022
4.0.4 473 11/25/2022
4.0.3 460 11/25/2022
4.0.2 442 11/21/2022
4.0.1 584 6/20/2022
4.0.0 609 6/20/2022
4.0.0-beta1 298 5/6/2022
3.0.0 543 9/28/2021
3.0.0-beta1 433 7/14/2021
2.0.1 569 9/9/2021
2.0.0 718 1/2/2020
2.0.0-beta3 554 12/9/2019
2.0.0-beta2 573 12/6/2019
2.0.0-beta1 701 2/26/2019
1.1.1 6,709 6/12/2018
1.1.0 2,124 4/10/2018
1.0.1 2,316 11/21/2017
1.0.0 1,433 9/19/2017
0.2.0-beta 1,078 8/9/2017