- Access https://gridctlem.kpsoft.com:7799/em/console
- enter username and password of a super administrator
- Navigate to Deployments and click Install Agent
- Click Fresh Install
- Select Default for source directory
- agent source software version (11.1.0.1.0 is used in this article)
- Select host (linux x86-64)
- host idm.thekpsoft.com
- OS credential (oracle/xxxx)
- un select on run root.sh (this requires sudo to root)
- installation directory /home/oracle/oracle_em_agent
- Click continue, unchecked security updates forms
- wait for confirmation on installation agent
- login to idm.thekpsoft.com, navigate to /home/oracle/oracle_em_agent/agent11g and run root.sh
- Navigate to Targets -> Middleware for adding a host for discovery
- Enter admin server hostname (idm.thekpsoft.com)
- port number - 7001
- username - weblogic
- password
- Unique Domain Identifier - sandbox_oimdomain
- Agent - use the search light and select as needed
- Press continue -> EM will find all teh targets (weblogic server, domains etc) -> Click ADd targets
- Now we go about setting notifications rules and schedule
- Click Setup -> Notification Methods
- Enter SMTP Server (mail.thekpsoft.com)
- Username and password if required
- Identify Sendar as - EM Grid Control 11
- Sender E-mail address (emcontrol@thekpsoft.com)
- click test email servers to test email notifications
- click preferences -> add e-mail address (prasad@thekpsoft.com) and choice message format (long format)
- click Notification Rules
- Click create
- General -
- Name - Sandbox sample nitification rule
- Selct Make public
- Target Type - Oracle Weblogic Server
- select apply rule to specified oracle weblogic server targets or groups .............
- ADd targets that you prefer to, I added wls_oam1, wls_oim1, wls_ods1, wls_soa1, admin server
- Click Availability, I selected up, down, agent unreachable
- Add by selecting metrics if needed (you can also templatize this as an SLA for each set of targets) using setup -> monitoring template feature
- configure their thresholds (i will cover thresholds in another article)
- click poilicies and jobs if you want to (advanced features, will cover at a later time)
- click actions and select send me e-mail and repeat notification frequency (i left defaults for this)
- Create a blackout configuration for planned maintenance to notifications will not be sent
- you are all set....
- you should be receiving email notifications whenever the threshold criteria is met
Please refer to KP Soft's website at https://kpsoft.digital/ for more information.
Wednesday, December 7, 2011
EM 11g Grid Control for monitoring weblogic server and OIM
There are several ways to monitor the health of weblogic, discussed WLDF in a prior post as one way. Another traditional approach include installation and configuration of Oracle Enterprise Manager Grid Control product. Below are the steps for configuring notification and alerts.