[collectd] snmp plugin: Allow FilterValues to match OIDs

Graham Leggett minfrin at sharp.fm
Tue Apr 22 11:27:37 CEST 2025


Hi all,

Would it be possible for someone to take a look at https://github.com/collectd/collectd/pull/3995 and confirm if our changes are ok?

The change adds the ability for you to do this with FilterValues:

    <Data "hr_memory_used">
      Table true
      Plugin "memory"
      PluginInstanceOID "HOST-RESOURCES-MIB::hrStorageIndex"
      Type "memory"
      TypeInstance "used"
      Values "HOST-RESOURCES-MIB::hrStorageUsed"
      FilterOID "HOST-RESOURCES-MIB::hrStorageType"
      FilterValues "HOST-RESOURCES-TYPES::hrStorageRam"
    </Data>

Also, would it be possible to add a label as follows: One of ["Feature" "Fix" "Maintenance"] has to be set.

Regards,
Graham
--

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20250422/bce26be9/attachment.html>


More information about the collectd mailing list