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 | ||
---|---|---|
| ||
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.
...
- uptime/apache/conf/httpd.conf
- 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 |
...
Lastly, you will have to restart the up.time Uptime Infrastructure Monitor service for the changes to take effect: