crash regex in templates - improving AMP game server crash detection
I confirm that
- [x] I have searched for an existing feature request matching the description.
Feature Description
Hello, so this is a feature request to add a crash regex to templates to quote James
We could look at adding a crash regex that would allow the person making the template to add lines that would make AMP treat it like it stopped even though it hasn't. https://discord.com/channels/266012086423912458/266012086423912458/1403900173964415117
so for example for arma reforger detect some phrases thats dumped at the end of the server logs that indicate a crash so AMP can restart it? there is a few phrases such as Game destroyed,application forced hang (that happens when a game server loses connection with the game backend servers) and some other few phrases ,i'd have to make a list for them all
Are those actually logged in AMP's logs? That's the key - AMP has to see the relevant log messages
Are those actually logged in AMP's logs? That's the key - AMP has to see the relevant log messages
@Greelan Yeah they’re written to the game server logs. I believe that AMP just redirects and streams those logs, so it should be able to see them in the separate AMP logs
a few other methods i thought about?
-
BattlEye RCON: if AMP lost rcon connection to server,retry up to 1 min,and then if AMP can keep a persistent RCON session for about 1 minute, the server is okay; otherwise, restart it.
-
CPU usage: if it’s 0% for more than 1 minute, restart.?
-
Log activity: if no new lines are added to game server logs for more than 1 minute, restart.
Just thinking of options