Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MicLieg opened this issue Apr 28, 2024 · 0 comments
Open

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

MicLieg opened this issue Apr 28, 2024 · 0 comments

Comments

@MicLieg
Copy link
Contributor

MicLieg commented Apr 28, 2024

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, 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 be 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New Issues
Development

No branches or pull requests

1 participant