question

AaronBrown-6262 avatar image
0 Votes"
AaronBrown-6262 asked AndreasBaumgarten edited

Service Manager - restart servers if tickets stop coming in

I haven't seen this online but I was curious if there was a script or something I can do to when service manager does not show new tickets to reboot two servers. At the very least, if no new IR tickets have not been created in a certain period of time, then it would send an alert to an email address so we can reboot our two servers ourselves.

msc-service-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered AndreasBaumgarten edited

Hi @AaronBrown-6262 ,

instead of rebooting the SCSM Servers I would recommend to find the root cause of "no new incidents are created".

But anyway:
You could use a PowerShell script and the Task scheduler to get this done.
With using the SMLets cmdlets for SCSM it's possible to get the latest Incident. If created date of the incident is greater than x hours restart the server.


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.