Forum Discussion

Forsaken_104807's avatar
Forsaken_104807
Icon for Nimbostratus rankNimbostratus
Oct 20, 2009

Creating a Monitor that checks Windows Services?

Hi there,

 

I am looking to see if an Irule can be written to check whether or not a Windows Service is running? Any ideas?

 

2 Replies

  • Here are a few related posts. I think the best practice solution would be to write a web page which checks the status of the service on the local server and then responds with a specific string indicating success or failure. You could then configure an HTTP monitor which polls that web page.

     

     

    Monitoring a windows service

     

    http://devcentral.f5.com/Default.aspx?tabid=53&forumid=32&tpage=1&view=topic&postid=23312

     

     

    Monitoring a Microsoft Windows Service

     

    http://devcentral.f5.com/Default.aspx?tabid=53&forumid=32&tpage=1&view=topic&postid=32382

     

     

    Aaron
  • Yes, you can use wmic, but you'll need to build the executable and copy it over to the LTM. Details here: http://links.f5.com/gqVlUe Click Here