mikhailidim / chronicler-comments

0 stars 0 forks source link

wlst-script-to-monitor-weblogic-status-heap-jdbc-and-jms/ #22

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

WLST script to monitor WebLogic status, heap, JDBC, and JMS

https://chronicler.tech/wlst-script-to-monitor-weblogic-status-heap-jdbc-and-jms/

sridevisv commented 1 year ago

Hi , when Managed server is down , the script is not reporting.

Can you please check

brijeshyati commented 1 year ago

updated the script as our environment and executed . getting below message now

Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root MBean. For more help, use help('domainRuntime')

Already in Domain Runtime Tree Exiting WebLogic Scripting Tool.

oraclefusion0517 commented 1 year ago

Hi, Nice script but unable to fetch and print other than RUNNING state servers. Can you please help me?

plima1958 commented 1 year ago

Has anyone found a way to report if a server is not running? I tried adding the following in this section, but still do not get the server that is not running:

Change cell color based on status returned

hcolor = 'green'
if health != 'OK':
    if health == 'WARN':
        hcolor = 'yellow'

Added this section

    if health == 'Not reachable'
        hcolor = 'red'

# else: hcolor = 'red' else: hcolor = 'green'