- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2012-4-5 18:56:09
ODM FINDING:
Threshold Values - The format of the threshold values is not correct
Applies to:
Enterprise Manager Grid Control - Version: 10.1.0.2 to 10.2.0.4
Information in this document applies to any platform.
Symptoms
In Grid Control when you navigate to the "Metric Thresholds" screen as follows:
Grid Control > Database Instance: "DB Instance Name" > Metric and Policy Settings > Metric Thresholds
The result is the following error:
"Error: Threshold Values - The format of the threshold values is not correct."
Cause
Normally this error can occur when there is an invalid character defined in a metric threshold e.g. instead
of having a straight numeric value i.e. 1000, this value is entered as 1,000 (with the comma).
Here are the valid WARNING/CRITICAL Metric Threshold values that can be used:
Combination can be:
1. (null,null) <- (as in empty, do not spell out the word "null")
2. (0,0)
3. (warning<critical) <- (warning value must be less than the critical value)
Solution
To Debug this issue:
1. A Method that we can find out which "Metric Threshold" in particular is triggering the "The format of the threshold values is not correct" error is to go to the Host for the Database where the metric threshold is being applied & take a close look at the following agent collection file: <AGENT_HOME>/sysman/emd/collection/oracle_database_<Database_Instance_Name>.xml
In this file you can check each field & compare it with it's Column Type in the metadata file.
The Metadata file can be found at the OMS level at:
<OMS_HOME>/sysman/admin/metadata/oracle_database.xml <- Here you'll get the column type definition.
2. Run the following SQL:
select COLL_NAME || '-' || NUM_OCCURENCES || '-' || WARNING_THRESHOLD ||
'-' || CRITICAL_THRESHOLD from mgmt_metric_thresholds where TARGET_GUID in
(select target_guid from mgmt_targets where target_name='<DatabaseTargetName')
NOTE: Please enter the correct Name for your Database Target experiencing this issue within the brackets <>
Check to see where the num_occurences < 1 this can help you identify the metric experiencing the problem.
4. The most common cause of this error is where the Critical Threshold is EMPTY & there is a numeric value for the Warning Threshold e.g.
Warning Threshold 85
Critical Threshold <EMPTY NOW>
To fix, just type in for 'Critical Threshold' say 97, or any value between > Warning Threshold and <100 |
|