Oracle Weblogic Server (MOSC)

MOSC Banner

Monitoring Scripts using wlst.sh

I found this script on the internet and it works great:

connect('weblogic','weblogic','t3://localhost:7002')

servers=cmo.getServers()

print "-------------------------------------------------------"

print "\t"+cmo.getName()+" domain status"

print "-------------------------------------------------------"

for server in servers:

    state(server.getName(),server.getType())

print "-------------------------------------------------------"


It returns the current state of the managed servers. How can I tweak it to return the health state of the managed servers?

Thank you!

Nancy

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