Target:Notification

From collectd Wiki
Jump to: navigation, search
Notification target
Type: target
Status: supported
First version: 4.6
Copyright: 2008 Florian octo Forster
License: GPLv2
Manpage: collectd.conf(5)
List of Targets
Plugins:

Built-in:

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