From: Florian Forster Date: Sun, 9 Jul 2006 08:49:15 +0000 (+0200) Subject: traffic plugin: Store the new `if_packets.rrd' and `if_errors.rrd' in a seperate... X-Git-Tag: collectd-3.10.0~10 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2b0cb61ce3b46a17c9145c4685997cb0d044c7be;p=collectd.git traffic plugin: Store the new `if_packets.rrd' and `if_errors.rrd' in a seperate subdirectory. This makes it easier for user interfaces to know what host, and what a plugin subdirectory is. --- diff --git a/src/traffic.c b/src/traffic.c index 18a2063f..14b7dc32 100644 --- a/src/traffic.c +++ b/src/traffic.c @@ -74,8 +74,8 @@ */ /* TODO: Move this to `interface-%s/.rrd' in version 4. */ static char *bytes_file = "traffic-%s.rrd"; -static char *packets_file = "if_packets-%s.rrd"; -static char *errors_file = "if_errors-%s.rrd"; +static char *packets_file = "interface-%s/if_packets.rrd"; +static char *errors_file = "interface-%s/if_errors.rrd"; /* TODO: Maybe implement multicast and broadcast counters */ static char *config_keys[] =