OK, so you're writing snmp.yml by hand, without using generator, and without access to the MIB files. This makes it harder.
The examples you gave both seem to have two OID parts as their table index:
SNMPv2-SMI::enterprises.2011.5.25.31.1.1.18.1.6.289.1 = INTEGER: 1
SNMPv2-SMI::enterprises.2011.5.25.31.1.1.18.1.6.290.1 = INTEGER: 1
SNMPv2-SMI::enterprises.2011.5.25.31.1.1.10.1.7.0.0 = INTEGER: 1
SNMPv2-SMI::enterprises.2011.5.25.31.1.1.10.1.7.0.1 = INTEGER: 1
If we could see the MIB files then we could understand what they represent.
Without the docs and without having such a device to test I can't really help. However you could look at some of the examples in snmp.yml where the table index has two parts and/or is more than one OID component:
- name: upsAdvBatteryCurrentTableIndex
oid: 1.3.6.1.4.1.318.1.1.1.2.2.14.1.1
type: gauge
help: The Battery Frame identifier - 1.3.6.1.4.1.318.1.1.1.2.2.14.1.1
indexes:
- labelname: upsAdvBatteryCurrentTableIndex
type: gauge
- labelname: upsAdvBatteryCurrentIndex
type: gauge
or:
indexes:
- labelname: bsnAPDot3MacAddress
type: PhysAddress48
fixed_size: 6
- labelname: bsnAPIfSlotId
type: gauge
or
indexes:
- labelname: virtualServerIndex
type: gauge
- labelname: realServerIndex
type: gauge