Introduction to Collection Agent
Overview Copied
What is the Collection Agent? Copied
The Collection Agent is a Geneos component that uses dynamic plugins to do the following:
- Discover what is available to monitor.
- Collect metrics, logs, and metadata about the monitored applications.
- Collect dimensional data.
The collected metrics are displayed in Geneos dataviews following the configured Dynamic Entities mappings. The collected logs can be monitored as streams by setting up an FKM sampler in the Netprobe. For more information on how to set up your Collection Agent, see Collection Agent setup.
Collection Agent plugins are separate from the Collection Agent binary. Therefore, Collection Agent plugins can be downloaded and upgraded independently of the Collection Agent itself. For more information on Collection Agent plugins, see Plugins.
Collection Agent is written in Java, so it is important to have the right version of Java installed on the host running it.
For more information on supported Java versions and platforms, see the Geneos 6.x Compatibility Matrix.
Why do we need the Collection Agent? Copied
The Collection Agent plugins have many advantages. One great advantage is that there are dimensions attached to every datapoint. This dimensional data is metric, log, and event data that is self-describing. Because the data is self-describing, it requires far less configuration in Geneos to set up these plugins compared to Netprobe plugins.
Examples of dimensions for a metric might be publishing an application’s name, the host name, its IP address, and so on. This information will be used to show the metric in the right place in the Active Console State Tree.
Collection Agent data items are also strongly typed and have a unit of measure, which makes aggregation and analytics on the data much more efficient.
A Collection Agent and Netprobe can be used together to dynamically collect, identify, and visualise application metrics in a constantly changing environment.
Additionally, this solution makes some improvements over standard Netprobes:
- Allows applications to push metrics and logs ensuring that nothing is lost. The Collection Agent’s log processing plugins will persist logs on disk until it publishes them to the Netprobe, thus ensuring no data is lost in case the Netprobe is unavailable.
- Uses a dimensional data model which retains more information about the data being sent.
Note
Beginning Geneos 5.1, the Collection Agent is included in the Netprobe binaries for Windows and generic Linux platforms.
Components Copied
The Collection Agent gathers application data points and reports them to Geneos for visualisation. An instance is deployed to each host running monitored applications.
Collection Agent has the following sub-components:
- Collectors
- Workflow pipelines
- Reporters
Collectors Copied
Collectors collect application-specific data points from one or more applications that are monitored. They are packaged as JAR files. Core Collection Agent collectors are offered out of the box.
Workflow pipelines Copied
A workflow is composed of pipelines, which have processors to perform operations on the data collected from the applications and services. A workflow receives data from collectors, enriches this data, and sends it to a reporter. Filtering and enriching of data is configured per pipeline. There is a pipeline for each class of data:
- Metrics
- Logs
- Events
Once data has been processed a pipeline then sends data to a reporter. One pipeline can send data to one reporter.
Each workflow pipeline is backed by a store in which data points are buffered before being sent to a reporter. Each store is configured with a maximum capacity. The store can be either in memory or on disk
Processors Copied
A pipeline configuration is composed of processors. When data crosses the boundary from a collector, it becomes a message. Messages are then modified by processors in stages as they move through a pipeline.
There are four types of processors:
- Enrichment processors
- Pass filter processors
- Stop filter processors
- Throttle processors
Reporters Copied
Reporters publish data from workflows. For example, data can be published to Geneos where it is visualised.
There are three reporters:
- Logging reporter — logs data points to
stdout
. - TCP reporter — allows the Collection Agent to communicate with the Netprobe.
- Kafka reporter
Multiple instances of the same reporter can exist.
Plugins Copied
The functionality of the Collection Agent can be extended using plugins. A Collection Agent plugin is a JAR file that contains one or more collector, processor, and reporter components that facilitate data collection from a specific source.
To view the list of all available Collection Agent plugins, see Collection Agent plugins operating system support.
Note
You can find detailed information about each Collection Agent plugin under the Collection section.