scheduling emcli commands from the OMS console - emcli authentication methods
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