Skip to content

Commit

Permalink
feat(alerts): add support for telegram thread/topic ids
Browse files Browse the repository at this point in the history
  • Loading branch information
MicLieg committed Mar 6, 2024
1 parent d7bb6d0 commit f77d7dc
Show file tree
Hide file tree
Showing 136 changed files with 409 additions and 135 deletions.
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/acserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/ahl2server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/ahlserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/arkserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/arma3server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/armarserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/atsserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/avserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/bb2server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/bbserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/bdserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/bf1942server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/bfvserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/bmdmserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/boserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/bsserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/btlserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/btserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/ccserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/ckserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/cmwserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/cod2server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Backup | https://docs.linuxgsm.com/commands/backup
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/cod4server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Backup | https://docs.linuxgsm.com/commands/backup
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/codserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Backup | https://docs.linuxgsm.com/commands/backup
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/coduoserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Backup | https://docs.linuxgsm.com/commands/backup
Expand Down
4 changes: 3 additions & 1 deletion lgsm/config-default/config-lgsm/codwawserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@ slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
telegramapi="api.telegram.org"
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
telegramthreadid=""
telegramsilentnotification="false"
curlcustomstring=""

## Backup | https://docs.linuxgsm.com/commands/backup
Expand Down
Loading

0 comments on commit f77d7dc

Please sign in to comment.