IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Scheduler service monitoring

  • 1.  Scheduler service monitoring

    Posted Fri June 27, 2014 08:45 AM

    Hi,

    We have a requirement in which we need to monitor the status of all the scheduler services and if any scheduler goes down, it should send an alert email.

    We though to create another scheduler service which keeps checking the status of all scheduler service and if the status of any scheduler changes, it should sent an alert email. But what happen if that scheduler service itself went down.

    Any suggestion ?


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Scheduler service monitoring

    Posted Fri June 27, 2014 10:16 AM

    Hi Amit,

    Any change in scheduler status will reflect in IS DB. Sorry I don’t remember the exact table and column name.

    You can right a trigger or job in DB to alert the support team.

    Thanks,
    Pawan


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Scheduler service monitoring

    Posted Fri June 27, 2014 01:09 PM

    The schedulers related backend table name is IS_USER_TASKS and the column STATE = 0 (indicates Active) and 2 (indicates suspended) and 1 (indicates Running)

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Scheduler service monitoring

    Posted Fri June 27, 2014 02:03 PM

    Yes… try to use this table and build your logic based on this.


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Scheduler service monitoring

    Posted Sun June 29, 2014 04:13 AM

    Do we have any provision to get the status of triggers as well ?


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Scheduler service monitoring

    Posted Mon June 30, 2014 03:23 AM

    Another way to get the status of all the schedulers is to write your own custom code using WQL (Query Language) and fetch the status from the IS Admin pages as those are nothing but the DSP pages. The only limitation is you need to execute your service on a regular interval basis to get the updated status (if using it in any portlets).


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Scheduler service monitoring

    Posted Mon June 30, 2014 01:08 PM

    Explore WmPublic and WmRoot package…


    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Scheduler service monitoring

    Posted Mon June 30, 2014 01:26 PM

    Yes those are the 2 internal sources to look into.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods


  • 9.  RE: Scheduler service monitoring

    Posted Tue July 01, 2014 12:51 AM

    I found one table IS_TRIGGER_STATE but it doesn’t has any data. Any guess in which table i can find Trigger details.

    Thanks,
    RP


    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: Scheduler service monitoring

    Posted Thu May 10, 2018 04:55 AM

    Can we create scheduler task suspended through DB query as well instead from Is Admin page.


    #webMethods
    #Integration-Server-and-ESB


  • 11.  RE: Scheduler service monitoring

    Posted Thu May 10, 2018 05:46 AM

    I think you can update the value of STATE=2 in the table “IS_USER_TASKS”. Try this.


    #Integration-Server-and-ESB
    #webMethods


  • 12.  RE: Scheduler service monitoring

    Posted Thu May 10, 2018 06:21 AM

    Thanks Amit, I will try to implement this.


    #Integration-Server-and-ESB
    #webMethods


  • 13.  RE: Scheduler service monitoring

    Posted Fri May 11, 2018 11:37 AM

    I would prefer using XQL when ever possible. See pub.xml:queryXMLNode fo details (can be found in Built-in-Services Reference).

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 14.  RE: Scheduler service monitoring

    Posted Fri May 11, 2018 11:41 AM

    Trigger details are not stored in the database, but in different config files, i.e. dispatch.cnf.

    Please explore the pub.triggers-folder in WmPublic package as Mahesh suggested.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB