Jump to content

Checking if agent is back online and send email if not

Recommended Posts

I am working on a script to test the fail over for 2 hypervisors. One issue i am running into is how to check if a server that has just been rebooted by thr script to check when it comes back online. My thought is if the script can check every couple of minutes and once its back online continue down the script but if after multiple tries (say 30 min) to shoot the oncall tech a email. Does anyone have a example of something that could accomplish this? At my last MSP years back i created something very similair but have been unable to replicate it now.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...