This discussion is archived
2 Replies Latest reply: Nov 30, 2012 3:04 AM by tbrinkmann RSS

react on syslog messages

tbrinkmann Explorer
Currently Being Moderated
Hi all,
does anyone know if there is a recommended way to react on a log message. I mean to start a script or a program
if a specific message / event appears in the system logfiles ?

In this case we have trouble with mount points and get log information from /var/log/messages

kernel: ncpfs: Connection invalid!

After that we will start a script that remount all shares.

Thanks again ;-)
*T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points