[collectd] SNMP Tables Question

Flyinvap Flyinvap at Kabano.net
Mon Jun 27 16:52:29 CEST 2011


Hi,

On Mon, 27 Jun 2011 15:29:27 +0100, Steve Thompson wrote:

>
> root at collectd1:~# snmptable -v 1 -c public zeus1.dev.shazamteam.net
> IF-MIB::ifDescr
> Was that a table? RFC1213-MIB::ifDescr
>

If you use snmptable, you have to give a table

$ snmptable -v 1 -c public zeus1.dev.shazamteam.net IF-MIB::ifTable

collectd uses a snmpwalk like.

$ snmpwalk -v 1 -c public zeus1.dev.shazamteam.net IF-MIB::ifDescr

Use SNMP v2c is better and can use get bulk with multiple OID in one 
PDU.

$ snmpbulkwalk -v 2c -c public zeus1.dev.shazamteam.net IF-MIB::ifDescr

-- 
Flyinvap




More information about the collectd mailing list