Docs » Supported integrations in Splunk Observability Cloud » Configure application receivers for hosts and servers » Collectd custom plugin

Collectd custom plugin πŸ”—

The Splunk Distribution of the OpenTelemetry Collector uses the Smart Agent receiver with the collectd/custom monitor type to customize the configuration of your managed collectd instances.

This integration is only available on Kubernetes and Linux.

Benefits πŸ”—

After you configure the integration, you can access these features:

Installation πŸ”—

Follow these steps to deploy this integration:

  1. Deploy the Splunk Distribution of OpenTelemetry Collector to your host or container platform:

  2. Configure the monitor, as described in the Configuration section.

  3. Restart the Splunk Distribution of OpenTelemetry Collector.

Configuration πŸ”—

To use this integration of a Smart Agent monitor with the Collector:

  1. Include the Smart Agent receiver in your configuration file.

  2. Add the monitor type to the Collector configuration, both in the receiver and pipelines sections.

Example πŸ”—

To activate this integration, add the following to your Collector configuration:

receivers:
  smartagent/custom:
    type: collectd/custom
    ... # Additional config

Next, add the monitor to the service.pipelines.metrics.receivers section of your configuration file:

service:
  pipelines:
    metrics:
      receivers: [smartagent/custom/collectd]

Configuration settings πŸ”—

The following table shows the configuration options for this integration:

Option

Required

Type

Description

host

no

string

This option is filled in by the agent if using service

discovery. It can be accessed in the provided configuration template with {{.Host}}. This option is set to the hostname or IP address of the discovered service. If you aren’t using service discovery, you can hard code the host/port in the configuration template and ignore these fields.

port

no

integer

This option is filled in by the agent if using service

discovery. It can be accessed in the provided configuration template with {{.Port}}. This option is set to the port of the discovered service, if it is a TCP/UDP endpoint. (default: 0)

name

no

string

This option is filled in by the agent if using service

discovery. It can be accessed in the provided configuration template with {{.Name}}. This option is set to the name that the observer creates for the endpoint upon discovery. You can generally ignore this field.

template

no

string

A configuration template for collectd. You can include as many

plugin blocks as you want in this value. It is rendered as a standard Go template, so be mindful of the delimiters {{ and }}.

templates

no

list of strings

A list of templates, but otherwise equivalent to the above

template option. This lets you have a single directory with collectd configuration files and load them all by using a globbed remote configuration value.

collectdReadThreads

no

integer

The number of read threads to use in collectd. This option

defaults to the number of templates provided, capped at 10, but if you manually specify it, there is no limit. (default: 0)

Metrics πŸ”—

The Splunk Distribution of the OpenTelemetry Collector does not do any built-in filtering of metrics coming out of this integration.

Troubleshooting πŸ”—

If you are a Splunk Observability Cloud customer and are not able to see your data in Splunk Observability Cloud, you can get help in the following ways.

Available to Splunk Observability Cloud customers

Available to prospective customers and free trial users

  • Ask a question and get answers through community support at Splunk Answers .

  • Join the Splunk #observability user group Slack channel to communicate with customers, partners, and Splunk employees worldwide. To join, see Chat groups in the Get Started with Splunk Community manual.

This page was last updated on Oct 04, 2024.