OEM 13C禁用"Global Cache Blocks Lost Metric"报警信息

 

OEM 13C禁用"Global Cache Blocks Lost Metric"报警信息

 

前言

最近OEM刚刚部署好,配置好邮件报警功能后,会比较频繁的报警如下信息:

复制代码
EM Event: Critical:szceb_szceb1 - Metrics Global Cache Blocks Lost is at 264

Host=xxxxx1 Target type=Database Instance Target name=xxxxx_xxxxx1 Categories=Error Message=Metrics Global Cache Blocks Lost is at 264 Severity=Critical Event reported time=Aug 6, 2020 5:17:56 PM CST Operating System=Linux Platform=x86_64 Associated Incident Id=86 Associated Incident Status=New Associated Incident Owner= Associated Incident Acknowledged By Owner=No Associated Incident Priority=None Associated Incident Escalation Level=0 Event Type=Metric Alert Event name=rac_global_cache:lost Metric Group=Global Cache Statistics Metric=Global Cache Blocks Lost Metric value=264 Key Value= Rule Name=Incident management rule set for all targets,Create incident for critical metric alerts Rule Owner=System Generated Update Details: Metrics Global Cache Blocks Lost is at 264
复制代码

对于该问题,可能网络会存在问题,简单的搜索并诊断后,发现网络目前看不出啥问题。

集群日志也正常,但是邮件确是报了很多次,想着先把这类信息禁用掉,待查明看是否真的存在问题在决定是否启用。

 

如何禁用

参考如下mos文档:

EM 13c: How to disable "Global Cache Blocks Lost Metric" Using EMCLI (Doc ID 2543134.1)

EM 13c, 12c: 'emcli modify_collection_schedule' Command Shows Collection Name Is Not Valid (Doc ID 2521116.1)

在OEM服务器,

复制代码
[oracle@oem13c ~]$ cd $OMS_HOME/bin
[oracle@oem13c bin]$ ./emcli login -username=sysman
Enter password : 

Login successful
[oracle@oem13c bin]$ ./emcli sync
Synchronized successfully
[oracle@oem13c bin]$ $OMS_HOME/bin/emcli modify_collection_schedule -targetType="oracle_database" -targetNames="xxxxx1" -collectionName="rac_global_cache_10i" -collectionStatus=Disabled -preview="N"
oracle_database : Collection Name not valid.
复制代码

 

哦豁,直接报错oracle_database : Collection Name not valid了。

网上搜不到啥信息,搞了半个多钟发现邮件内容中有包含有Target name的名字,可能是命令中的-targetNames="xxxxx1"是有问题的?

由于Doc ID 2543134.1中给的示例为

 

因此我是直接将<DBInstanceName>换成实例名了,结果貌似不对。用邮件中Target name对应的名字再试试看,

[oracle@oem13c bin]$ ./emcli modify_collection_schedule -targetType="oracle_database" -targetNames="xxxxx_xxxxx1" -collectionName="rac_global_cache_10i" -collectionStatus=Disabled -preview="N"       
Collection Name : rac_global_cache_10i
szceb_szceb1 : Collection Schedule updated successfully.
The collection schedule of the following metrics might be affected :
rac_global_cache

 

em......

有时候觉得mos的内容也挺坑的......

由于不止target name报出来,那么先只禁用这个,看看还会不会报,在禁用其他的。

 

posted @   PiscesCanon  阅读(995)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示