Securing the Controller
If you plan on using the Uptime Controller by integrating API functions with the Uptime Infrastructure Monitor Web interface, consider doing the following to prevent several common browser-related warnings when navigating secure and non-secure pages within the same web page:
- Enable SSL for the Uptime Infrastructure Monitor Web interface, using the instructions found in Implementing SSL HTTPS Browsing for Web Interface with Apache 2.2 or Implementing HTTPS Browsing for the Web Interface with Apache 2.4.
- Purchase a valid SSL certificate for the Uptime Infrastructure Monitor Web interface to avoid warnings about a self-signed certificate in the browser.
The Controller installs an unsigned and unverified certificate as part of its installation process. For installations in a production environment, a valid key should be purchased and installed on the Controller.
Reflecting Configuration Changes in the Proxy
As part of the Uptime Infrastructure Monitor installation process, a proxy is configured in the <uptimeDirectory>\apache\conf\httpd.conf
file. This provides ease of use with the Uptime Controller, as it simplifies many API programming tasks, and helps to ensure the Controller remains secure.
...
After making any change, restart the Uptime Web Server
service (on the correct Uptime Infrastructure Monitor instance, if applicable) to apply these changes. Then verify that you correctly configured the proxy by browsing to https://<uptimeMonitoringStation>/api
. The behavior should be identical to browsing to the Uptime Controller at https://<uptimeController>/api
.
Controller Configuration Parameters
The following list details several common Uptime Controller configuration tasks.
Task | Setting | Configuration Location in <uptimeDirectory>\controller\ | Notes |
---|---|---|---|
change Controller port | Uptime Contoller port | \etc\jetty-ssl.xml | To change the port, find this line within jetty-ssl.xml : <Set name="Port"><Property name="jetty.port" default="9997"/></Set> Update the |
change Controller DataStore target | database connection settings | \resources\uptime-controller.conf | Example connection fields and options are provided for all supported DataStore back-end platforms. By default, the Uptime Controller uses a standard MySQL DataStore connection (unless you updated these values during installation). dbType=MYSQL To change the connection details, update these fields with your database platform information. There are example entries in the configuration file. After you have updated your settings, restart the Uptime Controller service. |
indicate where PHP sessions are stored | PHP session directory | \resources\uptime-controller.conf | By default, the
|
change Controller logging level | logging level | \resources\uptime-controller.conf | The Controller automatically logs events in the
By default, the logging level is After you have updated your settings, restart the Uptime Controller service. |
install new Controller SSL certificate | SSL communication |
| To install a new key, follow steps 3 and 4 from the How to Configure SSL Page Configuring SSL/TLS, and then restart the Uptime Controller service. |
configure SSL/TLS parameters | SslContextFactory |
| serverIncludeCipherSuites=ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128- |