https://github.com/bocaletto-luca/pc-info
PC-Info - SysmonDotNet Cross-platform Linux service in C# .NET 7 • System metrics (CPU, Mem, Disk, Net) • Records in SQLite • Exposes /api/metrics and /metrics (Prometheus) • Health check /health • Configurable interval, DI, logging, Swagger ...
https://github.com/bocaletto-luca/pc-info
bocaletto-luca c-sharp linux opensource pc-info sysmon
Last synced: 3 months ago
JSON representation
PC-Info - SysmonDotNet Cross-platform Linux service in C# .NET 7 • System metrics (CPU, Mem, Disk, Net) • Records in SQLite • Exposes /api/metrics and /metrics (Prometheus) • Health check /health • Configurable interval, DI, logging, Swagger ...
- Host: GitHub
- URL: https://github.com/bocaletto-luca/pc-info
- Owner: bocaletto-luca
- License: gpl-3.0
- Created: 2025-06-12T01:57:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-12T02:06:49.000Z (about 1 year ago)
- Last Synced: 2025-10-31T14:13:43.473Z (8 months ago)
- Topics: bocaletto-luca, c-sharp, linux, opensource, pc-info, sysmon
- Language: C#
- Homepage: https://bocaletto-luca.github.io/
- Size: 34.2 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PC-Info - SysmonDotNet
Cross-platform Linux service in C# .NET 7
• System metrics (CPU, Mem, Disk, Net)
• Records in SQLite
• Exposes /api/metrics and /metrics (Prometheus)
• Health check `/health`
• Configurable interval, DI, logging, Swagger
## Quickstart
1. Clone + build
dotnet build
2. Configura in `appsettings.json`
DbPath = "data/metrics.db"
3. Esegui
dotnet run --project src/SysmonDotNet.Api
4. Visita
http://localhost/health
http://localhost/api/metrics
http://localhost/metrics
## Docker
docker build -t sysmondotnet .
docker run -d -p 80:80 sysmondotnet