Jump to content
DarrenWhite99

Get alerted when your hosted server IP is changed

Recommended Posts

Last Sunday, my cloud hosted server was assigned a new IP. I know this because at 6:00AM, this was emailed to me:

 

Subject: LTServer - Check Public IP | LabTech Server IP configuration error detected

 

Status: LabTech Server IP configuration error detected

Detail:

________________________________________

7/9/2017 6:01:31 AM

The following Templates have ServerAddress parameters including an IP that does not match the current detected IP for the LabTech Server (13.56.7x.xx).

Template: Default(1): ServerAddress=https://xxxxx.hostedrmm.com|https://54.219.1x.xx|http://xxxxx.hostedrmm.com|http://54.219.1x.xx|~

 

The script that detected this and alerted me is posted here: http://www.labtechgeek.com/forum/viewtopic.php?f=3&t=3532

This is designed primarily for cloud hosted deployments and as such requires no special functionality or access to the server. However, it will work even for on-premise installations. Since it's role is to discover what IP your agents are detecting your server to be at, if your server name is resolving to a different IP than expected you would probably want to know that.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks Darren, I've created a feature suggestion for getting the IP address fixed for each cloud environment.

I don't think Automate really understand the impact of having a changing  IP address on their product working. We have many customers with a single host and so when that gets rebooted internal DNS stops and so does automate. We found this out the hard way by scheduled reboots not completing.

So have downloaded your script and have it running, appreciate you taking the time to share this..

  • Like 1

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.

Guest
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...