geneos-includes

Load Monitoring Include Files

NOTE: While these configuration will run on any Geneos Gateway you are strongly advised to only deploy this in production on 6.4 and later releases. For large data sets we observed and reported performance issues with the Gateway-Load plugin and these were addressed in the 6.4 release.

This page contains Gateway include files for monitoring the load of your Geneos Gateways. The primary challenge when monitoring a busy Gateway, either for diagnostic purposes or to be alerted if load exceeds desired limits, is that the Gateway itself may stop responding and have a backlog of monitored data (the ‘Max Data Age’). This can be addressed by letting your Gateways write snapshots of internal data to an XML file which can then be loaded and processed by a less loaded Gateway. The stats file is written from it’s own thread and so it not generally impacted by peaks in processing load in the Gateway process.

There are three include files:

How to use

On Gateways To Be Monitored

To enable a load monitoring stats file to be written at regular intervals you should either make a small change in your Gateway configuration or use the small include file record.xml to make the same change.

On the Monitoring Gateway

You should probably create a new Gateway specifically to monitor load on your other Gateways. This is not required, but you may encounter issues if you cannot ensure the load of the monitoring Gateway is low.

Configuring Monitoring

For each Gateway you want to monitor you must create a Managed Entity. Optionally you can also collect some system data for each Gateway is you also deploy a Netprobe. Only one Netprobe per host, not Gateway, is required in this case.

<managedEntity name="Example Load Monitor">
  <probe ref="localhost"></probe>
  <addTypes>
      <type ref="Gateway Load Monitor"></type>
      <type ref="Gateway Environment"></type>
  </addTypes>
  <var name="gwLoadDirectory">
      <string>/path/to/directory/containing/stats/file</string>
  </var>
  <var name="gwLoadGatewayName">
      <string>Example</string>
  </var>
</managedEntity>

If you cannot deploy a new Netprobe then you should create a Managed Entity mounted on a Virtual Probe, like this:

<managedEntity name="Example Load Monitor">
  <virtualProbe ref="Virtual Probe"/>
  <addTypes>
    <type ref="Gateway Load Monitor"></type>
  </addTypes>
  <var name="gwLoadDirectory">
    <string>/path/to/directory/containing/stats/file</string>
  </var>
  <var name="gwLoadGatewayName">
    <string>Example</string>
  </var>
</managedEntity>

Note that the Gateway Environment Type is not used as this requires plugins that are only available on a Netprobe.

Types

There are three Types that define which Samplers are used:

The Type Gateway Load Monitor XPaths is distinct from the main Gateway Load Monitor because the XPath specific function of the load monitoring plugins can be impacted on larger monitored Gateway, with many configured XPaths and matches, and cause the monitoring Gateway to become overloaded and never finish presenting the data. If you want to see your performance stats relating the XPaths you should add this Type to the Managed Entity for the source Gateway but be careful in case of too many (thousands) of XPaths.

Variables

There are a number of variables that can be used to override default behaviour:

More Details

The configurations above include a number of settings that have been chosen to work well in most environments. The main monitor.xml file sets these value, which can be overridden in the main Gateway configuration file:

The choice of which samplers to use and the specific configuration of groupings has been made based on prior experience but there may be many other combinations of filters, grouping etc. on the Gateway Load plugins that would work better in your environment. We welcome feedback and additional proposals.

Finally; Database Logging, while configured for very basic load monitoring, has not been given the detailed review that the other components have at this stage. Again, we welcome feedback and changes.