Jump to content

Push notification that listen to a server logs ?

voiha

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 !

Link to comment
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

Link to post
Share on other sites

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

Link to comment
Share on other sites

Link to post
Share on other sites

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

Link to comment
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

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

×