Our.Umbraco.HealthCheckSlackNotificationMethod 4.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Our.Umbraco.HealthCheckSlackNotificationMethod --version 4.0.4                
NuGet\Install-Package Our.Umbraco.HealthCheckSlackNotificationMethod -Version 4.0.4                
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="4.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Our.Umbraco.HealthCheckSlackNotificationMethod --version 4.0.4                
#r "nuget: Our.Umbraco.HealthCheckSlackNotificationMethod, 4.0.4"                
#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.
// Install Our.Umbraco.HealthCheckSlackNotificationMethod as a Cake Addin
#addin nuget:?package=Our.Umbraco.HealthCheckSlackNotificationMethod&version=4.0.4

// Install Our.Umbraco.HealthCheckSlackNotificationMethod as a Cake Tool
#tool nuget:?package=Our.Umbraco.HealthCheckSlackNotificationMethod&version=4.0.4                

Umbraco Slack Health Check Notification v4 for Umbraco v10 & v11

Icon

This package adds a Health Check Slack Notification Method to Umbraco v10 & v11 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 your settings into the appsettings.json file

You will need to create a Slack Incoming Webhook and copy the Webhook URL to the config file.

Configuration

Edit appsettings.json to add the notification method and enable notifications. You need to replace the settings with your own web hook URL 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": {
                "webHookUrl": "https://hooks.slack.com/services/xxxxxxxx/xxxxxxxx/xxxxxxxxx",
                "channel": "#test",
                "username": "Umbraco v10 Health Check Status"
              }
            }
          }
        }
      }
    }
  }

Example

Credits and references

This project includes Slack.Webhooks which is MIT licensed.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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
4.1.0 2,708 7/13/2023
4.0.5 579 11/25/2022
4.0.4 326 11/25/2022
4.0.3 319 11/25/2022
4.0.2 326 11/21/2022
4.0.1 421 6/20/2022
4.0.0 448 6/20/2022
4.0.0-beta1 168 5/6/2022
3.0.0 384 9/28/2021
3.0.0-beta1 272 7/14/2021
2.0.1 390 9/9/2021
2.0.0 542 1/2/2020
2.0.0-beta3 379 12/9/2019
2.0.0-beta2 378 12/6/2019
2.0.0-beta1 490 2/26/2019
1.1.1 6,202 6/12/2018
1.1.0 1,646 4/10/2018
1.0.1 1,963 11/21/2017
1.0.0 1,052 9/19/2017
0.2.0-beta 748 8/9/2017