Skip to content

notify_desktop plugin

Plugin name notify_desktop
Type notification
Callbacks config, init, notification, shutdown
Status supported
Since 4.5
Copyright 2008 Sebastian Harl
License MIT License
Configuration collectd.conf(5)

The Notify Desktop plugin uses libnotify to display notifications to the user via the desktop notification specification, i. e. on an X display.

Synopsis

 <Plugin "notify_desktop">
   FailureTimeout 10000
 </Plugin>

Dependencies

Configuration

Configuration options · from collectd.conf(5)

See this section in the full configuration reference

This plugin sends a desktop notification to a notification daemon, as defined in the Desktop Notification Specification. To actually display the notifications, notification-daemon is required and collectd has to be able to access the X server (i. e., the DISPLAY and XAUTHORITY environment variables have to be set correctly) and the D-Bus message bus.

The Desktop Notification Specification can be found at http://www.galago-project.org/specs/notification/.

OkayTimeout timeout
WarningTimeout timeout
FailureTimeout timeout
Set the timeout, in milliseconds, after which to expire the notification for OKAY, WARNING and FAILURE severities respectively. If zero has been specified, the displayed notification will not be closed at all - the user has to do so herself. These options default to 5000. If a negative number has been specified, the default is used as well.