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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Monitor IS periodically

    Posted 03/28/11 03:21 PM

    Hello,

    I want to make a service, which monitors the IS, periodically, say about 5 minutes. It is an RI Server.
    The service should return nothing, or just a debug log, saying it is up. But want a High Priority Email notification, when down.

    Please help and suggest me. Can be a flow, or Java service.

    Regards,

    Suvigya


    #webMethods-Archive
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Monitor IS periodically

    Posted 03/28/11 04:15 PM

    Just write a simple service on internal server to ping
    [URL]http://RI:5555/invoke/wm.server:ping[/URL] and schedule it accordingly…It will retrun timestamp if server is up or error if down.
    In catch block you can write logic to send alerts.

    PS: Specify the timeout in your http call else in case of unresponsive state of IS this call will hung, ofcoarse depends on your global net time out setting.

    hope it helps!


    #webMethods-Archive
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Monitor IS periodically

    Posted 04/01/11 11:54 AM

    Hello Naren,

    Sory for late reply, but thanks for the suggestion, I created a try catch block using sequence and used remoke invoke service. And it is working fine.

    But I still did not get the timeout thing, which you mentioned.

    Regards.


    #webMethods-Archive
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Monitor IS periodically

    Posted 04/01/11 04:34 PM

    Suvigya

    Set the timeout property of the http service.
    If it is not given then their is chances of your service going into unresponsive mode when IS is not responding and you will not receive any alert emails too…


    #webMethods-Archive
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Monitor IS periodically

    Posted 04/13/12 08:56 PM

    You can as we have write a java script in the file system and have it called by a scheduled service


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-Archive


  • 6.  RE: Monitor IS periodically

    Posted 04/18/12 08:44 AM

    If using unix/linux, You can do follwing :- create a batch/script file to monitor IS process + IS port status- Schedule it with cron or any other sceduler.Regards,Hukam


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-Archive