Document ntpd IncludeUnitID and add to default config
authorJohan Kiviniemi <devel@johan.kiviniemi.name>
Thu, 4 Oct 2012 22:01:44 +0000 (01:01 +0300)
committerJohan Kiviniemi <devel@johan.kiviniemi.name>
Thu, 4 Oct 2012 22:28:59 +0000 (01:28 +0300)
src/collectd.conf.in
src/collectd.conf.pod

index 7f3e780..37aceaf 100644 (file)
 #      Host "localhost"
 #      Port 123
 #      ReverseLookups false
 #      Host "localhost"
 #      Port 123
 #      ReverseLookups false
+#      IncludeUnitID true
 #</Plugin>
 
 #<Plugin nut>
 #</Plugin>
 
 #<Plugin nut>
index 774d918..b7d08c7 100644 (file)
@@ -3094,6 +3094,16 @@ IP-address may be used in a filename it is recommended to disable reverse
 lookups. The default is to do reverse lookups to preserve backwards
 compatibility, though.
 
 lookups. The default is to do reverse lookups to preserve backwards
 compatibility, though.
 
+=item B<IncludeUnitID> B<true>|B<false>
+
+When a peer is a refclock, include the unit ID in the I<type instance>.
+Defaults to B<false> for backward compatibility.
+
+If two refclock peers use the same driver and this is B<false>, the plugin will
+try to write simultaneous measurements from both to the same type instance.
+This will result in error messages in the log and only one set of measurements
+making it through.
+
 =back
 
 =head2 Plugin C<nut>
 =back
 
 =head2 Plugin C<nut>