40g qsfp interfaces are 4 tx and 4 rx lines, snmwalk return the 4 lines in the same string, how would it be to make a template with the lines separately?
iso.3.6.1.4.1.2011.5.25.31.1.1.3.1.32.67502286 = STRING: "-174.31, -142.67, -152.24, -132.89"
Template for 40G Interface
Moderators: Developers, Moderators
Re: Template for 40G Interface
Using this regex , do not select the first group.
<ifRx>
<name>Rx Power (dBm)</name>
<method>walk</method>
<source>VALUE:REGEX:([^\,\s]*),([^\,\s]*),([^,\s]*),([^,\s]*)\1</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.32</oid>
</ifRx>
<ifRx>
<name>Rx Power (dBm)</name>
<method>walk</method>
<source>VALUE:REGEX:([^\,\s]*),([^\,\s]*),([^,\s]*),([^,\s]*)\1</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2011.5.25.31.1.1.3.1.32</oid>
</ifRx>
Who is online
Users browsing this forum: No registered users and 4 guests