Configuring Aliases

By default configured plugins on runtime get an internal name in the format plugin_name.ID. For monitoring purposes this can be confusing if many plugins of the same type were configured. To make a distinction each configured input or output section can get an alias that will be used as the parent name for the metric.

The following example set an alias to the INPUT section which is using the CPU input plugin:

[SERVICE]

HTTP_Server On

HTTP_Listen 0.0.0.0

HTTP_PORT 2020

​

[INPUT]

Name cpu

Alias server1_cpu

​

[OUTPUT]

Name stdout

Alias raw_output

Match *

Now when querying the metrics we get the aliases in place instead of the plugin name: