Hey all,

I noticed a small error in snmp.c in collectd-5.1.0 (might be elsewhere). The warning message in csnmp_config_add_data_shift says "Scale config option" instead of "Shift" config option:

diff -Nur collectd-5.1.0.orig//src/snmp.c collectd-5.1.0/src/snmp.c
--- collectd-5.1.0.orig//src/snmp.c     2012-04-02 01:04:58.000000000 -0700
+++ collectd-5.1.0/src/snmp.c   2012-09-06 18:57:57.799555716 -0700
@@ -301,7 +301,7 @@
   if ((ci->values_num != 1)
       || (ci->values[0].type != OCONFIG_TYPE_NUMBER))
   {
- WARNING ("snmp plugin: The `Scale' config option needs exactly one number argument."); + WARNING ("snmp plugin: The `Shift' config option needs exactly one number argument.");
     return (-1);
   }


--
Dan Thomson<[email protected]>
Sr. Systems Engineer
Astute Hosting


_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to