[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Fri Jun 8 23:52:24 CEST 2018


 Makefile.am                   |   17 +
 configure.ac                  |   60 +-
 src/collectd.conf.in          |    4 +-
 src/collectd.conf.pod         |   69 ++-
 src/daemon/plugin_mock.c      |   14 +-
 src/daemon/utils_cache_mock.c |    7 +-
 src/snmp_agent.c              | 1333 ++++++++++++++++++++++++++++++++---------
 src/snmp_agent_test.c         |  825 +++++++++++++++++++++++++
 8 files changed, 2020 insertions(+), 309 deletions(-)

New commits:
commit e11b359144492baa97d648efc700203d0b56d32e
Merge: 0706e1c 258e6ae
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Fri Jun 8 18:24:19 2018 +0200

    Merge pull request #2702 from elfiesmelfie/feat_snmp_agent
    
    snmp_agent: new features

commit 258e6aee6f33a7b5a6d21ccdca2ee50888e0ac45
Author: Mozejko, MarcinX <marcinx.mozejko at intel.com>
Date:   Thu Jun 7 13:51:52 2018 +0100

    SNMP Agent plugin: Fix minor issues
    
    Change-Id: I5437f7d7d9abbbb0b466ed836475b35bba42fadb
    Signed-off-by: Mozejko, MarcinX <marcinx.mozejko at intel.com>

commit 4367c421fc62bbbb685d491415fe0cca6c990041
Author: Mozejko, MarcinX <marcinx.mozejko at intel.com>
Date:   Mon Jun 4 15:13:35 2018 +0100

    SNMP Agent plugin: Fix compability with netsnmp library version < 5.4.5
    
    Fix valgrind issues in snmp_agent_test.c.
    Remove unused variable from snmp_agent.c.
    
    Change-Id: I201a39743af3b59827acada9b24a15672d97436a
    Signed-off-by: Mozejko, MarcinX <marcinx.mozejko at intel.com>

commit 1df1a595017f4adfd159f7a923a721a2e83fd682
Author: Mozejko, MarcinX <marcinx.mozejko at intel.com>
Date:   Tue Feb 27 09:54:13 2018 +0000

    SNMP Agent plugin: Fix - not every OID is unregistered from snmp table
    
    Problem occures when a metric has more than one OID assigned. Then,
    during the table unregistration, plugin thinks that there are some OIDs
    left in the table and keeps index keys also registered. It's because
    plugin registers all the OIDs for the particular metric, but unregisters only
    the first one which is wrong.
    
    Change-Id: I6daae1ceeebf30b98f22075940b29936ee3d110d
    Signed-off-by: Mozejko, MarcinX <marcinx.mozejko at intel.com>

commit 362764225ae3d22ed9a14e27bf95ad762bae8adb
Author: Mozejko, MarcinX <marcinx.mozejko at intel.com>
Date:   Thu Jan 25 10:26:31 2018 +0000

    SNMP Agent plugin: Fix klockwork issues
    
    Change-Id: I2a451f1cd0426dbdeec878d584bbb51dce00c10a
    Signed-off-by: Mozejko, MarcinX <marcinx.mozejko at intel.com>

commit d19e80ca9777c9689d90c5faa6249fbfb8d55408
Author: Mozejko, MarcinX <marcinx.mozejko at intel.com>
Date:   Wed Dec 20 13:28:48 2017 +0000

    SNMP Agent plugin: Redesign way of registering OIDs
    
    Now every metric is registered individually, so when any of them is removed
    from collectd cache it is also unregistered from SNMP.
    
    Change-Id: I3548bd9b7f9a5fb574bc34e300175e4cab63b0b4
    Signed-off-by: Mozejko, MarcinX <marcinx.mozejko at intel.com>

commit 3bf0437e2a57919ac2ae1fa944f30ade393c7a05
Author: Mozejko, MarcinX <marcinx.mozejko at intel.com>
Date:   Wed Dec 20 13:19:36 2017 +0000

    SNMP Agent plugin:
      Support for complicated data definitions
      Add unit tests for functions:
        snmp_agent_oid_to_string()
        snmp_agent_prep_index_list()
        snmp_agent_fill_index_list()
        snmp_agent_config_index_key_source()
        snmp_agent_config_index_key_regex()
        snmp_agent_config_index_key()
        snmp_agent_format_name()
        snmp_agent_parse_index_key()
        snmp_agent_create_token()
        snmp_agent_delete_token()
        snmp_agent_get_token()
        snmp_agent_tokenize()
        snmp_agent_build_name()
    
    Change-Id: I31a8a5c771fa4c7d0122705fe79f021bc71c9904
    Signed-off-by: Mozejko, MarcinX <marcinx.mozejko at intel.com>

commit 762994729ef2f4795aa57ae2a1e02b4d4ddf8efe
Author: Mozejko, MarcinX <marcinx.mozejko at intel.com>
Date:   Mon Jul 24 14:32:18 2017 +0100

    SNMP Agent plugin: Add multiple key index support
    
    Change-Id: I825aa4c022b0ef41439cb83527be69f3f4445bbb
    Signed-off-by: Mozejko, MarcinX <marcinx.mozejko at intel.com>

commit 54d75f7f84d48ffc710bd79a2bcce1fc908452d2
Author: Mozejko, MarcinX <marcinx.mozejko at intel.com>
Date:   Thu Jun 29 12:43:51 2017 +0100

    SNMP Agent plugin:
      1. Removed redundant code in scalar and table column config parsing.
      2. Removed redundant code in snmp_agent_dump_data function.
      3. Changed function names:
           snmp_agent_config_data() -> snmp_agent_config_scalar()
           snmp_agent_config_table_data() -> snmp_agent_config_table_column()
           snmp_agent_dump_data() -> snmp_agent_dump_config()
      4. Fix: error getting SizeOID
    
    Change-Id: I17175218119bcab979daff02deef298a57c93465
    Signed-off-by: Mozejko, MarcinX <marcinx.mozejko at intel.com>




More information about the collectd-changes mailing list