PimpMyLog icon indicating copy to clipboard operation
PimpMyLog copied to clipboard

email notification

Open syrakozz opened this issue 11 years ago • 2 comments

can you plz make pimp my log run like a demons/background on the server and watch the log and trigger an email if an error occurs for the first time, i just trying to make it like papertrail it will be great if we can add an notification email option for certain error time, so we can easily monitor our server even if we are not looking into it

syrakozz avatar Dec 01 '14 12:12 syrakozz

Eh eh Papertrail replacement :-)

You can easily achieve this feature by exporting the wanted log file with your search expression in RSS. Then you can add it to https://ifttt.com/ and set any notification as you want. But you need to make your feed available on internet...

I could write a command line wrapper in PHP which you could launch with supervisord for example on unix systems. This CL wrapper could probe all configured logs every second.

You could set for each log files an array which associate regex to a notification system. It could be a email address or a web hook for example.

Any other idea for this kind of notifications ?

potsky avatar Dec 01 '14 12:12 potsky

sure, it will be great feature, and if you can make an api for it so later we can integrate it to SMS service or even HipChat, notification feature it really very powerfull system specialy if it depend on the same server no third party needed

syrakozz avatar Dec 02 '14 14:12 syrakozz