1 Reply Latest reply on Oct 9, 2014 2:41 AM by P.RamPrasad

    How to exclude pattern in Generic Incident metric?

    rosar24

      With old Generic Alert Log Error metric it was easy to filter out unwanted ORA errors but in 11g the metric Generic Incident also monitor the alert log errors and generate alerts.

      Using a perl expression how to do to exclude unwanted pattern like for example ORA-00700:[xyzxyz...] ?

      Supposed that the default value is .* ?

       

      Thanks in advance

      Rosario

        • 1. Re: How to exclude pattern in Generic Incident metric?
          P.RamPrasad

          Hi Rosario

           

          Below note has steps to filter unwanted alerts.

          Monitoring 10g Database Alert Log Errors in Enterprise Manager Grid Control 10g (Doc ID 976982.1)

           

          You can test  alert and severity at which it will be raised (warning/critical) using the perl script provided in the doc.

          it looks something like below.

          perl test.pl ".*ORA-0*(54|1142|1146)\D.*" "ORA-[0-9]+[^0-9]" "ORA-0*(600?|7445)[^0-9]" "ORA-05555 Some error text"
          This error would raise a Warning Alert

           

          Hope abv helps

           

          Regards,

          Ram.