Showing posts with label oem13c. Show all posts
Showing posts with label oem13c. Show all posts

Wednesday, 3 August 2022

OEM alert 12c and 13c

Links for OEM alerts  


EM 12c, EM 13c: How to Configure a Incident Rule to Send a Notification When a Target is marked as UP / Down? ( Doc ID 1936555.1 )

EM 12c, EM 13c : Steps to Use Incident Rule Simulator for Events in Enterprise Manager Cloud Control ( Doc ID 2083126.1 )

EM 12c, EM 13c: How to Configure a Incident Rule to Send a Notification for a Tablespace Space Used (%) Metric Alert? ( Doc ID 1936559.1 )

EM 12c, EM 13c : Steps for Subscribing or Unsubscribing to Email or Page Notifications in the Incident Management Rule Set in Enterprise Manager Cloud Control ( Doc ID 1389460.1 )

EM 12c, EM 13c: How to Configure Incident Rules to Send Notifications for Job Executions (Status Changes) in Enterprise Manager Cloud Control ( Doc ID 1386816.1 )



For incident rule:

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.4/emadm/using-incident-management.html#GUID-2689210F-C5B6-475B-86F4-7DA667095CD1

Setting Up Rule Sets

For monitoring template:

https://docs.oracle.com/en/enterprise-manager/cloud-control/enterprise-manager-cloud-control/13.4/emadm/using-monitoring-templates.html#GUID-647036A5-DF3B-4FFD-9F5C-A43A247A4EFA



monitoring rule 


- https://www.oracle.com/a/otn/docs/enterprise-manager/wp_enterprisemanager13c_monitoringstrategies.pdf

Wednesday, 25 August 2021

agent status check scripts for oem13c agent

 agent_check.sh



#!/bin/bash


agent_status=`ps -ef | grep -i gcagent.tmmain.TMMain|grep -i sysman |grep -v grep | wc -l`


if [ $agent_status = 0 ]

then

date >> /u01/app/agent13c/log/agentStarted.log

/u01/app/agent13c/agent_13.4.0.0.0/bin/emctl start agent >> /u01/app/agent13c/log/agentStarted.log & > /dev/null

#mailing program

#mail -s "OEM Agent 13c was not running...  Restarted on `hostname` $i `basename $0`" 'EM13c@*****' < agentStarted.log

else

date >> /u01/app/agent13c/log/agentStarted.log

echo 'Agent is running' >> /u01/app/agent13c/log/agentStarted.log

fi

Featured post

Restircted session due to sync filed with ora-65177

Application is unable to connect the database due to restricted session. sql> show pdbs; SQL> show con_name CON_NAME -----------------...