From: Florian Forster Date: Thu, 30 Dec 2010 07:21:20 +0000 (+0100) Subject: src/configfile.c: Enable the "Globals" flag for the "DotNet" plugin, too. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=refs%2Fheads%2Fff%2Fdotnet;p=collectd.git src/configfile.c: Enable the "Globals" flag for the "DotNet" plugin, too. --- diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 5fee0d00..4467061f 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -83,8 +83,9 @@ See the documentation of those plugins (e.g., L or L) for details. By default, this is disabled. As a special exception, if the plugin name is -either C or C, the default is changed to enabled in order to keep -the average user from ever having to deal with this low level linking stuff. +either C, C or C, the default is changed to enabled in +order to keep the average user from ever having to deal with this low level +linking stuff. =back diff --git a/src/configfile.c b/src/configfile.c index 4fe50cc2..ee331636 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -264,7 +264,8 @@ static int dispatch_loadplugin (const oconfig_item_t *ci) * So in order to save everyone's sanity use a different default for a * handful of special plugins. --octo */ - if ((strcasecmp ("Perl", name) == 0) + if ((strcasecmp ("DotNet", name) == 0) + || (strcasecmp ("Perl", name) == 0) || (strcasecmp ("Python", name) == 0)) flags |= PLUGIN_FLAGS_GLOBAL;