Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\admin\metadata\oracle_database.xml
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by LUCY EPPOLITO (ORACLE CORPORATION) --> <!-- $Header: emdb/sysman/admin/metadata/oracle_database.xml /st_emdbsa_11.2/7 2008/11/13 16:29:10 ajdsouza Exp $ MODIFIED (MM/DD/YY) ajdsouza 09/20/08 - moved isHasManaged to dyn_props.xmlp kdas 08/28/08 - add RacInstNum anosriva 07/06/08 - Added new Metrics for streams and AQ. Changing the META_VER rsamaved 05/08/08 - add 11gR2 version. ajdsouza 05/07/08 - added dynamic property isHasManaged dchakumk 03/10/08 - XbranchMerge dchakumk_6752_xbmsrc from st_emdbsa_11.1 jsoule 09/28/07 - make OSMInstance property available when db down rtakeish 04/29/07 - bug6012276, db_block_size is constant 2048 loliu 02/20/07 - Removed AdrEnabled property. Added AdrHome and AdrBase properties. gallison 02/02/07 - Bug 5527729 sadattaw 11/16/06 - removing service_performance metric def sadattaw 10/10/06 - add service_performance metric definition keiwong 10/26/06 - update ADR related properties sjconnol 09/20/06 - Bug 5554439 jsoule 08/29/06 - add 11gR1 version keiwong 07/18/06 - Add ADR related properties ezeng 07/27/06 - bug 5415082 jsoule 03/13/06 - add 10.2.0.3 version support ychan 09/01/05 - Fix bug 4587922 ychan 08/15/05 - Add nls character set dynamic prop ysun 07/22/05 - add Version Banner property dsukhwal 05/10/05 - add ESA dynamic properties ysun 02/23/05 - put DBVersion back dkjain 02/17/05 - change sysPublicPackage sql ysun 02/14/05 - split and use include swexler 02/09/05 - disable HC for 10gR2 hxlin 02/09/05 - MCResponse change lhan 02/04/05 - fix SQLUDM definition if return is too long mnihalan 02/04/05 - Exclude TSMSYS dsukhwal 02/03/05 - collect audit_syslog_level and allowed logon ver dkjain 02/01/05 - Rac disabled for database level metric for ESA ychan 01/31/05 - Add alertlog filter kdas 01/27/05 - revert ADDM metric dkjain 01/18/05 - Fixed Bug-4128351(remove filter unlimited from reuse_max and lock_time) - Fixed Bug-4128257(exclude Oracle provided users) xshen 01/12/05 - modify tablespace metrc rreilly 01/18/05 - add failed login metric for audit dsukhwal 01/27/05 - adding dba_group report metric dsukhwal 01/20/05 - Report fetchlets : convert to SQL jgwang 01/13/05 - add UDM credentials lhan 01/18/05 - add IS_TRANSPOSED flag for SQLUDM hying 01/03/05 - errorPrefix for alertlog ychan 12/30/04 - Fix bug 4022589 dkjain 12/28/04 - Corrected the query in dbInitParamCollection - sql in pubExecutePrivs is combined with executePrivilege - Making SID as Env Var in metric iFileRefPerm dkjain 12/14/04 - Add tablespace_name in sql for the metric tableSpaces pkantawa 12/14/04 - Fix CredentialInfo to add display info dkjain 12/13/04 - Metric dbLinkPassword removed swexler 12/02/04 - health check dkjain 12/10/04 - Fixed Bug-4033921(Making SID as Env Var in metric dbInitFilePerm) jsoule 11/30/04 - parametrize alertLog metric gallison 12/07/04 - Fix dg metric dsukhwal 12/01/04 - Fix heavy SQL in metric executePrivileges(bug 4008523) shaagarw 11/30/04 - Adding definition for DBVersion dynamic property. kramarat 11/24/04 - Add GetPrimaryDBName dkjain 11/23/04 - Added username in select of - tableSpaces metric and modify - unlimitedFailedLoginAttempts to add profile value - replace perlscript by sql command for metric dbPasswordSetting dsukhwal 11/22/04 - Fix nvl issues in dbParamCollection metric rreilly 11/18/04 - move fix for bug 3950666 into emdbgc branch lhan 11/16/04 - clean up sqludm gallison 11/13/04 - Change PDL to RNA rreilly 11/11/04 - add tbspAllocation metric rreilly 11/11/04 - bug 3377171 Invalid Objects - filter out sys invalid objects jsoule 11/10/04 - add two new alerts for baselines dkjain 11/08/04 - Removed os_roles and max_enabled_roles from dbParamCollection dkjain 11/08/04 - DBMS_RANDOM has been removed from executePrivileges metric and add a new metric dbLinkPassword dkjain 11/04/04 - Added nvl in dbParamCollection metric rreilly 11/04/04 - bug 3978294 fix db_tablespaces collection ysun 11/03/04 - add DBDomain ysun 10/21/04 - change Database->Database Instance gallison 10/11/04 - DG Support sresrini 10/27/04 - collect streams metrics for 10gR2 also bkesavan 10/10/04 - Bug-3760353 dkjain 10/13/04 - sqlnetParams metric added dkjain 10/13/04 - ESA 10gR2 Reports impl & column value1 name changed dkjain 10/08/04 - ESA 10gR2 impl jsoule 10/05/04 - add baseline metadata metrics pbantis 10/01/04 - New HA collections. xuliu 09/30/04 - intrconn metric reorg xuliu 09/28/04 - rac interconn type alert xuliu 09/24/04 - fix intrconn vshah 09/27/04 - Fix for bugs 3884600 & 3884511. Avoid getting duplicate rows from v$servicemetric_history. Fix query for CPUTimingEnabled. xuliu 09/21/04 - rac interconn traffic hxlin 09/13/04 - Rename sql resp time col pbantis 09/15/04 - Update ha_backup. ychan 09/13/04 - update version for 10gr2 rreilly 08/12/04 - bug 3581777 3377171 rreilly 08/12/04 - bug 32646676 remove Invalid Objects metric dkjain 08/10/04 - bug 3813865, Added a numrow<200 hxlin 07/15/04 - Add collect sql response time metric rreilly 07/28/04 - enh 3062024 tblspc free space (mb) blivshit 07/26/04 - add one hour awr query for grid control metric detail pages kdas 07/28/04 - fix for ADDM on MAIN ajdsouza 07/22/04 - Changed the db_datafiles, db_redologs, db_controlfiles to oslinetoken executions rreilly 07/14/04 - bug 3548431 db_recSegmentSettings_sysseg perf fix sresrini 07/19/04 - add metrics for streams apply process ychan 07/13/04 - Fix bug 3738242 ychan 07/09/04 - Remove 10gBeta rasundar 07/01/04 - Capitalize s in Number of spilled Messages xuliu 07/01/04 - rac interconnect ychan 06/30/04 - Fix bug 3467825 kranjan 06/28/04 - fix for bug 3576903 mnihalan 06/24/04 - Add metric for Segment Advisor Recommendations jgwang 06/22/04 - jochen 06/21/04 - Add media failure category to alert log jgwang 06/21/04 - add NLS labels for UDMs jstone 06/11/04 - composite key for db_FeatureUsage (3669601) lhan 06/10/04 - UDM change jsoule 06/03/04 - relocate oracle_database resources sresrini 05/10/04 - add streams metrics sbadrina 05/05/04 - add used size to db_tablespaces ysun 05/04/04 - sync with mainsa jochen 04/27/04 - Add minSegSize to wastedSpace jgwang 04/23/04 - sqludm enhancement yfeng 04/16/04 - Fix bug 3263351- dummy row with null timestamp jsoule 04/14/04 - invert recovery area metric computation ysun 04/08/04 - update global_cache_gets for 9.x pbantis 04/05/04 - Update ha_init_params metric rreilly 03/15/04 - add storage policies jsoule 03/09/04 - define column mapping for alertLog ychan 02/18/04 - Fix bug 3450634 xshen 02/18/04 - fix bug 3451403 jsoule 01/19/04 - fix blocked session count key values hmulling 01/07/04 - do not report default pwd of expired accounts abodge 12/29/03 - Fix JAVASNM ref in invalid objects query yfeng 12/12/03 - Use union all for mgmt_sql_summary yfeng 12/11/03 - Add ValidIf for memt_sql_metric_helper yfeng 12/07/03 - Use the original NLS string for yfeng 12/06/03 - return snap_time for mgmt_sql_metric_helper yfeng 12/05/03 - Modify mgmt_sql_metric_helper nachen 12/05/03 - fix sql for addm findings jsoule 12/04/03 - upload less sys/file metric data nachen 11/25/03 - improve addm performance hmulling 11/24/03 - disable rac use of remote login esm metric jsoule 11/21/03 - add CpuTimingEnabled dynamic property lhan 11/12/03 - Change osm to asm jsoule 11/16/03 - remove line break from nlsid for system_response_time_per_call lhan 11/05/03 - add SQL UDM abodge 11/06/03 - More recseg perf work jsoule 11/06/03 - add TimeFormat property xshen 11/04/03 - split db_datafiles query to hidden metrics ysun 11/03/03 - update statisics_level hmulling 11/03/03 - add help=no_help attribute to esm metrics jsoule 10/30/03 - revert Recovery_Area.Free_Space one last time abodge 10/30/03 - Fix bug 3210014 vchao 10/29/03 - Added StatisticsLevel dynamic property jsoule 10/28/03 - fix GetArchiveDestination jsoule 10/28/03 - use open mode to prevent SQL Response metric jsoule 10/27/03 - add open mode dynamic property pbantis 10/24/03 - Add log_mode column to ha_info abodge 10/23/03 - Restrict segments queries vchao 10/24/03 - Bug 3090611. Specify dynamic preoperty of dump_dest in term of ORACLE_SID jsoule 10/20/03 - hint bad queries gallison 10/19/03 - Add DataGuardStatus to metadata (3202444) jaysmith 10/16/03 - add Role property to PushDescriptors yfeng 10/16/03 - Fix mgmt_sql_plan metric vchao 10/15/03 - Bug 3156858. Provide more/all metrics as column choices forDB target roll table jochen 10/08/03 - Enable seg_find/grant_privs jsoule 10/15/03 - reintroduce Sessions: Other jsoule 10/14/03 - remove key attribute from recovery area kmckeen 10/14/03 - Bug 3191581 - update problemTbsp 10i SQL query to use new view hmulling 10/10/03 - undo removal of validif because of oci bug jsoule 10/07/03 - restore keys to UserBlock alert jochen 10/07/03 - Disable seg_find/grant_privs jsoule 10/07/03 - restore keys to UserBlock alert jsoule 10/06/03 - fix credential info corruption ysun 10/06/03 - remove UserBlock for RAC instances hmulling2 10/03/03 - remove ValidIf tag for testPrivileges jsoule 10/02/03 - fix internal names for wait_sess_cls jochen 10/01/03 - Add seg_find/grant_privs gallison 10/02/03 - Add dataguard status dynprop anajmi 09/30/03 - Allowed 8iR2 ESM metrics where valid jsoule 09/30/03 - fix GetOSMInstance dynamic property jsoule 09/30/03 - react to v$view definition changes abodge 09/30/03 - Enhance mixed-segment-types check abodge 09/25/03 - Rework storage policy rule eujang 09/27/03 - Changed dbsmp privilege test error message jabramso 09/25/03 - ilint (tvmai26) diff jsoule 09/23/03 - fix ilint complaint eujang 09/22/03 - ESM integration abodge 09/19/03 - Add sys users to storage policy metrics vchao 09/19/03 - Remove redundant columns from wati_bottlenecks kmckeen 09/17/03 - Bug 3115742 - fix performance of 10i problemTbsp query abodge 09/17/03 - Improve segment query performance kdas 09/16/03 - fix for 3115863 yfeng 09/11/03 - Add dummy for sql metric for deleting old data abodge 09/12/03 - Dont get invalid Java classes vchao 09/11/03 - transient time column in time-series metrics abodge 09/10/03 - Add tablespace column to rec user metric abodge 09/09/03 - Add java class support to Inv Objects metric jsoule 09/09/03 - remove fast string lookup for events/stats vchao 09/08/03 - Replace Cursor with Consistent Read for abodge 09/07/03 - Add inv object config metric vchao 09/08/03 - Add NLS for time-series column vchao 09/04/03 - Modify metric query for file jsoule 09/03/03 - remove unnecessary time counters from wait_bottlenecks metric jsoule 08/27/03 - add Recovery_Area data, problemTbsp reversion abodge 09/02/03 - Rec TS metric perf (bug 3117736) skini 09/02/03 - Typo is host credentials vchao 09/02/03 - Implement time_series data jochen 08/27/03 - Segment Findings jsoule 08/26/03 - handle timed_statistics=FALSE jsoule 08/26/03 - handle timed_statistics=FALSE skini 08/27/03 - Monitoring credentials for databases jsoule 08/25/03 - add finalization for strings jaysmith 08/21/03 - add KeyColumn property to AQ PushDescriptor abodge 08/22/03 - Correct storage queries abodge 08/20/03 - More rework abodge 08/14/03 - Rework Rec Seg metric xshen 08/15/03 - bug 3100306 ychan 08/15/03 - Fix bug 3092362 vchao 08/22/03 - Changed non-threshold-based alert labels kmckeen 08/15/03 - Add tbspc space-used metric for 10i db dictionary mngd tbspc xshen 08/15/03 - bug 3100306 pbantis 08/11/03 - No help for Data Guard Name column ychan 08/15/03 - Fix bug 3092362 ysun 08/11/03 - categorize database level server generated alerts lhan 08/01/03 - Fix ASM bug 3079858 jsoule 08/01/03 - modify types of non-threshold based metrics vchao 07/31/03 - Modify some NLSIDs from script errors jabramso 07/31/03 - Add DOCTYPE jsoule 07/29/03 - update active_sessions computation rzkrishn 07/25/03 - removing UDM as UI needed vchao 07/25/03 - Modified wait_bottlenecks query (10i) vchao 07/25/03 - Make wait_sess and sessions_in_wait 9i only kmckeen 07/24/03 - Support server-generated tablespace space-used alert vchao 07/24/03 - vchao 07/24/03 - Bug 3067386. Remove key column for UserBlock (10i) vchao 07/23/03 - Add non-threshold based alerts pbantis 07/21/03 - Collect HA flashback_on vchao 07/21/03 - Change file and service names ychan 07/17/03 - remove dup sql vchao 07/18/03 - Add NO_HELP for rac_global_cache ysun 07/16/03 - remove global cache gets and converts vchao 07/15/03 - Add/remove db metrics jsoule 07/09/03 - jsoule 07/09/03 - limit alert log scanning ysun 07/09/03 - update rac global cache vchao 07/09/03 - Change metric column types kdas 07/10/03 - fix for 3042900 ysun 07/11/03 - remove gets and converts vchao 07/08/03 - Fix dup metric names ysun 07/08/03 - remove semi colon ysun 07/07/03 - get db unique name and global db cache for 10i hying 07/01/03 - Fix bug 2988520 vchao 06/27/03 - Add more svr-generated alerts vchao 06/26/03 - Add server-generated alerts gallison 06/25/03 - Make role optional gallison 06/23/03 - Add role to SQL fetchlets ysun 06/18/03 - update global cache metrics xshen 06/16/03 - add next extent ychan 06/09/03 - Add more wait metrics jsoule 06/06/03 - compute median of sql response time values jsoule 06/04/03 - add Queue Monitor events to the idle list sbadrina 06/03/03 - change scope to USER for sizeToView in alertlogContent aaitghez 05/30/03 - stdin vars jochen 05/23/03 - Wasted space recommendation column xshen 05/22/03 - xshen 05/15/03 - dbconfig is cut over to ecm jsoule 05/21/03 - add necessary alertLogStatus columns kdas 05/22/03 - tuned sql for hdm rac jochen 05/06/03 - Wasted space item properties not required jstone 05/14/03 - add rac support kdas 05/19/03 - fix hdm sql for performance abodge 05/15/03 - Convert strg advsr metrics to config snapshot kdas 05/07/03 - fix for HDM metric ychan 05/14/03 - Support role kdas 05/07/03 - fix for HDM metric jsoule 05/06/03 - fix alert log status name jsoule 04/25/03 - update alertLog metric column labels jstone 04/29/03 - beta 2 revisions abodge 04/25/03 - Clean up unused junk jsoule 04/23/03 - add no_help attribute kdas 04/24/03 - fix for HDM sql lhan 04/23/03 - change META_VER since this is different from 4.0 lhan 04/23/03 - change the display name of columns to fix bug 2910628 kdas 04/21/03 - support for HDM metric jsoule 04/18/03 - fix userBlock metric to eliminate duplicate keys lhan 04/18/03 - bug 2877273 - add key to redoLog metric pbantis 04/18/03 - Change some of Data Guard columns to numbers lhan 04/16/03 - Change query of rbseg to improve performance - bug 2812395 jsoule 04/15/03 - add rollup alert log metrics per category abodge 04/17/03 - Move recSettingsPurge def abodge 04/04/03 - Add rec settings metrics lhan 04/08/03 - split problemTbsp into two ychan 04/05/03 - Add version check for top sql jpyang 04/16/03 - fix nlsid xshen 04/02/03 - remove free size from dbconfig query pbantis 04/01/03 - Ignore rac for Config Mgmt metrics vchao 03/31/03 - Change duplicate sql parameter jochen 03/24/03 - Add Storage Performance metric vchao 03/25/03 - Fix 2852633 - unti for CPU time in sysstat is 1/100 pbantis 03/20/03 - Add ha_rman_config. jstone 03/17/03 - add feature usage metric vshah 03/14/03 - Fix bug 2849761 xshen 02/24/03 - remove db_block_size from db metrics yfeng 02/18/03 - Fix bug 2722831 - rewrite query for database resource usage metric jsoule 03/07/03 - change CPU Delta label/short label gachen 03/03/03 - set username to be cleartext gachen 02/28/03 - reenter password jsoule 02/21/03 - remove the deduction of background effects jsoule 02/18/03 - modify invalid_objects query jsoule 02/10/03 - take database-wide rollup out of invalid objects metric (to aggregate) ychan 02/11/03 - Fix job sql vshah 02/04/03 - vshah 02/03/03 - Using binding variables for Top SQL metric vshah 02/02/03 - Fix bug 2776576 - use same threshold as in SWRF for Top SQL pbantis 02/03/03 - Fix ha_backup sql jsoule 01/30/03 - update the 'idle' event list jsoule 01/24/03 - ensure no negative CPU Deltas jsoule 01/07/03 - catch negative deltas for Throughput metrics, call them counter resets pbantis 01/06/03 - Add ha_info, ha_init_params, ha_files, ha_backup, and ha_mttr. ysun 12/20/02 - update RAC option criterion xshen 12/18/02 - bug 2708271 ysun 12/04/02 - seperate for RAC instances vshah 12/13/02 - Fix bug 2703105 xshen 11/25/02 - remove dump area from condensed UI jsoule 11/22/02 - compute background process times BEFORE total times swexler 11/19/02 - add % to sql response yfeng 11/13/02 - Fix bug 2663164 - modify query to get sql plan hying 11/15/02 - Add archive_dest quota check for 9i jsoule 11/05/02 - remove spaces from metric internal names xshen 11/05/02 - buffer cache sql jsoule 11/04/02 - fix Buffer Cache Hit (%) computation jsoule 10/29/02 - deltas, not zeroes jsoule 10/23/02 - add SQL*Net message from client to idle events ychan 10/24/02 - Remove service name perl trace level yfeng 10/23/02 - use group by to get around multiply cost value problem jsoule 10/25/02 - make modifications to database target metrics jsoule 10/15/02 - change key in alertLog, pass GUID, enable debugging ychan 10/15/02 - Change suspended session vshah 10/10/02 - dense ui mod --> <!DOCTYPE TargetMetadata SYSTEM "../dtds/TargetMetadata.dtd" [ <!ENTITY instance_metrics SYSTEM "./instance.xmlp"> <!ENTITY database_metrics SYSTEM "./database.xmlp"> <!ENTITY credentials SYSTEM "./creds.xmlp"> <!ENTITY dynamic_properties SYSTEM "./dyn_props.xmlp"> <!ENTITY esa_inst_dynamic_properties SYSTEM "./esa_instance_dyn_props.xmlp"> <!ENTITY esa_db_dynamic_properties SYSTEM "./esa_database_dyn_props.xmlp"> ]> <TargetMetadata META_VER="5.3" TYPE="oracle_database" CATEGORY_PROPERTIES="VersionCategory;MCPkg;MetricScope;DataGuardStatus;OTSchemaExists" RESOURCE_BUNDLE_PACKAGE="oracle.sysman.db.rsc"> <Display> <Label NLSID="name">Database Instance</Label> </Display> <!-- Skip all metrics when State columns triggers a severity (MOUNTED database) --> <AltSkipCondition METRIC="Response" COLUMN="State"/> &instance_metrics; &database_metrics; &credentials; <!-- ======================================================== == == Instance Properties == ======================================================== --> <InstanceProperties> <InstanceProperty NAME="OracleHome" CREDENTIAL="FALSE" OPTIONAL="FALSE"> <Display> <Label NLSID="OracleHome_iprop">Oracle home path</Label> </Display> </InstanceProperty> <InstanceProperty NAME="UserName" CREDENTIAL="TRUE" OPTIONAL="FALSE" NEED_REENTER="FALSE" HIDE_ENTRY="FALSE"> <Display> <Label NLSID="UserName_iprop">Username</Label> </Display> </InstanceProperty> <InstanceProperty NAME="password" CREDENTIAL="TRUE" OPTIONAL="FALSE" NEED_REENTER="TRUE"> <Display> <Label NLSID="password_iprop">Password</Label> </Display> </InstanceProperty> <InstanceProperty NAME="Role" CREDENTIAL="FALSE" OPTIONAL="TRUE"> <Display> <Label NLSID="role_iprop">Role</Label> </Display> </InstanceProperty> <InstanceProperty NAME="MachineName" CREDENTIAL="FALSE" OPTIONAL="FALSE"> <Display> <Label NLSID="MachineName_iprop">Listener Machine Name</Label> </Display> </InstanceProperty> <InstanceProperty NAME="Port" CREDENTIAL="FALSE" OPTIONAL="FALSE"> <Display> <Label NLSID="Port_iprop">Port</Label> </Display> </InstanceProperty> <InstanceProperty NAME="SID" CREDENTIAL="FALSE" OPTIONAL="FALSE"> <Display> <Label NLSID="SID_iprop">Database SID</Label> </Display> </InstanceProperty> <!-- Dynamic prop defs from here onwards --> <InstanceProperty NAME="DBVersion" CREDENTIAL="FALSE" OPTIONAL="TRUE" IS_COMPUTED="TRUE"> <Display> <Label NLSID="DBVersion_nlsid">Version</Label> </Display> </InstanceProperty> &dynamic_properties; &esa_inst_dynamic_properties; &esa_db_dynamic_properties; <!-- ====================================================================== == Dynamic Properties: Config ====================================================================== --> <DynamicProperties NAME="Config" FORMAT="ROW" IS_CRITICAL="TRUE" PROP_LIST="DBName;InstanceName;StartTime;TimeFormat;Version;TimedStatistics;OpenMode;RACInstNum"> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[ SELECT d.database_name "DBName", i.instance_name "InstanceName", TO_CHAR(i.startup_time, f.time_format) "StartTime", f.time_format "TimeFormat", i.version "Version", p.value "TimedStatistics", r.open_mode "OpenMode", i.instance_number "RACInstNum" FROM (select * from (SELECT name, value database_name FROM v$parameter WHERE (name = 'db_unique_name' OR name = 'db_name') AND value IS NOT NULL ORDER BY name DESC) where rownum = 1 ) d, v$instance i, v$parameter p, v$database r, (SELECT :1 time_format FROM dual) f WHERE p.name = 'timed_statistics' ]]></Property> <Property NAME="SQLINPARAM1" SCOPE="GLOBAL">YYYY-MM-DD HH24:MI:SS</Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: CPU Timing Enabled ====================================================================== --> <DynamicProperties NAME="PlatformLimitations" FORMAT="ROW" PROP_LIST="CPUTimingEnabled"> <ValidIf> <CategoryProp NAME="VersionCategory" CHOICES="10gR1;10gR2;10gR203;11gR1;11gR2"/> </ValidIf> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[ SELECT DECODE(COUNT(*), 0, 'FALSE', 'TRUE') "CPUTimingEnabled" FROM v$osstat WHERE osstat_id = 1 ]]></Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: Server Manageability ====================================================================== --> <DynamicProperties NAME="ServerManageability" FORMAT="ROW" PROP_LIST="StatisticsLevel"> <ValidIf> <CategoryProp NAME="VersionCategory" CHOICES="10gR1;10gR2;10gR203;11gR1;11gR2"/> </ValidIf> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"> <![CDATA[ select value from v$parameter where name='statistics_level' ]]></Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: Version Banner ====================================================================== --> <DynamicProperties NAME="GetBanner" FORMAT="ROW" PROP_LIST="VersionBanner"> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[ SELECT BANNER FROM V$VERSION WHERE BANNER LIKE '%Oracle%' ]]></Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: MonitorConfigStatus == (check for statspack and packages under dbsnmp for db monitoring) ====================================================================== --> <DynamicProperties NAME="MonitorConfigStatus" FORMAT="ROW" PROP_LIST="MCSpInst;MCResponse;MCPkg"> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[ DECLARE r VARCHAR2(80); v VARCHAR2(300); v_db_version VARCHAR2(10); db_version_9i CONSTANT VARCHAR2(10) := '09.0.0.0.0'; db_version_10 CONSTANT VARCHAR2(10) := '10.0.0.0.0'; id NUMBER; iid NUMBER; level NUMBER; sp_pkg VARCHAR2(2); dbsnmp_response VARCHAR2(2); pkg_state NUMBER; TYPE data_cursor_type IS REF CURSOR; data_cursor data_cursor_type; TYPE obj_cursor_type IS REF CURSOR; obj_cursor obj_cursor_type; oname VARCHAR2(50); version_10_2_0_0 CONSTANT VARCHAR2(10) := '10.2.0.0.0'; version_10_2_0_1 CONSTANT VARCHAR2(10) := '10.2.0.1.0'; response_pkg_version VARCHAR2(50); BEGIN sp_pkg := '0'; dbsnmp_response := '0'; pkg_state := 0; -- refresh the session to get the latest privileges BEGIN r := 'set role all'; execute immediate r; EXCEPTION when others then dbms_output.put_line(SQLERRM); END; SELECT LPAD(version, 10, '0') INTO v_db_version FROM v$instance; -- check for mgmt_response for version >= 9i IF v_db_version >= db_version_9i THEN BEGIN r := 'begin :1 := dbsnmp.mgmt_response.getVersion; end;'; execute immediate r using in out response_pkg_version; IF (response_pkg_version >= version_10_2_0_1 AND to_number(trim(trailing '.' from substr(response_pkg_version,1,2))) >= 10) THEN dbsnmp_response := '3'; ELSE IF (response_pkg_version >= version_10_2_0_0 AND to_number(trim(trailing '.' from substr(response_pkg_version,1,2))) >= 10) THEN dbsnmp_response := '2'; ELSE dbsnmp_response := '1'; END IF; END IF; --- 2^1 - 2 is used for response; pkg_state := pkg_state + 2; EXCEPTION when others then dbsnmp_response := '0'; END; END IF; -- check perfstat.statspack IF (v_db_version < db_version_10) THEN OPEN obj_cursor FOR 'SELECT o.name FROM sys.obj$ o, sys.user$ u WHERE u.name = ''PERFSTAT'' AND o.owner# = u.user# AND o.name = ''STATSPACK'' AND o.type# = 11 AND o.status = 1'; LOOP FETCH obj_cursor INTO oname; EXIT WHEN obj_cursor%NOTFOUND; sp_pkg := '1'; END LOOP; CLOSE obj_cursor; -- if statspack exists, check for level IF (sp_pkg = '1') THEN BEGIN IF (v_db_version >= db_version_9i) THEN SELECT dbid into id FROM v$database; SELECT instance_number into iid FROM v$instance; v := 'SELECT SNAP_LEVEL FROM PERFSTAT.STATS$STATSPACK_PARAMETER WHERE dbid = :1 AND INSTANCE_NUMBER = :2'; execute immediate v into level using id, iid; IF (level < 6) THEN sp_pkg := '0'; END IF; END IF; EXCEPTION when others then sp_pkg := '0'; END; END IF; IF (sp_pkg = '1') THEN --- 2^0 - 1 is used for statspack and level; pkg_state := pkg_state + 1; END IF; END IF; OPEN data_cursor FOR SELECT sp_pkg, dbsnmp_response, to_char(pkg_state) FROM dual; :1 := data_cursor; EXCEPTION WHEN others THEN OPEN :1 FOR SELECT sp_pkg, dbsnmp_response, to_char(pkg_state) FROM dual; dbms_output.put_line('Error executing db monitor config checking'); dbms_output.put_line(SQLERRM); END; ]]></Property> <Property NAME="SQLOUTPARAMPOS" SCOPE="GLOBAL">1</Property> <Property NAME="SQLOUTPARAMTYPE" SCOPE="GLOBAL">SQL_CURSOR</Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: GetDumpDestination ====================================================================== --> <DynamicProperties NAME="GetDumpDestination" PROP_LIST="background_dump_dest;user_dump_dest;core_dump_dest"> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"> <![CDATA[ SELECT name, DECODE(sid_var_pos, 0, value, SUBSTR(value, 1, sid_var_pos)||:1||SUBSTR(value, sid_var_pos + sid_var_len, value_len)) value FROM (SELECT name, value, LENGTH(sid_var) sid_var_len, INSTR(value, sid_var) sid_var_pos, LENGTH(value) value_len FROM (SELECT name, value, :2 sid_var FROM v$parameter WHERE name LIKE '%_dump_dest')) ]]></Property> <Property NAME="SQLINPARAM1" SCOPE="INSTANCE">SID</Property> <Property NAME="SQLINPARAM2" SCOPE="GLOBAL">$ORACLE_SID</Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: GetArchiveDestination ====================================================================== --> <DynamicProperties NAME="GetArchiveDestination" FORMAT="ROW" PROP_LIST="log_archive_mode"> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[ select log_mode from v$database ]]></Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: DeduceAlertLogFile ====================================================================== --> <DynamicProperties NAME="DeduceAlertLogFile" FORMAT="ROW" PROP_LIST="alert_log_file"> <QueryDescriptor FETCHLET_ID="OSLineToken"> <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property> <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property> <Property NAME="background_dump_dest" SCOPE="INSTANCE">background_dump_dest</Property> <Property NAME="command" SCOPE="GLOBAL"><![CDATA[ %perlBin%/perl %scriptsDir%/alertlog_find.pl %background_dump_dest% ]]></Property> <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property> <Property NAME="delimiter" SCOPE="GLOBAL">|</Property> <Property NAME="ENVEM_TARGET_ORACLE_HOME" SCOPE="INSTANCE">OracleHome</Property> <Property NAME="ENVEM_TARGET_ORACLE_SID" SCOPE="INSTANCE">SID</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: GetCPUCount ====================================================================== --> <DynamicProperties NAME="GetCPUCount" FORMAT="ROW" PROP_LIST="CPUCount"> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[ select value from v$parameter where name='cpu_count' ]]></Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: Enabled Features == (get non-database-specific, metadata-detectable features) ====================================================================== --> <DynamicProperties NAME="EnabledFeatures" FORMAT="ROW" PROP_LIST="IsBaselineable"> <ValidIf> <CategoryProp NAME="VersionCategory" CHOICES="10gR2;10gR203;11gR1;11gR2"/> </ValidIf> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[ DECLARE l_isBaselineable VARCHAR2(5) := 'TRUE'; TYPE csr_t IS REF CURSOR; l_csr csr_t; BEGIN BEGIN OPEN l_csr FOR 'SELECT ''TRUE'' FROM dbsnmp.mgmt_bsln_baselines WHERE ROWNUM = 1'; FETCH l_csr INTO l_isBaselineable; IF l_csr%NOTFOUND THEN l_isBaselineable := 'TRUE'; END IF; CLOSE l_csr; EXCEPTION WHEN OTHERS THEN l_isBaselineable := 'FALSE'; END; OPEN :1 FOR SELECT l_isBaselineable FROM dual; END; ]]></Property> <Property NAME="SQLOUTPARAMPOS" SCOPE="GLOBAL">1</Property> <Property NAME="SQLOUTPARAMTYPE" SCOPE="GLOBAL">SQL_CURSOR</Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: GetOSMInstance ====================================================================== --> <DynamicProperties NAME="GetOSMInstance" FORMAT="ROW" PROP_LIST="OSMInstance"> <ValidIf> <CategoryProp NAME="VersionCategory" CHOICES="10gR1;10gR2;10gR203;11gR1;11gR2"/> </ValidIf> <QueryDescriptor FETCHLET_ID="OSLineToken"> <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property> <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property> <Property NAME="command" SCOPE="GLOBAL"><![CDATA[ %perlBin%/perl %scriptsDir%/dbGetOsmInstance.pl ]]></Property> <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property> <Property NAME="delimiter" SCOPE="GLOBAL">|</Property> <Property NAME="ENVEM_TARGET_GUID" SCOPE="INSTANCE">GUID</Property> <Property NAME="ENVEM_AGENT_STATE_DIR" SCOPE="SYSTEMGLOBAL">agentStateDir</Property> <Property NAME="ENVEM_TARGET_NAME" SCOPE="INSTANCE">NAME</Property> <Property NAME="STDINEM_TARGET_USERNAME" SCOPE="INSTANCE">UserName</Property> <Property NAME="STDINEM_TARGET_PASSWORD" SCOPE="INSTANCE">password</Property> <Property NAME="ENVEM_TARGET_ROLE" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> <Property NAME="ENVEM_TARGET_ORACLE_HOME" SCOPE="INSTANCE">OracleHome</Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="ENVEM_TARGET_ADDRESS" SCOPE="GLOBAL">(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=%MachineName%)(Port=%Port%))(CONNECT_DATA=(SID=%SID%)))</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: GetNLSParam ====================================================================== --> <DynamicProperties NAME="GetNLSParam" FORMAT="ROW" PROP_LIST="ConvertFromCharset;needCharsetConvert"> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"><![CDATA[ select value, 'TRUE' from nls_database_parameters where parameter='NLS_CHARACTERSET' ]]></Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: GetAdrBase ====================================================================== --> <DynamicProperties NAME="GetAdrBase" FORMAT="ROW" PROP_LIST="AdrBase"> <ValidIf> <CategoryProp NAME="VersionCategory" CHOICES="11gR1;11gR2"/> </ValidIf> <QueryDescriptor FETCHLET_ID="OSLineToken"> <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property> <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property> <Property NAME="command" SCOPE="GLOBAL"><![CDATA[ %perlBin%/perl %scriptsDir%/dbGetAdrBase.pl ]]></Property> <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property> <Property NAME="delimiter" SCOPE="GLOBAL">|</Property> <Property NAME="ENVEM_TARGET_GUID" SCOPE="INSTANCE">GUID</Property> <Property NAME="ENVEM_AGENT_STATE_DIR" SCOPE="SYSTEMGLOBAL">agentStateDir</Property> <Property NAME="ENVEM_TARGET_NAME" SCOPE="INSTANCE">NAME</Property> <Property NAME="STDINEM_TARGET_USERNAME" SCOPE="INSTANCE">UserName</Property> <Property NAME="STDINEM_TARGET_PASSWORD" SCOPE="INSTANCE">password</Property> <Property NAME="ENVEM_TARGET_ROLE" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> <Property NAME="ENVEM_TARGET_ORACLE_HOME" SCOPE="INSTANCE">OracleHome</Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="ENVEM_TARGET_ADDRESS" SCOPE="GLOBAL">(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=%MachineName%)(Port=%Port%))(CONNECT_DATA=(SID=%SID%)))</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: GetAdrHome ====================================================================== --> <DynamicProperties NAME="GetAdrHome" FORMAT="ROW" PROP_LIST="AdrHome"> <ValidIf> <CategoryProp NAME="VersionCategory" CHOICES="11gR1;11gR2"/> </ValidIf> <QueryDescriptor FETCHLET_ID="OSLineToken"> <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property> <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property> <Property NAME="command" SCOPE="GLOBAL"><![CDATA[ %perlBin%/perl %scriptsDir%/dbGetAdrHome.pl ]]></Property> <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property> <Property NAME="delimiter" SCOPE="GLOBAL">|</Property> <Property NAME="ENVEM_TARGET_GUID" SCOPE="INSTANCE">GUID</Property> <Property NAME="ENVEM_AGENT_STATE_DIR" SCOPE="SYSTEMGLOBAL">agentStateDir</Property> <Property NAME="ENVEM_TARGET_NAME" SCOPE="INSTANCE">NAME</Property> <Property NAME="STDINEM_TARGET_USERNAME" SCOPE="INSTANCE">UserName</Property> <Property NAME="STDINEM_TARGET_PASSWORD" SCOPE="INSTANCE">password</Property> <Property NAME="ENVEM_TARGET_ROLE" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> <Property NAME="ENVEM_TARGET_ORACLE_HOME" SCOPE="INSTANCE">OracleHome</Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="ENVEM_TARGET_ADDRESS" SCOPE="GLOBAL">(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=%MachineName%)(Port=%Port%))(CONNECT_DATA=(SID=%SID%)))</Property> </QueryDescriptor> </DynamicProperties> <!-- ====================================================================== == Dynamic Properties: GetDbBlockSize ====================================================================== --> <DynamicProperties NAME="GetDbBlockSize" FORMAT="ROW" PROP_LIST="DbBlockSize"> <QueryDescriptor FETCHLET_ID="SQL"> <Property NAME="STATEMENT" SCOPE="GLOBAL"> <![CDATA[ select value from v$parameter where name='db_block_size' ]]></Property> <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property> <Property NAME="Port" SCOPE="INSTANCE">Port</Property> <Property NAME="SID" SCOPE="INSTANCE">SID</Property> <Property NAME="UserName" SCOPE="INSTANCE">UserName</Property> <Property NAME="password" SCOPE="INSTANCE">password</Property> <Property NAME="Role" SCOPE="INSTANCE" OPTIONAL="TRUE">Role</Property> </QueryDescriptor> </DynamicProperties> </InstanceProperties> </TargetMetadata>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de