Minicon.SimpleAdmin.Shared
2.26.0
dotnet add package Minicon.SimpleAdmin.Shared --version 2.26.0
NuGet\Install-Package Minicon.SimpleAdmin.Shared -Version 2.26.0
<PackageReference Include="Minicon.SimpleAdmin.Shared" Version="2.26.0" />
<PackageVersion Include="Minicon.SimpleAdmin.Shared" Version="2.26.0" />
<PackageReference Include="Minicon.SimpleAdmin.Shared" />
paket add Minicon.SimpleAdmin.Shared --version 2.26.0
#r "nuget: Minicon.SimpleAdmin.Shared, 2.26.0"
#:package Minicon.SimpleAdmin.Shared@2.26.0
#addin nuget:?package=Minicon.SimpleAdmin.Shared&version=2.26.0
#tool nuget:?package=Minicon.SimpleAdmin.Shared&version=2.26.0
Minicon SimpleAdmin
A monitoring platform for PRTG and NetScaler environments, distributed as a set of reusable NuGet packages. It consists of a console worker that collects system metrics and generates static HTML status pages, and an ASP.NET Core admin UI for configuration management, real-time status viewing and problem acknowledgement.
Key design philosophy: maximum availability through static file generation. The generated HTML pages have no dynamic dependencies and remain accessible even if workers, databases or external systems are down (as long as the web server is operational).
Packages
| Package | Purpose |
|---|---|
Minicon.SimpleAdmin.Shared |
Core models (Config/State/Status), AcknowledgeService, ProblemDerivationService, ConnectionStringEncryption, StateFilesLock |
Minicon.SimpleAdmin.Services |
Platform metrics abstraction (Windows/Linux/macOS), MetricsCollector, StatusEvaluator, RuntimeStatusStore |
Minicon.SimpleAdmin.Checkers |
AppPool, Windows service, event log, certificate, SQL, email, BizTalk and file/log checkers + the central e-mail notifier (NotificationService) |
Minicon.SimpleAdmin.HtmlGenerator |
StaticHtmlGenerator — renders the static status pages |
Minicon.SimpleAdmin.Worker |
Console worker host (SimpleAdminWorkerHost) that wires everything together |
Minicon.SimpleAdmin.WebUI |
Razor Class Library with the complete admin UI (controllers, views, REST API, services) |
Consuming the packages
The entire monitoring logic lives in these packages. A host application only needs a few lines of bootstrapping plus its own configuration files.
Console worker
using Minicon.SimpleAdmin.Worker;
// [configPath] [statusDir] [wwwrootDir] [--force-probe]
return await SimpleAdminWorkerHost.RunAsync(args);
<PackageReference Include="Minicon.SimpleAdmin.Worker" Version="2.22.0" />
Admin UI
using Minicon.SimpleAdmin.WebUI;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSimpleAdminWebUI(builder.Configuration);
var app = builder.Build();
app.UseSimpleAdminWebUI();
app.Run();
<PackageReference Include="Minicon.SimpleAdmin.WebUI" Version="2.22.0" />
The host's appsettings.json supplies deployment specifics:
{
"ConfigPath": "C:\\path\\to\\config-directory",
"StatusDirectory": "C:\\path\\to\\status",
"BasePath": "/SimpleAdmin",
"Authentication": {
"Enabled": true,
"RequiredRole": "DOMAIN\\SimpleAdmin-Admins"
}
}
Securing the admin UI
The admin UI protects every controller and REST endpoint with a global
authorization fallback policy that requires an authenticated Windows user
(Negotiate/Kerberos). This matters because endpoints such as
/api/sqlquerytest and /api/emailtest open outbound SQL/SMTP/IMAP
connections to caller-supplied hosts — they must never be reachable
anonymously.
- Enabled by default — no configuration needed for a Windows/AD host. Set
"Authentication:Enabled": falseonly for isolated/dev hosts with no AD. RequiredRole(optional) restricts access to a single AD group.- The worker and peer servers are not affected: they never call these
endpoints — the only cross-process HTTP traffic reads the static
status/*.jsonfiles, which are served before the auth middleware and therefore stay reachable.
Building locally
# Build everything
dotnet build Minicon.SimpleAdmin.slnx
# Run the tests
dotnet test src/Minicon.SimpleAdmin.Tests/Minicon.SimpleAdmin.Tests.csproj
# Produce NuGet packages into ./local-feed
dotnet build Minicon.SimpleAdmin.slnx -c Release
dotnet pack Minicon.SimpleAdmin.slnx -c Release -o local-feed --no-build
To consume the locally built packages from another solution, add local-feed as a
NuGet source (e.g. in a NuGet.config):
<add key="minicon-local" value="../Minicon.SimpleAdmin/local-feed" />
Configuration & features
The config.json consumed by the worker and admin UI defines environments, servers,
service types, feature toggles and the PRTG/NetScaler endpoints. Supported features:
- System metrics (CPU/memory/disk) with status smoothing to prevent alert fatigue
- IIS application-pool, Windows-service, event-log and certificate checks
- Event log ignore rules — suppress known noise long-term, scoped to all or specific servers (wildcards), with reason and optional expiry
- SQL query checks (row-count and column assertions)
- Email monitoring (SMTP probes + IMAP delivery checks)
- BizTalk monitoring (management API) and file/log monitoring
- Central e-mail notifier: designated servers aggregate all statuses over HTTP and send summary mails with acknowledge deep-links (HTML + plaintext, reminders, all-clear notices, HA via two coordinated instances) — testable end-to-end via the "Test-Mail senden" button in the admin UI
- Problem acknowledgement with expiry
- Time profiles (relaxed thresholds outside business hours)
- Central aggregation across multiple servers
- AES-256 connection-string encryption (
Encryption:ConnectionStringKey)
The admin UI ships a complete German documentation page (/Documentation) covering every check type, the notifier, authentication and the REST API.
License
MIT — see LICENSE.
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.8)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Minicon.SimpleAdmin.Shared:
| Package | Downloads |
|---|---|
|
Minicon.SimpleAdmin.Services
Platform metrics, status evaluation and runtime status persistence services for the Minicon SimpleAdmin monitoring platform. |
|
|
Minicon.SimpleAdmin.Checkers
AppPool, Windows service, event log, certificate, SQL and email checkers for the Minicon SimpleAdmin monitoring platform. |
|
|
Minicon.SimpleAdmin.HtmlGenerator
Static HTML generator that renders monitoring status pages for the Minicon SimpleAdmin monitoring platform. |
|
|
Minicon.SimpleAdmin.WebUI
Razor Class Library providing the full SimpleAdmin admin UI (controllers, views, REST API and services) for the Minicon SimpleAdmin monitoring platform. A host application only needs to call AddSimpleAdminWebUI / UseSimpleAdminWebUI. |
|
|
Minicon.SimpleAdmin.Worker
Standalone console worker that orchestrates monitoring checks, problem derivation and static HTML generation for the Minicon SimpleAdmin monitoring platform. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.26.0 | 0 | 10/2/2026 |
| 2.25.2 | 0 | 10/2/2026 |
| 2.25.1 | 0 | 10/2/2026 |
| 2.25.0 | 0 | 10/2/2026 |
| 2.24.0 | 7 | 10/1/2026 |
| 2.23.1 | 39 | 10/1/2026 |
| 2.23.0 | 71 | 9/29/2026 |
| 2.22.3 | 196 | 7/17/2026 |
| 2.22.2 | 161 | 7/17/2026 |
| 2.22.1 | 159 | 7/17/2026 |
| 2.22.0 | 166 | 7/17/2026 |
| 2.21.1 | 161 | 7/17/2026 |
| 2.21.0 | 165 | 7/17/2026 |
| 2.20.2 | 171 | 7/15/2026 |
| 2.20.1 | 177 | 7/1/2026 |
| 2.20.0 | 182 | 7/1/2026 |
| 2.19.0 | 181 | 6/26/2026 |
| 2.18.1 | 183 | 6/22/2026 |
| 2.18.0 | 172 | 6/22/2026 |
| 2.17.0 | 165 | 6/22/2026 |