| Age | Commit message (Collapse) | Author |
|
The staleness filter was incorrectly hiding stale OK checks from the
HTML report and email notifications. OK checks should always be shown
since stale OK alerts are not concerning.
|
|
Introduce peer URL monitoring with active/passive alert suppression, skip checks when passive, and bump version to v1.4.0.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
|
OK checks should appear in "OK checks" section, not "Suppressed alerts".
Suppression now only applies to non-OK checks (Critical, Warning, Unknown).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
|
Adds ability to suppress alerts during maintenance windows by checking
for the existence of a file. When the file exists and is recent (within
configured max age), matching alerts are excluded from email reports.
Features:
- Global PrometheusOnlyIfNotExists config for Prometheus alerts
- Per-check OnlyIfNotExists config for individual checks
- Configurable max age (default 86400s) for suppression file
- New "Suppressed alerts" section in email and HTML reports
- Suppressed checks excluded from counts and unhandled sections
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
|
Include a configurable link to the HTML status page in email
notifications. Defaults to https://gogios.buetow.org but can be
customized via the StatusPageURL config option.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
|
Stale OK alerts are not concerning and shouldn't clutter the stale
alerts section. Only report stale alerts with warning/critical/unknown
status.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
|
|
|
|
|
This commit introduces two new optional parameters to the check configuration:
- `randomSpread`: This parameter allows specifying a random sleep time up to N seconds before a check is executed. This is useful to avoid all checks running at the same time.
- `RunInterval`: This parameter defines the minimum interval in seconds between two executions of a check. This is useful if gogios is run more frequently than a specific check should be.
The `README.md` has been updated to document these new features.
fix: Fix deadlock when skipping checks
This commit also fixes a deadlock that occurred when a check was skipped due to the `RunInterval` setting. The `inputWg.Done()` was not being called, causing the main goroutine to wait forever.
build: Replace Taskfile with Magefile
The `Taskfile.yml` has been replaced with a `Magefile.go` to manage the build process. This provides more flexibility and is more idiomatic for Go projects.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|