author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 6 Aug 2016 06:31:04 +0000 (08:31 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 7 Aug 2016 10:11:04 +0000 (12:11 +0200) | ||
commit | a5c7695f1ae4906754607788a915fef5eebe2253 | |
tree | 4e37f73b24bb641a89fd548b036a8f47fff1bd66 | tree | snapshot |
parent | b55658bb615f6d33e70791d2a7d2a0f2114598cc | commit | diff |
snmp : don't send values for empty type_instance
If you have multiple Instance values that are empty string,
they all end up in the same rrd file, resulting in:
rrdc_update (/collectd/rrd/vc3/snmp/if_errors.rrd, [1352632188:0:0], 1) failed with status -1
Fixes #176
If you have multiple Instance values that are empty string,
they all end up in the same rrd file, resulting in:
rrdc_update (/collectd/rrd/vc3/snmp/if_errors.rrd, [1352632188:0:0], 1) failed with status -1
Fixes #176
src/snmp.c | diff | blob | history |