From 24f584d35cde7f891c57a14f139596fa8b8b9ef0 Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Wed, 5 Dec 2018 16:19:53 +0700 Subject: [PATCH] virt plugin: Add missing config_keys --- src/collectd.conf.in | 2 ++ src/virt.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 066e5a93..f58d3b49 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -1664,6 +1664,8 @@ # Connection "xen:///" # RefreshInterval 60 # Domain "name" +# ReportBlockDevices true +# ReportNetworkInterfaces true # BlockDevice "name:device" # BlockDeviceFormat target # BlockDeviceFormatBasename false diff --git a/src/virt.c b/src/virt.c index 876fe30a..f2acde07 100644 --- a/src/virt.c +++ b/src/virt.c @@ -138,6 +138,9 @@ static const char *config_keys[] = {"Connection", "Instances", "ExtraStats", "PersistentNotification", + + "ReportBlockDevices", + "ReportNetworkInterfaces", NULL}; /* PersistentNotification is false by default */ -- 2.11.0