Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After changing the hostname of a system, you may not be able to access the up.time Uptime Infrastructure Monitor UI due to the hard-coded hostname configuration in the uptime.conf file.
To resolve this issue, ensure that the following parameters in the uptime.conf file are set to the resolvable hostname for the system:

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

 

If using up.time Uptime Infrastructure Monitor 7.2 or later you may also notice that the Dashboard 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 the following files and change the old hostname to the new hostname:
-
  • uptime/apache/conf/httpd.conf
Change all references from old hostname to new hostname
  • uptime/controller/resources/uptime-controller.conf
Tip
If your up.time Uptime Infrastructure Monitor deployment is running on a Linux server then 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

...

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