You can see that this resulting regex is anchored, so it will not match a value with a literal "%" at the end. So first thing to fix in your generator source is:
- regex: '([0-9.]+)%'
or
- regex: '([0-9.]+).*'
Also, remove "type: Float", or set "type: DisplayString" - because the actual SNMP type is DisplayString, the regex needs to match against a string, and the final value is implicitly parsed as a float.
You can find working examples in the sample generator.yml:
overrides:
...
pduMainLoadAmp:
regex_extracts:
'':
- regex: '(.*)(.)'
value: '$1.$2'
overrides:
ddmStatusBiasCurrent:
type: DisplayString
regex_extracts:
'':
- regex: '^(\d+\.\d+).*'
value: '$1'