Skip to content

[Feature]: Rate Limit the number of alerts that can be sent #4566

@MicLieg

Description

@MicLieg

User story

As a server admin, i don't want to get spammed with alerts by a server that isn't starting correctly.

Game

All

Linux distro

Ubuntu 22.04

Command

command: monitor

Further information

Currently, if a server repeatedly crashes or can't start properly, when running the command ./gameserver monitor, LinuxGSM will send an alert that the server is offline (if alerts are turned on). Whilst this is generally very helpful to get notified of problems, it can cause a massive flood of alerts if the monitor command is set to run every 5 minutes, as suggested in the Docs.

I suggest either implementing a hard rate limit for a certain period of time, so that only a configurable number of alerts can be sent within a configurable period of time, or temporarily disabling alerts if the monitor command fails a configurable number of times in succession.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    🆕 New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions