Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\admin\default_collection\hascluster.xmlp
<!-- $Header: emdb/sysman/admin/default_collection/hascluster.xmlp /st_emdbsa_11.2/17 2009/07/16 16:50:41 rsamaved Exp $ Desc : Metric collections common to cluster target and a host target in a Single Instance HA configuration MODIFIED (MM/DD/YY) rsamaved 07/08/09 - increate collection frequency o for upload_on_fetch_metric shasingh 04/28/09 - add metric source attribute ajdsouza 07/01/08 - added resource instance metric shasingh 04/30/08 - Chnaged the collection def for Status column on crs_event metric ajdsouza 10/09/07 - moved collections to cluster/has file ajdsouza 05/22/07 - added collection for resource ajdsouza 02/05/07 - creation --> <!-- ********** Metrics Collections for Single Instance HA Configuration (BEGIN) ****** --> <!-- ==================================================================== CRS event metric - from the recievelet ==================================================================== --> <CollectionItem NAME = "crs_event" COLLECT_WHEN_DOWN="TRUE" UPLOAD_ON_FETCH="TRUE"> <ValidIf> <CategoryProp NAME="CRSVersionCategory" CHOICES="11gR2"/> </ValidIf> <Schedule OFFSET_TYPE="INCREMENTAL"> <IntervalSchedule INTERVAL="12" TIME_UNIT = "Hr"/> </Schedule> <MetricColl NAME="crs_event"> <ItemProperty NAME="eonsPort_static">2016</ItemProperty> <Condition COLUMN_NAME="Status" OPERATOR="MATCH" CRITICAL=".*" MESSAGE="%ons_event_type%#%crs_entity_name%#%crs_entity_subtype%#%crs_event_value%#%ons_event_time%#AGENT_GENERATED#%crs_event_body1%%crs_event_body2%" MESSAGE_NLSID="crs_event_status_alert_message" CLEAR_MESSAGE="Clear Message for %ons_event_type%#%crs_entity_name%#%crs_entity_subtype%#%crs_event_value%#%ons_event_time%#%crs_event_body1%%crs_event_body2%" CLEAR_MESSAGE_NLSID="crs_event_status_alert_clear_message" NO_CLEAR_ON_NULL="TRUE" /> <Condition PUSH="TRUE" COLUMN_NAME="Status" OPERATOR="MATCH" CRITICAL=".*" MESSAGE="%ons_event_type%#%crs_entity_name%#%crs_entity_subtype%#%crs_event_value%#%ons_event_time%#CLUSTER_GENERATED#%crs_event_body1%%crs_event_body2%" MESSAGE_NLSID="crs_event_status_alert_message_push" CLEAR_MESSAGE="Clear Message for %ons_event_type%#%crs_entity_name%#%crs_entity_subtype%#%crs_event_value%#%ons_event_time%#%crs_event_body1%%crs_event_body2%" CLEAR_MESSAGE_NLSID="crs_event_status_alert_clear_message_push" NO_CLEAR_ON_NULL="TRUE" /> </MetricColl> </CollectionItem> <!-- ==================================================================== CRS Resource Instance metric - from the recievelet ==================================================================== --> <CollectionItem NAME = "resource_status" COLLECT_WHEN_DOWN="TRUE" UPLOAD_ON_FETCH="TRUE"> <ValidIf> <CategoryProp NAME="CRSVersionCategory" CHOICES="11gR2"/> </ValidIf> <Schedule OFFSET_TYPE="INCREMENTAL"> <IntervalSchedule INTERVAL="12" TIME_UNIT = "Hr"/> </Schedule> <MetricColl NAME="resource_status"> <ItemProperty NAME="eonsPort_static">2016</ItemProperty> <Condition COLUMN_NAME="crs_event_composite_status" OPERATOR="MATCH" CRITICAL="COMPLETE_UNKNOWN|COMPLETE_OFFLINE|ADD|DOWN" WARNING="COMPLETE_INTERMEDIATE|PARTIALLY_UNKNOWN|PARTIALLY_OFFLINE|PARTIALLY_INTERMEDIATE" MESSAGE="%crs_entity_name% has %resource_status_alert_count% instances in %resource_status_alert_state% State %resource_status_additional_mesg%" MESSAGE_NLSID="resource_instance_value_alert_message" CLEAR_MESSAGE="%crs_entity_name% is in %resource_status_alert_state% State %resource_status_additional_mesg%" CLEAR_MESSAGE_NLSID="resource_instance_value_alert_clear_message" NO_CLEAR_ON_NULL="FALSE" /> <Condition PUSH="TRUE" COLUMN_NAME="crs_event_composite_status" OPERATOR="MATCH" CRITICAL="COMPLETE_UNKNOWN|COMPLETE_OFFLINE|ADD|DOWN" WARNING="COMPLETE_INTERMEDIATE|PARTIALLY_UNKNOWN|PARTIALLY_OFFLINE|PARTIALLY_INTERMEDIATE" MESSAGE="%crs_entity_name% has %resource_status_alert_count% instances in %resource_status_alert_state% State %resource_status_additional_mesg%" MESSAGE_NLSID="resource_instance_value_alert_message_push" CLEAR_MESSAGE="%crs_entity_name% is in %resource_status_alert_state% State %resource_status_additional_mesg%" CLEAR_MESSAGE_NLSID="resource_instance_value_alert_clear_message_push" NO_CLEAR_ON_NULL="FALSE" /> </MetricColl> </CollectionItem> <!-- ==================================================================== CSS Node List - from the recievelet ==================================================================== --> <!-- <CollectionItem NAME = "css_nodes" COLLECT_WHEN_DOWN="TRUE" UPLOAD_ON_FETCH="TRUE"> <ValidIf> <CategoryProp NAME="CRSVersionCategory" CHOICES="11gR2"/> </ValidIf> <Schedule OFFSET_TYPE="INCREMENTAL"> <IntervalSchedule INTERVAL="1" TIME_UNIT = "Hr"/> </Schedule> <MetricColl NAME="css_nodes"> <ItemProperty NAME="eonsPort_static">2016</ItemProperty> <Condition COLUMN_NAME="crs_server_state" OPERATOR="MATCH" CRITICAL="OFFLINE|INACTIVE" WARNING="LEAVING|JOINING|VISIBLE|RECONFIGURING|INTERMEDIATE|UNKNOWN|UNASSIGNED|NotDefined|Invalid/uninitialized" MESSAGE="Server %css_node_name% is %css_node_state%" MESSAGE_NLSID="css_node_alert_message" CLEAR_MESSAGE="Server %css_node_name% is %css_node_state%" CLEAR_MESSAGE_NLSID="css_node_alert_clear_message" NO_CLEAR_ON_NULL="TRUE" /> <Condition PUSH="TRUE" COLUMN_NAME="crs_server_state" OPERATOR="MATCH" CRITICAL="OFFLINE|INACTIVE" WARNING="LEAVING|JOINING|VISIBLE|RECONFIGURING|INTERMEDIATE|UNKNOWN|UNASSIGNED|NotDefined|Invalid/uninitialized" MESSAGE="Server %css_node_name% is %css_node_state%" MESSAGE_NLSID="css_node_alert_message_push" CLEAR_MESSAGE="Server %css_node_name% is %css_node_state%" CLEAR_MESSAGE_NLSID="css_node_alert_clear_message_push" NO_CLEAR_ON_NULL="TRUE" /> </MetricColl> </CollectionItem> --> <!-- ==================================================================== CRS Health Check ==================================================================== --> <!-- <CollectionItem NAME = "cluster_health_check" COLLECT_WHEN_DOWN="TRUE" UPLOAD_ON_FETCH="TRUE"> <ValidIf> <CategoryProp NAME="CRSVersionCategory" CHOICES="11gR2"/> </ValidIf> <Schedule OFFSET_TYPE="INCREMENTAL"> <IntervalSchedule INTERVAL="5" TIME_UNIT = "Min"/> </Schedule> <MetricColl NAME="cluster_health_check"> <Condition COLUMN_NAME="cluster_health_check_status" OPERATOR="MATCH" CRITICAL="VFAIL|EFAIL|FAILED|Fail|Failed" WARNING="WARN|NotDefined|Invalid/uninitialized|Unknown|UNKNOWN" MESSAGE="%cluster_health_check_node%, %cluster_health_check_comp_description% Health Check %cluster_health_check_status_mesg%, %cluster_health_check_message%" MESSAGE_NLSID="cluster_health_check_alert_message" CLEAR_MESSAGE="%cluster_health_check_node%, %cluster_health_check_comp_description% Health Check %cluster_health_check_status_mesg%, %cluster_health_check_message%" CLEAR_MESSAGE_NLSID="cluster_health_check_clear_message" NO_CLEAR_ON_NULL="TRUE" /> </MetricColl> </CollectionItem> --> <!-- ********** Metric Collections for Single Instance HA Configuration (END) ****** -->
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de