Enterprise Manager Generic (MOSC)

MOSC Banner

scheduling emcli commands from the OMS console - emcli authentication methods

edited May 15, 2018 5:13AM in Enterprise Manager Generic (MOSC) 2 commentsAnswered ✓

Hi all,

We found recently that a number of our open OEM incidents (OMS version 12.1.0.4) were actually false alerts due to the the alert status being out-of-sync between the OMS and monitoring agent. We manually cleared these alerts by using the emcli get_unsync_alerts and emcli sync_alerts commands, though would now like to set up a daily job to check for any alerts that get out of sync, and automatically resync them. We have developed an emcli job that will do this (which we plan to run daily), though we are now trying to figure out how to execute it. Currently the script is just a shell script that accepts the SYSMAN password as a parameter (for the emcli login command at the start), however this is not very secure as it would involve us having to store the password in plain text somewhere. I assumed

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center