GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.31k stars 821 forks source link

[Alerts] New Notification platforms #1321

Closed NickParks closed 3 years ago

NickParks commented 7 years ago

Im Hijacking this post to list the work being done on alerts. @dgibbs64

The following alert systems are being added

Working on now:

Hello,

So I was looking at the monitor functions and noticed it only has push bullet & email support.

These are perfectly fine and usable, but I was thinking that it would be nice to also include support for Telegram or Discord?

Obviously both would take extra configurations and such just like the rest but I feel it would make life a lot easier for people (especially the Discord one considering how many people are starting to transfer over to discord).

I understand these would take time and there's higher up things on the priority, but just a thought :)

And if it's not too much of a hassle would it be difficult to add a method to send a POST request to a specified URL? Could include data like server name/details/etc. Personally I would find this super useful as a replacement for my current monitoring system.

~ Nick

UltimateByte commented 7 years ago

Sweet ideas. Telegram API seems to be pretty similar to Pushbullet. A post to an URL shouldn't be that hard to implement. As for Discord, i don't know about their API, but it seems to be pretty well elaborated, so seems doable.

dgibbs64 commented 7 years ago

Yeah this is a great idea. I think discord support would be really great. @Scarsz I think might be the best person for this one

Xseba360 commented 7 years ago

Integration with Discord seems to be very easy as well :) https://support.discordapp.com/hc/en-us/articles/228383668 https://discordapp.com/developers/docs/resources/webhook It can also be made compatible with Slack, which makes it automatically compatible with Discord.

UltimateByte commented 7 years ago

To sum up, requested platforms are:

Rework to alert functions will probably be required.

NickParks commented 7 years ago

Little late to reply.

But yes, basically the most used gaming services which are Discord, Telegram, etc. As well whatever the staff/development team may use which is slack/telegram.

And if possible to add a straight up POST mechanic into it, it may not work with all services but it definitely opens the door for more possibilities without having to have you guys add them for us.

derklompi commented 7 years ago

Could give you a little bash script for discord+Webhook if you are interested and didnt already work that one out^^

dgibbs64 commented 7 years ago

@faflfama Yeah that would be great. Im working on other areas currently so haven't had a chance to look in to this yet. So any exmaples would be awesome 👍

derklompi commented 7 years ago

Put in in here, hope its readable^^

https://pastebin.com/ieFTUr8V

Didnt make it myself, but working good^^

dgibbs64 commented 7 years ago

@faflfama just tested it and it works!! Thank you

dgibbs64 commented 7 years ago

Telegram is now up and running https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram

It will be available next release

MarkL4YG commented 7 years ago

I'd like to throw in "Cachet" into the list. Documentation here

Edit:I'd wait for the next stable release though since there are major changes under way. I'll keep you updated of course if theres interest in this.

dgibbs64 commented 7 years ago

Added more info abot what system are being worked on above

ghost commented 7 years ago

It's a bit corporate but HipChat would be nice as well.

TheUdK commented 5 years ago

Any chance for Slack in the foreseeable future?

dgibbs64 commented 5 years ago

2543

dgibbs64 commented 3 years ago

Re-opening to add new

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.