Quantcast
Channel: New log entry -> mail notification - Server Fault
Viewing all articles
Browse latest Browse all 5

New log entry -> mail notification

$
0
0

I am looking for a script ( bash / perl / python ) which uppon calling by cron every 5 seconds it will check if new lines were added to my specific log files. If there are any new lines, the script should mail to root the notification containing the log event.

Is there any way that I can accomplish this ?


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images