]> git.ipfire.org Git - thirdparty/collectd.git/commit
This plugin, named mdevents, is responsible for gathering the events from RAID arrays...
authorKobylinski, Michal <michal.kobylinski@intel.com>
Mon, 13 Jan 2020 08:50:15 +0000 (09:50 +0100)
committerroot <root@gklab-16-023.igk.intel.com>
Mon, 13 Jan 2020 17:42:53 +0000 (18:42 +0100)
commitccf4cd876014ef3a659c100279e472459ba8dfa2
tree463df5a06f0c7d2976652f619353311d3d78284a
parent5ebc182261321f0781f38d8645bfc7c74353434c
This plugin, named mdevents, is responsible for gathering the events from RAID arrays that were written to syslog by mdadm utility (which is a user-space software for managing the RAIDs). Then, based on configuration provided by user, plugin will decide whether to send the collectd notification or not.

Mdevents needs the syslog and mdadm to be present on a platform that collectd is launched.

Based on the naming of existing dpdk plugins (dpdkstat for metrics, dpdkevents for notifications) and the fact that there is already plugin called md for gathering metrics from RAIDs, giving this plugin name mdevents felt like the best option.

A slight change to ignorelist API was introduced - it is now possible to retrieve the count of nodes in array and the current ignore setting for given array.

ChangeLog: New plugin to read RAID events
Makefile.am
configure.ac
src/collectd.conf.in
src/collectd.conf.pod
src/mdevents.c [new file with mode: 0644]
src/mdevents_test.c [new file with mode: 0644]