# # ***************************************************************** # * * # * Copyright Compaq Computer Corporation, 2001 * # * * # * The software contained on this media is proprietary to * # * and embodies the confidential technology of Compaq * # * Computer Corporation. Possession, use, duplication or * # * dissemination of the software and media is authorized only * # * pursuant to a valid written license from Compaq Computer * # * Corporation. * # * * # * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure * # * by the U.S. Government is subject to restrictions as set * # * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, * # * or in FAR 52.227-19, as applicable. * # * * # ***************************************************************** # # HISTORY # # @(#)$RCSfile: evmlogger.temp $ $Revision: /main/13 $ (DEC) $Date: 2015/04/08 07:15:56 $ # # EVM_LOGGER_CONF_VERSION 5.1A_2 - DO NOT DELETE THIS LINE # EVM Logger configuration file # Note: If a facility used in the handling of an event can produce an event # which would also require the use of that facility, an event loop could # result. # # For instance, critical events produced by mail cannot be # forwarded using mail (as exemplified in the forwarder below), since # mail may produce another critical event as a result of handling the # the forwarded event. (The critical event produced by mail is issued to # syslog, which responds by producing a high priority EVM event.) # # If (in this instance) high priority mail events must be forwarded, # another forwarder can be defined which employs a mechanism separate # from mail in the forwarding command. # Main log file: eventlog { name evmlog logfile [DEFAULT]/evmlog.dated type binary maxsize 10240 # Kbytes # Uncomment the following "alternate" line and set the logfile # path to specify an alternate logfile in case of write failures. # The path must specify an existing directory. #alternate /your_alternate_fs/evmlog/evmlog.dated # Log all events with priority >= 200: filter "[prio >= 200]" # Suppress logging of duplicate events: suppress { filter "[name *]" period 30 # minutes threshold 3 # No. of duplicates before suppression } cluster_evt_suppress { filter "^CRS_RLB.*" } } # evmlogger and racgevtf are no longer used to 'publish' ora.ha events; these # events are now 'published' by a subroutine library. # Forward restartfailed event forward { name crs_rsf filter "[name sys.ora.clu.crs.app.restartfailed]" command "%ORA_CRS_HOME%/bin/racgevtf rsf" maxqueue 100 } # Forward resource state change events from 11.2 CRSD forward { name crs_fwdons filter "[name sys.ora.clu.fwd_ons]" command "%ORA_CRS_HOME%/bin/racgevtf fwd_ons" maxqueue 100 } # Forward relocatefailed event forward { name crs_rlf filter "[name sys.ora.clu.crs.app.relocatefailed]" command "%ORA_CRS_HOME%/bin/racgevtf rlf" maxqueue 100 } # Forward public network down event forward { name oraha_pnwdown filter "[name ora.ha.*.vip.pnwdown]" command "%ORA_CRS_HOME%/bin/racgevtf pnwdown" maxqueue 100 } # Forward details of high-priority events to root: forward { name priority_alert # Don't forward mail events through mail (see note above). filter "[prio >= 600] & ![name @SYS_VP@.syslog.mail]" suppress { filter "[name *]" period 120 # minutes threshold 1 # No. of duplicates before suppression } # This evmshow command writes a subject line as the first line of # output, followed by a detailed display of the contents of the event. # The resulting message is distributed by mail(1). command "evmshow -d -t 'Subject: EVM ALERT [@priority]: @@' | mail root" # Limit the number of events that can be queued for this command: maxqueue 100 } # Secondary configuration files can be placed in the following # directory. See the evmlogger.conf(5) reference page for # information about secondary configuration files. configdir %ORA_CRS_HOME%/evm/admin/logger