Template for 40G Interface

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
joca
Posts: 14
Joined: Mon Feb 20, 2017 8:09 am
Location: Brasil
Contact:

Template for 40G Interface

Post by joca »

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"
joca
Posts: 14
Joined: Mon Feb 20, 2017 8:09 am
Location: Brasil
Contact:

Re: Template for 40G Interface

Post by joca »

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>
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests