script or tool for info websphere configurations


To build a central information base for our network I'ld like to find a way to retrieve information from websphere applications, servers and dmgrs.

I want to be able to retrieve portnumbers, connectornames, quenames, etc, etc, etc,  . A bit like generating documentation I guess.

Does anyone know if a tool exists which can handle this? If not, can I script this via the commandlines and shellscripts (examples maybe?  ) ?

Our Websphere servers run on IBM AIX .
I am not familiair with Python or Jython, so these are not an option for me.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Checkout IBM Support Assistant tool.  There are agents that you can install that will collect and provide the information that you are looking for as well as a plethora of other very useful admin tools.
HonorGodSoftware EngineerCommented:
What kind of information is it that you need?

To obtain information about the version of product installed:


To get details about the install & update history for the installation:


To get the install & update history as an HTML file:


To display more specific configuration information, you may need to get access to the configuration details using some wsadmin scripts:

WebSphere Application Server (6.1) documentation:

Scripting the application serving environment (wsadmin)

For example, a script to display the configured ports might look something like:

To use it, the command line would look something like:

wsadmin -conntype none -lang jython -profileName Dmgr01 -f ..\scripts\
import AdminConfig
def showAsDict( configID ) :
  'Return a dictionary of the configID ) result.'
  result = {}
  try :
    # The result of the should be a string
    # containing many lines.  Each line of which starts and ends
    # with brackets.  The "name" portion should be separated from the
    # associated value by a space.
    for item in configID ).splitlines() :
      if ( item[ 0 ] == '[' ) and ( item[ -1 ] == ']' ) :
        ( key, value ) = item[ 1:-1 ].split( ' ', 1 )
        result[ key ] = value
  except NameError, e :
    print 'Name not found: ' + str( e )
  except :
    ( kind, value ) = sys.exc_info()[ :2 ]
    print 'Exception  type: ' + str( kind )
    print 'Exception value: ' + str( value )
  return result
SEs = AdminConfig.list( 'ServerEntry' ).splitlines()
# for each ServerEntry configuration ID
for SE in SEs :
  SEname = SE.split( '(', 1 )[ 0 ]   # The name occurs before the '('
  print '''
Server name: %s\n
Port#|EndPoint Name
-----+-------------''' % SEname        # Display the server name & headings
  # For the given server (SE) get the list of NamedEndPoints
  # Then, for each NamedEndPoint, display the port # and endPointName values
  NEPs = AdminConfig.list( 'NamedEndPoint', SE ).splitlines()
  for NEP in NEPs :
    NEPdict = showAsDict( NEP )
    EPdict  = showAsDict( NEPdict[ 'endPoint' ] )
    print '%5d|%s' % ( EPdict[ 'port' ], NEPdict[ 'endPointName' ] )

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ehoutAuthor Commented:
Wow...That's a whole lot of info. Thnx.
Have holiday right now, but when back at the office will try this. Especially this portnumber thing would really help us. Would it also work for 6.0 and/or 5.x ?
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

HonorGodSoftware EngineerCommented:
Unfortunately not.

It may work for version 6.0, but Jython as a scripting language isn't supported until version 6.0, and has changed a bit (for the better) from 6.0 -> 6.1

For version 5.x, you would have to use Jacl as a scripting language:

Deploying and managing using scripting (v 5.1)
HonorGodSoftware EngineerCommented:
Thanks for the grade and points.

Good luck & have a great day.
ehoutAuthor Commented:
lol... didn't expect it anymore, right? Been away a long time from ee, sorry.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.