Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samhammerag/samhammer.aspnetcore.healthchecks.prtg
PRTG HealthChecks for .NET Core projects
https://github.com/samhammerag/samhammer.aspnetcore.healthchecks.prtg
net-core-project-lib
Last synced: about 1 month ago
JSON representation
PRTG HealthChecks for .NET Core projects
- Host: GitHub
- URL: https://github.com/samhammerag/samhammer.aspnetcore.healthchecks.prtg
- Owner: SamhammerAG
- License: mit
- Created: 2019-08-26T15:17:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-08T09:26:52.000Z (10 months ago)
- Last Synced: 2024-11-14T22:11:29.824Z (about 2 months ago)
- Topics: net-core-project-lib
- Language: C#
- Homepage:
- Size: 33.2 KB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Samhammer.AspNetCore.HealthChecks.Prtg
- Creates the JSON response for the health checks in special PRTG format## Usage
- add nuget package [Samhammer.AspNetCore.HealthChecks.Prtg](https://www.nuget.org/packages/Samhammer.AspNetCore.HealthChecks.Prtg/)
```csharp
app.UseHealthChecks("/health-prtg", new HealthCheckOptions
{
ResponseWriter = PrtgResponseWriter.WriteHealthCheckPrtgResponse
});
```## Prtg Setup
- use the sensor "HTTP data advanced" (https://www.paessler.com/manuals/prtg/http_data_advanced_sensor) and configure to your prtg health endpoint (like in the example above ([URL_TO_YOUR_SERVICE]/health-prtg)## How to publish package
- Create a tag and let the github action do the publishing for you