The MONITOR element

The MONITOR element in the Genero Application Server configuration file specifies from which machines the monitor URL is accessible. By default, the monitor page is only accessible from the local server (127.0.0.1).

Important: Depending on the network configuration, the monitor is not always able to get the actual client IP address. If there is a proxy server between the client and the server, for example, the client IP address seen by the GAS may be the address from the proxy server.

Syntax

<MONITOR>
  <ALLOW_FROM>ip_address</ALLOW_FROM>[...]
</MONITOR>

where ip_address is a valid IP address. It can be a complete IP address or a network address (ending with a dot).

Example

<MONITOR>
  <ALLOW_FROM>127.0.0.1</ALLOW_FROM>
  <ALLOW_FROM>192.168.</ALLOW_FROM>
  <ALLOW_FROM>10.</ALLOW_FROM>
  <ALLOW_FROM>193.111.222.123</ALLOW_FROM>
</MONITOR>

In this example, the GAS monitor is reachable from localhost (127.0.0.1), 193.111.222.123 and all IP that begin with "192.168." or "10.".

For more details on the monitor usage, see Monitoring Genero Application Server.