Enterprise Manager Generic (MOSC)

MOSC Banner

EMCLI scripting

edited Jul 11, 2019 5:08AM in Enterprise Manager Generic (MOSC) 1 commentAnswered

I'm thinking about setting some automation to restart agents if they are down.

At the moment the only reason they should be down is if they are blacked out - for maintenance or something

So my emcli script will...

1. emcli get_blackouts

then for each blackout with a status of active I run

2. emcli get_blackout_targets

and search for my agent in the blackout list

Seems a bit long winded  - can anyone think of a better way  ?

or even suggest a useful corrective action or piece of automation I could add to my system -  one of my objectives that needs looking at.

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