Code: Select all
<name>Get SNMP Interfaces</name>
<description>Queries a host for a list of monitorable interfaces</description>
<oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
<oid_num_indexes>.1.3.6.1.2.1.2.1.0</oid_num_indexes>
<index_order>ifAlias:ifIndex:ifDescr</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
...
<ifAlias>
<name>Alias (IF-MIB)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.18</oid>
</ifAlias>
Code: Select all
snmpwalk -v 2c -c ******** ******* ifAlias
IF-MIB::ifAlias.1 = STRING: test
IF-MIB::ifAlias.2 = STRING: ""
IF-MIB::ifAlias.3 = STRING: ""
IF-MIB::ifAlias.4 = STRING: ""
IF-MIB::ifAlias.5 = STRING:
FreeBSD 5.3
Cacti 0.8.6h