This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connect('weblogic','Bea@h0me','t3://ulweblogic04.wil.csc.local:33011') | |
myapps=cmo.getAppDeployments() | |
print " -------------------------------------------------- " | |
print " WLS APPLICATION STATUS REPORTER " | |
print " -------------------------------------------------- " | |
print " APPLICATION NAME\t\t\tSTATUS \t" | |
print " -------------------------------------------------- " | |
for app in myapps: | |
bean=getMBean('/AppDeployments/'+app.getName()+'/Targets/') | |
targetsbean=bean.getTargets() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#connect([username],[password],[admin url]) | |
connect('weblogic','weblogic1','t3://mwi-vm01:17001') | |
servers=cmo.getServers() | |
print "-------------------------------------------------------" | |
print "\t"+cmo.getName()+" domain status" | |
print "-------------------------------------------------------" | |
for server in servers: | |
state(server.getName(),server.getType()) | |
print "-------------------------------------------------------" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import sys | |
import subprocess | |
from sys import argv | |
from os.path import exists | |
import re | |
from collections import deque | |
from itertools import chain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import sys | |
import subprocess | |
from sys import argv | |
from os.path import exists | |
import re | |
from collections import deque | |
from itertools import chain | |
import xlsxwriter |
NewerOlder