[collectd] snmp plugin and "Table true" in 4.4.1

Florian Forster octo at verplant.org
Thu Oct 2 10:37:28 CEST 2008


Hi Sergey,

On Thu, Oct 02, 2008 at 09:44:07AM +0500, Sergey wrote:
> And what about my question about IF-MIB::ifDescr ?

if you want to use `ifAlias' or `ifName' rather than `ifDescr', all you
have to do is adapt the <Data "..."> block in the configuration of the
SNMP plugin. For example, the config could look like this:

  <Plugin snmp>
    <Data "ifmib_if_octets32">
        Type "if_octets"
        Table true
        Instance "IF-MIB::ifAlias"
        Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
    </Data>
  # ...
  </Plugin>

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20081002/c3ad4c31/attachment.pgp 


More information about the collectd mailing list