Proceed to the appropriate section depending on your Monitoring Station platform:
On Windows, the up.time Controller is installed using a graphical installer that guides you through the steps of the installation process.
up.time-controller-installer-<version>.exe
C:\Program Files\uptime software\uptime\controller
), then click Next.Accept or modify the default up.time Controller Port, then click Next.
This is the port through which the up.time Controller actively listens for API calls. This port number is written to the <installDirectory>\etc\jetty-ssl.xml
file.
uptime
.uptime
.When the up.time Controller is installed, click Next.
Optionally Generate an automatic installation script, then click Done.
For information on using the API on Linux Monitoring Stations, contact uptime software Customer Support for more information.
These post-installation tasks are highly recommended for all up.time Controller installations.
lib_curl
on the up.time Monitoring Station: up.time Web Server
service.<uptimeDirectory>/apache/conf/php.ini
for editing.;
) from the following line: ;extension=php_curl.dll
up.time Web Server
service.php_curl
or any of the API examples, you must update the php_curl.dll
file on your Monitoring Station:up.time Web Server
service.<uptimeDirectory>\apache\php\ext\php_curl.dll
file with your downloaded copy.up.time Web Server
service. <uptimeDirectory>\apache\conf\httpd.conf
for editing.Find the following section:
# proxy settings LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /uptime http://HOSTNAME:9996/uptime retry=0 ProxyPassReverse /uptime http://HOSTNAME:9996/uptime |
If you have already enabled SSL on the up.time Web Server, find the following line:
ProxyRequests Off |
Above it, add the add the following line:
SSLProxyEngine on |
Find the following:
ProxyPassReverse /uptime http://HOSTNAME:9996/uptime |
Below it, add the following, replacing HOSTNAME:9997
with the hostname and port where your up.time Controller is listening:
ProxyPass /api https://HOSTNAME:9997/api retry=0 ProxyPassReverse /api https://HOSTNAME:9997/api |
The section in httpd.conf
should now look similar to the following:
# proxy settings LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so SSLProxyEngine on ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /uptime http://<uptimeMonitoringStation>:9996/uptime retry=0 ProxyPassReverse /uptime http://<uptimeMonitoringStation>:9996/uptime ProxyPass /api https://<uptimeController>:9997/api retry=0 ProxyPassReverse /api https://<uptimeController>:9997/api |
Restart the up.time Web Server
service to apply these changes.
Verify you have correctly configured the proxy by browsing to https://<uptimeMonitoringStation>/api
. The behavior should be identical to browsing to the up.time Controller at https://<uptimeController>/api
.