article Unable to access up.time after changing hostname

After changing the hostname of a system, you may not be able to access the up.time UI due to the hard-coded hostname configuration in the uptime.conf file.

To resolve the access issue, ensure that the following parameters in the uptime.conf file are set to the resolvable hostname for the system:

dbHostname=<hostname>
httpContext=http://<hostname>:9999
uptime.conf:monitorHost=<hostname>


If using up.time 7.2 or later you may also notice that the Dashboards are now blank.
To resolve the blank Dashboards issue you will have to ensure the configuration above is done first then continue with the instructions below: 
 
Update - uptime/apache/conf/httpd.conf
Change all references from old hostname to new hostname

Tip - If up.time is running on Linux you will be able to do a global substitution in vi, using the command:
 %s/oldhostname/newhostname/g
 
Update - uptime/controller/resources/uptime-controller.conf
Change all references from old hostname to new hostname
 
If using SSL then you will also need to rebuild the keystore: 
First remove the keystore which is located in uptime/controller/etc
Then generate another keystore file with the new hostname.  In the uptime/controller directory for Linux deployments run 'sh ./generate-keystore.sh' for Windows, generate-keystore.bat

Lastly, you will have to restart the up.time service for the changes to take effect:

Related Articles


Unable to access up.time from a web browser

RatingViews
article

By: uptime Support | Date Created: 10-25-2005 | Last Modified: 7-14-2011 | Index: 030

  3481

Agent not responding after IP or hostname change

RatingViews
article

up.time 4 may have difficulty communicating with agents that have had their IP or hostname changed. To debug this problem please follow these steps. 1 - Confirm that the up.time hostname of the...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 9-9-2011 | Index: 239

  2791

Installing up.time 7.3 Plugins without Direct Internet Access

RatingViews
article

Prior to up.time 7.3, Plugin monitors had to be manually downloaded and then installed in up.time with either the Plugin Manager or the erdcloader command line tool.  Now with up.time 7.3, the...

By: uptime Support | Date Created: 4-26-2014 | Last Modified: 7-23-2014 | Index: 612

  2368

Unable to Add ESX Server to up.time 5.x

RatingViews
article

There are several possible reasons why you may be experiencing this issue. To help identify the root cause, take the following steps: 1. Try using Root credentials to add the ESX host by its...

By: uptime Support | Date Created: 6-9-2011 | Last Modified: 8-12-2011 | Index: 525

  2661

How do I access my license key?

RatingViews
article

There are four different ways to access your license key. 1) If you have access to the up.time user interface 'Config' tab, click the tab and then the 'License Info' link. 2) If you have access...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 8-31-2011 | Index: 318

  3639

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement