Troubleshoot OEM 12c Cloud Control Metric Alerts

How to troubleshoot OEM Metric Alerts:


Commands to Troubleshoot OEM Metric Alerts from Backend in Linux:
Check location of emctl in a server:
grep emagent

To find status of a Metric:
./emctl status agent target '<TargetName>',<TargetType>|grep '<MetricName>'
Eg. ./emctl status agent target 'Dev_EBS',oracle_ebs|grep '<MetricName>'

To find the schedule of a Metric:
./emctl status agent scheduler | grep '<MetricName>'

To check the latest threshold count:
./emctl getmetric agent '<TargetName>',<TargetType>,<MetricName>
Eg. ./emctl getmetric agent 'Dev_EBS','oracle_ebs', '<MetricName>'

To Run Collection:
./emctl control agent runCollection '<TargetName>':<Target_type> '<MetricName>'
'./emctl control agent runCollection 'Dev_EBS':oracle_ebs '<MetricName>'

To upload latest collection:
./emctl upload agent




Comments

Popular posts from this blog

Script to check Datasource connections -Weblogic WLST scripting

Troubleshoot OEM 12c Cloud Control Agent and Target