We have 2 applications from different vendors that depend on 1 service to be running to work together. The applications crash regularly and restarting the service fixes the problem. The service never shows stopped so monitor triggers don't work. The vendors won't talk to each other (IMHO crappy software). Can I set up PAMonitor to restart a service on a schedule? (once an hour) Thanks.

asked 30 Jun '16, 10:26

wrhsts's gravatar image

wrhsts
1111
accept rate: 0%


Hi wrhsts,

Yes, you could setup a monitor and action to do what you are asking.

First, setup and Start Service Action that will restart the service you want to restart.

Second, add an Execute Script Monitor to the server where the service is running. Edit the script to always fire the alert when it runs. For VBScript it would be "FireActions = true" (follow the link above to view different languages). Then edit the schedule run time to run every hour, and then attach the action that will restart your service.

That should do it.

Thanks
Quinn

Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer.

link

answered 30 Jun '16, 11:43

Quinn's gravatar image

Quinn ♦♦
14.4k3925
accept rate: 35%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×2

Asked: 30 Jun '16, 10:26

Seen: 69,391 times

Last updated: 30 Jun '16, 11:43