Skip to content

Target Notification

Florian Forster edited this page Nov 26, 2023 · 1 revision
Name: Notification target
Type: target
Status: supported
FirstVersion: 4.6
Copyright: 2008 Florian octo Forster
License: GPLv2
Manpage: collectd.conf(5)
See also: List of Targets

Description

The Notification target can be used to create a notification with arbitrary text.

Synopsis

 <Target "notification">
   Message "Oops, the %{type_instance} temperature is currently %{ds:value}!"
   Severity "WARNING"
 </Target>

Placeholders

The following placeholders will be replaced by their respective values in the Message option:

  • %{host}
  • %{plugin}
  • %{plugin_instance}
  • %{type}
  • %{type_instance}
  • %{ds:name} Will be replaced by the current rate of the data source "name". Because counter values need to be transformed to rates, using this target in the PreCache chain may yield unexpected results.

Dependencies

  • none
Clone this wiki locally