Jump to content
Floatplane payments are migrating! Read more... ×
Search In
  • More options...
Find results that contain...
Find results in...
voiha

Push notification that listen to a server logs ?

Recommended Posts

Posted · Original PosterOP

Would be glad if someone could help me, as I searched nearly everywhere but haven't found what I was looking for...

 

Is there some kind of plugin or technique that can let me have notifications that triggers from logs that come up in a server basically it should look like this:

Rest API/other -> Server -> log into the server -> notification being triggered and pushed

Is there a way to code that, or even better if someone already did it and I can buy it/code it ?

 

Thanks in advance !


Motherboard: MSI BM250-PRO-VD           <-- Build 1    Build 2 -->        Motherboard: ASRock Z370M Pro4                     
CPU: Intel Core i7-7700                                                   CPU: Intel Core i7-8700K
GPU: Gigabyte G1 Gaming GTX 1080                                          GPU: Gigabyte Windforce OC GTX660 (Saving money for GTX 1080ti)
RAM: 8GB DDR4 2133Mhz                                                     RAM: HyperX Predator 8gb DDR4 3000mhz (Saving money for 8GB more)
PSU: Seasonic M12II EVO 620w Bronze+                                      PSU: Seasonic Focus Gold Plus 650W
CPU Cooler: Gammax 400                                                    CPU Cooler: Gammax 400
SSD: Kingston A400 250GB                                                  HDD: 3 * 1TB WD blue
Headphones: ASUS STRIX 2.0                                                                                               Case: Thermaltake V200 RGB
Monitor: LG 24GM77                                                                                                               Mouse: SteelSeries Rival 110
CaseFans: 3 140mm
HDD: 1TB 7200RPM
Mouse: SteelSeries Rival 500
Phone: Nokia 7 plus



hehe yeaaah boy
https://linustechtips.com/main/uploads/monthly_2018_09/111.PNG.5713b4f39cae3a5badac216b30d99e65.PNG

 

You want to code but don't know how ? (Personal list)

 

Link to post
Share on other sites

well if you can retrieve the logs easily with the code, you technically could just make a discord bot that just sends you dm's or something containing the notification you want, that would send that notification to everything you have with discord. just... dont get too many notifications at once


Sadness is the one true emotion, and happiness, well, that's just a lie, sadness is all many of us feel, and is all we need to feel, because having it any other way, would just be wrong, why be happy when you can just be miserable like myself. 

Link to post
Share on other sites

https://pushover.net/ allows you to send push notifications from API really easily. 

 

I have a small script that is triggered when SSH connection is made to a server that sends a notification.

 

 

 

There is also plenty of application monitoring software that will alert you based on application logs but if it will work out the box depends on what specific events in the logs you are interested in. You could look at software like: https://www.nagios.com and https://www.zabbix.com/. But they may well be overkill for your needs...

Link to post
Share on other sites
Posted · Original PosterOP
10 minutes ago, Shoe_Eater said:

well if you can retrieve the logs easily with the code, you technically could just make a discord bot that just sends you dm's or something containing the notification you want, that would send that notification to everything you have with discord. just... dont get too many notifications at once

Yeah that's one way to look at it, I may look at discord APIs


Motherboard: MSI BM250-PRO-VD           <-- Build 1    Build 2 -->        Motherboard: ASRock Z370M Pro4                     
CPU: Intel Core i7-7700                                                   CPU: Intel Core i7-8700K
GPU: Gigabyte G1 Gaming GTX 1080                                          GPU: Gigabyte Windforce OC GTX660 (Saving money for GTX 1080ti)
RAM: 8GB DDR4 2133Mhz                                                     RAM: HyperX Predator 8gb DDR4 3000mhz (Saving money for 8GB more)
PSU: Seasonic M12II EVO 620w Bronze+                                      PSU: Seasonic Focus Gold Plus 650W
CPU Cooler: Gammax 400                                                    CPU Cooler: Gammax 400
SSD: Kingston A400 250GB                                                  HDD: 3 * 1TB WD blue
Headphones: ASUS STRIX 2.0                                                                                               Case: Thermaltake V200 RGB
Monitor: LG 24GM77                                                                                                               Mouse: SteelSeries Rival 110
CaseFans: 3 140mm
HDD: 1TB 7200RPM
Mouse: SteelSeries Rival 500
Phone: Nokia 7 plus



hehe yeaaah boy
https://linustechtips.com/main/uploads/monthly_2018_09/111.PNG.5713b4f39cae3a5badac216b30d99e65.PNG

 

You want to code but don't know how ? (Personal list)

 

Link to post
Share on other sites
Posted · Original PosterOP
6 minutes ago, Meic said:

https://pushover.net/ allows you to send push notifications from API really easily. 

 

I have a small script that is triggered when SSH connection is made to a server that sends a notification.

 

 

 

There is also plenty of application monitoring software that will alert you based on application logs but if it will work out the box depends on what specific events in the logs you are interested in. You could look at software like: https://www.nagios.com and https://www.zabbix.com/. But they may well be overkill for your needs...

That's quite interesting, thank you !! I'll look at them and see which one will fit my needs


Motherboard: MSI BM250-PRO-VD           <-- Build 1    Build 2 -->        Motherboard: ASRock Z370M Pro4                     
CPU: Intel Core i7-7700                                                   CPU: Intel Core i7-8700K
GPU: Gigabyte G1 Gaming GTX 1080                                          GPU: Gigabyte Windforce OC GTX660 (Saving money for GTX 1080ti)
RAM: 8GB DDR4 2133Mhz                                                     RAM: HyperX Predator 8gb DDR4 3000mhz (Saving money for 8GB more)
PSU: Seasonic M12II EVO 620w Bronze+                                      PSU: Seasonic Focus Gold Plus 650W
CPU Cooler: Gammax 400                                                    CPU Cooler: Gammax 400
SSD: Kingston A400 250GB                                                  HDD: 3 * 1TB WD blue
Headphones: ASUS STRIX 2.0                                                                                               Case: Thermaltake V200 RGB
Monitor: LG 24GM77                                                                                                               Mouse: SteelSeries Rival 110
CaseFans: 3 140mm
HDD: 1TB 7200RPM
Mouse: SteelSeries Rival 500
Phone: Nokia 7 plus



hehe yeaaah boy
https://linustechtips.com/main/uploads/monthly_2018_09/111.PNG.5713b4f39cae3a5badac216b30d99e65.PNG

 

You want to code but don't know how ? (Personal list)

 

Link to post
Share on other sites
Just now, voiha said:

Yeah that's one way to look at it, I may look at discord APIs

you may not even need to use the api since you could even just use webhooks to send it to an empty server, and have it set to send all the notifications


Sadness is the one true emotion, and happiness, well, that's just a lie, sadness is all many of us feel, and is all we need to feel, because having it any other way, would just be wrong, why be happy when you can just be miserable like myself. 

Link to post
Share on other sites
4 hours ago, voiha said:

Would be glad if someone could help me, as I searched nearly everywhere but haven't found what I was looking for...

 

Is there some kind of plugin or technique that can let me have notifications that triggers from logs that come up in a server basically it should look like this:


Rest API/other -> Server -> log into the server -> notification being triggered and pushed

Is there a way to code that, or even better if someone already did it and I can buy it/code it ?

 

Thanks in advance !

if it's a windows server then it's already part of the tools that come by default with the server. Just choose your loggin technique. Example if you log with the events log just set an alert on a specific log type to send email or call a program on the network or locally with the log info.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Buy VPN

×