collectd: enable threshold plugin
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 8 Feb 2019 13:52:23 +0000 (14:52 +0100)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 30 Nov 2019 17:15:12 +0000 (19:15 +0200)
The only action the Threshold plugin takes itself is to generate and
dispatch a notification. Other plugins can register to receive
notifications and perform appropriate further actions.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked for 19.07, line numbers adjusted)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
utils/collectd/Makefile

index 3bf51d8dda359b46dc77b8834e8ee8161ba67561..dbb56dc980b55c2d13b365764cb9e10da93ffd6b 100644 (file)
@@ -177,6 +177,7 @@ COLLECTD_PLUGINS_SELECTED:= \
        teamspeak2 \
        ted \
        thermal \
+       threshold \
        unixsock \
        uptime \
        users \
@@ -419,6 +420,7 @@ $(eval $(call BuildPlugin,teamspeak2,TeamSpeak2 input,teamspeak2,))
 $(eval $(call BuildPlugin,ted,The Energy Detective input,ted,))
 $(eval $(call BuildPlugin,tcpconns,TCP connection tracking input,tcpconns,))
 $(eval $(call BuildPlugin,thermal,system temperatures input,thermal,))
+$(eval $(call BuildPlugin,threshold,Notifications and thresholds,threshold,))
 $(eval $(call BuildPlugin,unixsock,unix socket output,unixsock,))
 $(eval $(call BuildPlugin,uptime,uptime status input,uptime,))
 $(eval $(call BuildPlugin,users,user logged in status input,users,))