Nightwatch: Monitoring Service for .NET
Nightwatch is a monitoring service intended to monitor a set of specified resources and notify the administrator if something goes wrong with them.
It can be used as:
- a standalone monitoring server (installable as a .NET tool via
dotnet tool install -g); - a set of embeddable NuGet libraries for building custom monitoring solutions.
Components
Nightwatch is composed of several libraries that can be used independently:
- Nightwatch.Core — core monitoring logic and scheduling;
- Nightwatch.Resources — resource check implementations (HTTP, Shell, etc.);
- Nightwatch.Notifications — notification providers (Telegram, etc.);
- Nightwatch — the main package wiring everything else together.
Getting Started
As a Standalone Tool
$ dotnet tool install -g FVNever.Nightwatch.Tool
$ nightwatch --config ./nightwatch.yml
As a Library
$ dotnet add package FVNever.Nightwatch.Core
Then use the components in your application to build custom monitoring solutions.
Developer Guides
- Resource Types - Available resource types and configuration
- Notification Providers - Available notification providers and configuration
- Implementing a Resource Type - Guide for creating custom resource checkers
API Documentation
Proceed to the API documentation to explore the available types and methods.