Merge branch 'collectd-5.4' into collectd-5.5 collectd-5.5.1
authorFlorian Forster <octo@collectd.org>
Fri, 22 Jan 2016 09:53:29 +0000 (10:53 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 22 Jan 2016 09:53:29 +0000 (10:53 +0100)
src/collectd.conf.pod
src/df.c

index 7a66c81..0eabec7 100644 (file)
@@ -4307,6 +4307,18 @@ Default: C<Collectd notify: %s@%s>
 
 =head2 Plugin C<ntpd>
 
+The C<ntpd> plugin collects per-peer ntpd data such as time offset and time
+dispersion.
+
+For talking to B<ntpd>, it mimics what the B<ntpdc> control program does on
+wire - using B<mode 7> specific requests. This mode is deprecated with
+newer B<ntpd> releases (4.2.7p230 and later). For the C<ntpd> plugin to work
+correctly with them, the ntp daemon must be explicitly configured to
+enable B<mode 7> (which is disabled by default). Refer to the I<ntp.conf(5)>
+manual page for details.
+
+Available configuration options for the C<ntpd> plugin:
+
 =over 4
 
 =item B<Host> I<Hostname>
index 53bc4a8..ff70172 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -270,11 +270,7 @@ static int df_read (void)
                else
                {
                        if (strcmp (mnt_ptr->dir, "/") == 0)
-                       {
-                               if (strcmp (mnt_ptr->type, "rootfs") == 0)
-                                       continue;
                                sstrncpy (disk_name, "root", sizeof (disk_name));
-                       }
                        else
                        {
                                int i, len;