1 Reply Latest reply: Oct 2, 2010 3:09 PM by alan.pae RSS

    Capture information on suspicious events

    674481
      I am new to Solaris and looking for a way - let say a script that will search a cron log file and sent me an alert by email.

      How do I start?

      #!/bin/bash
      cat tail -500 /var/cron/log >> /local/user/oracle/autidfile.txt

      I am looking for words like (error, failed, 'exec failed', alert etc)