Decision Management (ODM,ADS)

 View Only
Expand all | Collapse all

Identify Monitor Models with No Active Contexts

  • 1.  Identify Monitor Models with No Active Contexts

    Posted Wed September 18, 2013 04:51 PM

    We are users of IBM Business Monitor.  We version our monitor models as new versions of the process are deployed.  We are wondering if there is a good way to query Business Monitor/WAS and generate a listing of the installed monitor models, a count of active contexts/instances and an indication of the CEI configuration for the model.  For example, we’d like to see something like the following.


     
























    Model



    Version



    Active Contexts



    CEI Configuration



    Test_MonitorModel



    2013-01-01



    3



    Active (No New Contexts)



    Test_MonitorModel



    2013-04-01



    15



    Active



     


    We want to build a report to identify Monitor Models that can be cleaned up.  So far, we have identified one method for recovering this data.  One way is to go through WAS admin console to check the CEI configuration and active instance count.  This method is time consuming.  Wondering if there is a quicker way or an API we could leverage.




  • 2.  Identify Monitor Models with No Active Contexts

    Posted Mon February 17, 2014 03:25 PM
    I'll provide an update to our earlier question.  We did find a way to accomplish what we were looking for.  We ended up created a Jython script to leverage the LifecycleServicesMBean.  The listModels() provides a listing of the monitor models installed on the server from which you can extract the # of active instances and cei configuration.

    publib.boulder.ibm.com/bpcsamp/monitorin...