Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\admin\default_collection\host.xml
<!-- $Header: host.xml 08-may-2007.19:00:43 sreddy Exp $ --> <!DOCTYPE TargetCollection SYSTEM "../dtds/TargetCollection.dtd" [ <!ENTITY single_instance_ha_metric_collections SYSTEM "./si_ha.xmlp"> ]> <TargetCollection TYPE="host" > <CollectionItem NAME = "Inventory" UPLOAD_ON_FETCH = "TRUE" TIMEOUT = "3600"> <Schedule OFFSET_TYPE="INCREMENTAL"> <IntervalSchedule INTERVAL = "24" TIME_UNIT = "Hr"/> </Schedule> </CollectionItem> <CollectionItem NAME = "Load"> <Schedule OFFSET_TYPE="INCREMENTAL" > <IntervalSchedule INTERVAL = "5" TIME_UNIT = "Min"/> </Schedule> <Condition COLUMN_NAME="cpuUtil" CRITICAL="95" WARNING="80" OPERATOR="GT" OCCURRENCES="6" MESSAGE="CPU Utilization is %value%%%, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_load_cpuIdle_10_2_cond" CLEAR_MESSAGE="CPU Utilization is %value%%%, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_load_cpuIdle_10_2_cond_clear"/> <Condition COLUMN_NAME="swapUtil" CRITICAL="95" WARNING="80" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Swap Utilization is %value%%%, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_load_swapUtil_10_2_cond" CLEAR_MESSAGE="Swap Utilization is %value%%%, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_load_swapUtil_10_2_cond_clear"/> <Condition COLUMN_NAME="memUsedPct" WARNING="99" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Memory Utilization is %value%%%, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_load_memUsedPct_10_2_cond" CLEAR_MESSAGE="Memory Utilization is %value%%%, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_load_memUsedPct_10_2_cond_clear"/> <Condition COLUMN_NAME="cpuIntr" CRITICAL="80" WARNING="40" OPERATOR="GT" OCCURRENCES="6" MESSAGE="CPU % Interrupt Time is %value%%%, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_load_cpuIntr_10_2_cond" CLEAR_MESSAGE="CPU % Interrupt Time is %value%%%, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_load_cpuIntr_10_2_cond_clear"/> <Condition COLUMN_NAME="cpuQLen" CRITICAL="20" WARNING="10" OPERATOR="GT" OCCURRENCES="6" MESSAGE="CPU Queue Length is %value%, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_load_cpuQLen_10_2_cond" CLEAR_MESSAGE="CPU Queue Length is %value%, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_load_cpuQLen_10_2_cond_clear"/> <Condition COLUMN_NAME="pgTrnsfrRate" CRITICAL="NotDefined" WARNING="NotDefined" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Page transfers rate is %value% /sec, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold" MESSAGE_NLSID="host_load_pgtrnsfrrate_10_2_cond" CLEAR_MESSAGE="Page transfers rate is %value% /sec, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_load_pgtrnsfrrate_10_2_cond_clear"/> </CollectionItem> <CollectionItem NAME = "Filesystems" UPLOAD="24"> <Schedule> <IntervalSchedule INTERVAL = "15" TIME_UNIT = "Min"/> </Schedule> <Condition COLUMN_NAME="pctAvailable" CRITICAL="5" WARNING="20" OPERATOR="LT" MESSAGE="Filesystem %keyValue% has %value%%% available space, fallen below warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_filesys_pctAvailable_10_2_cond" CLEAR_MESSAGE="Filesystem %keyValue% has %value%%% available space, went above warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_filesys_pctAvailable_10_2_cond_clear" /> </CollectionItem> <CollectionItem NAME = "DiskActivity"> <Schedule> <IntervalSchedule INTERVAL = "15" TIME_UNIT = "Min"/> </Schedule> <LimitRows LIMIT_TO="16" /> <Condition COLUMN_NAME="DiskActivitybusy" CRITICAL="95" WARNING="80" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Disk Utilization for %keyValue% is %value%%%, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_disk_activity_busy_10_2_cond" CLEAR_MESSAGE="Disk Utilization for %keyValue% is %value%%%, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_disk_activity_busy_10_2_cond_clear"/> <Condition COLUMN_NAME="DiskActivityavserv" CRITICAL="NotDefined" WARNING="NotDefined" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Average service time for disk %keyvalue% is %value% ms, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_disk_activity_avrun_10_2_cond" CLEAR_MESSAGE="Average service time for disk %keyvalue% is %value% ms, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_disk_activity_avrun_10_2_cond_clear"/> <Condition COLUMN_NAME="DiskActivityavwait" CRITICAL="NotDefined" WARNING="NotDefined" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Average wait time for disk %keyvalue% is %value% ms, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_disk_activity_avwait_10_2_cond" CLEAR_MESSAGE="Average wait time for disk %keyvalue% is %value% ms, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_disk_activity_avwait_10_2_cond_clear"/> </CollectionItem> <CollectionItem NAME = "PagingActivity"> <Schedule> <IntervalSchedule INTERVAL = "15" TIME_UNIT = "Min"/> </Schedule> </CollectionItem> <CollectionItem NAME = "CPUUsage" UPLOAD="NO"> <Schedule> <IntervalSchedule INTERVAL = "15" TIME_UNIT = "Min"/> </Schedule> </CollectionItem> <!-- ESM host metric --> <CollectionItem NAME = "oracle_security" UPLOAD_ON_FETCH = "TRUE" CONFIG = "TRUE"> <Schedule OFFSET_TYPE="INCREMENTAL"> <IntervalSchedule INTERVAL = "24" TIME_UNIT = "Hr"/> </Schedule> <MetricColl NAME="openPorts" /> <MetricColl NAME="insecureServices" /> <MetricColl NAME="WindowsFileSystem" /> </CollectionItem> <!-- WMI EVENT LOG STARTS HERE --> <CollectionItem NAME = "Win_EventLogs"> <Schedule> <IntervalSchedule INTERVAL = "15" TIME_UNIT = "Min"/> </Schedule> <!-- This means generate a critical error if type="error" and warning if type="warning" --> <Condition COLUMN_NAME="type" CRITICAL="error" WARNING="warning" OPERATOR="EQ" OCCURRENCES="1" NO_CLEAR_ON_NULL="TRUE" MESSAGE="User[%user%]:Category[%categorystring%]:Description[%message%]" MESSAGE_NLSID="host_win_eventlog_type_cond"> <KeyColumn COLUMN_NAME="logfile" OPERATOR="EQ">System</KeyColumn> </Condition> <Condition COLUMN_NAME="type" CRITICAL="error" WARNING="warning" OPERATOR="EQ" OCCURRENCES="1" NO_CLEAR_ON_NULL="TRUE" MESSAGE="User[%user%]:Category[%categorystring%]:Description[%message%]" MESSAGE_NLSID="host_win_eventlog_type_cond"> <KeyColumn COLUMN_NAME="logfile" OPERATOR="EQ">Security</KeyColumn> </Condition> </CollectionItem> <!-- WMI EVENT LOG END HERE --> <!-- network metrics starts here --> <CollectionItem NAME = "Network"> <Schedule> <IntervalSchedule INTERVAL = "5" TIME_UNIT = "Min"/> </Schedule> <Condition COLUMN_NAME="totalThroughput" CRITICAL="NotDefined" WARNING="NotDefined" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Network utilization for %keyvalue% is %value%%%, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_network_totalThroughput_10_2_cond" CLEAR_MESSAGE="Network utilization for %keyvalue% is %value%%%, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_network_totalThroughput_10_2_cond_clear"/> <Condition COLUMN_NAME="totalRate" CRITICAL="NotDefined" WARNING="NotDefined" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Network I/O Rate for %keyvalue% is %value%MB/Sec, crossed warning (%warning_threshold%MB/Sec) or critical (%critical_threshold%MB/Sec) threshold." MESSAGE_NLSID="host_network_totalRate_10_2_cond" CLEAR_MESSAGE="Network I/O Rate for %keyvalue% is %value%MB/Sec, fallen below warning (%warning_threshold%MB/Sec) and critical (%critical_threshold%MB/Sec) thresholds." CLEAR_MESSAGE_NLSID="host_network_totalRate_10_2_cond_clear"/> <Condition COLUMN_NAME="totalErrorRate" CRITICAL="NotDefined" WARNING="NotDefined" OPERATOR="GT" OCCURRENCES="6" MESSAGE="Network Error Rate for %keyvalue% is %value%%%, crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_network_totalErrorRate_10_2_cond" CLEAR_MESSAGE="Network Error Rate for %keyvalue% is %value%%%, fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." CLEAR_MESSAGE_NLSID="host_network_totalErrorRate_10_2_cond_clear"/> </CollectionItem> <!-- network metrics ends here --> <!-- ==================================================================== VIP relocation metric collection ==================================================================== --> <CollectionItem NAME = "VIPRelocation"> <Schedule> <IntervalSchedule INTERVAL = "5" TIME_UNIT = "Min"/> </Schedule> <MetricColl NAME="VIPRelocation"> <Condition COLUMN_NAME="relocated" CRITICAL="TRUE" WARNING="NotDefined" OPERATOR="EQ" MESSAGE="CRS resource %vip% was relocated to %current_node%" MESSAGE_NLSID="host_crs_resource_relocated" /> </MetricColl> </CollectionItem> <!-- ==================================================================== CRS nodeapps down metric collection ==================================================================== --> <CollectionItem NAME = "CRSResource"> <Schedule> <IntervalSchedule INTERVAL = "5" TIME_UNIT = "Min"/> </Schedule> <MetricColl NAME="CRSResource"> <Condition COLUMN_NAME="status" CRITICAL="OFFLINE NOT RESTARTING" WARNING="UNKNOWN|OFFLINE" OPERATOR="MATCH" MESSAGE="CRS resource %nodeapps% is %status%" MESSAGE_NLSID="host_crs_resource_status_report" /> </MetricColl> </CollectionItem> <!-- ==================================================================== CRS alert reporting metric collection ==================================================================== --> <CollectionItem NAME = "CRSAlert"> <Schedule> <IntervalSchedule INTERVAL = "5" TIME_UNIT = "Min"/> </Schedule> <MetricColl NAME="CRSAlert"> <ItemProperty NAME="limitSwitch">250</ItemProperty> <Condition COLUMN_NAME="clusterwareErrStack" CRITICAL="CRS-(1202|1402|1602|1603)" WARNING="CRS-(1201|1401|1012)" OPERATOR="MATCH" MESSAGE="%clusterwareErrStack% See %alertLogName% for details." MESSAGE_NLSID="alertLog_crs_alertmessage" NO_CLEAR_ON_NULL="TRUE" /> <Condition COLUMN_NAME="resourceErrStack" CRITICAL="CRS-120(3|5|6)" OPERATOR="MATCH" MESSAGE="%resourceErrStack% See %alertLogName% for details." MESSAGE_NLSID="alertLog_crs_alertmessage" NO_CLEAR_ON_NULL="TRUE" /> <Condition COLUMN_NAME="ocrErrStack" CRITICAL="CRS-1009" OPERATOR="MATCH" MESSAGE="%ocrErrStack% See %alertLogName% for details." MESSAGE_NLSID="alertLog_crs_alertmessage" NO_CLEAR_ON_NULL="TRUE" /> </MetricColl> </CollectionItem> <!-- ==================================================================== CRS status metric collection ==================================================================== --> <CollectionItem NAME = "CRSStatus"> <Schedule> <IntervalSchedule INTERVAL = "5" TIME_UNIT = "Min"/> </Schedule> <MetricColl NAME="CRSStatus"> <Condition COLUMN_NAME="CRS_status" CRITICAL="0" WARNING="-1" OPERATOR="EQ" CLEAR_MESSAGE="Clusterware is Up on this host." CLEAR_MESSAGE_NLSID="CRS_Status_clearalertmessage" MESSAGE="Clusterware on the local host has problems. %CRS_output%" MESSAGE_NLSID="CRS_Status_alertmessage" /> </MetricColl> </CollectionItem> <!-- ====================================================================== Metric Collections for Single Instance HA Configuration BEGIN ====================================================================== --> &single_instance_ha_metric_collections; <!-- ====================================================================== Metric Collections for Single Instance HA Configuration END ====================================================================== --> <CollectionItem NAME="LogFileMonitoring"> <Schedule> <IntervalSchedule INTERVAL="15" TIME_UNIT = "Min"/> </Schedule> <MetricColl NAME="LogFileMonitoring"> <Condition COLUMN_NAME="log_file_match_count" WARNING="0" CRITICAL="NotDefined" OPERATOR="GT" NO_CLEAR_ON_NULL="TRUE" MESSAGE="%log_file_message%. %log_file_match_count% crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold." MESSAGE_NLSID="host_log_file_match_count_cond" /> </MetricColl> </CollectionItem> </TargetCollection>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de