Value in oid_index_parse

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
Vills
Posts: 2
Joined: Mon Apr 29, 2019 11:40 pm

Value in oid_index_parse

#1 Post by Vills » Tue May 07, 2019 4:12 am

Hi,
necessary that the value from oid is displayed in oid_index_parse.
How do it? Help please
PS sorry for my poor English
Code:

Code: Select all

<interface>
	<name>Get DDM Informtion</name>
	<description>DDM RX Power and TX Power Information</description>
	<oid_index>.1.3.6.1.4.1.40418.7.100.30.1.1.22</oid_index>
	<oid_num_indexes>.1.3.6.1.2.1.2.1.0</oid_num_indexes>
  	<index_order>ifIndex:ifName:ifOperStatus</index_order>
	<oid_index_parse>VALUE/REGEXP:\-?[0-9]{1,2}\.[0-9]{2}</oid_index_parse>
	<index_order_type>numeric</index_order_type>	
	<fields>
		<ifIndex>
			<name>Index</name>
			<method>walk</method>
			<source>value</source>
			<direction>input</direction>
			<oid>.1.3.6.1.2.1.2.2.1.1</oid>
		</ifIndex>
		<ifOperStatus>
			<name>Status</name>
			<method>walk</method>
			<source>value</source>
			<direction>input</direction>
			<oid>.1.3.6.1.2.1.2.2.1.8</oid>
		</ifOperStatus>
		<ifName>
			<name>Name (IF-MIB)</name>
			<method>walk</method>
			<source>value</source>
			<direction>input</direction>
			<oid>.1.3.6.1.2.1.31.1.1.1.1</oid>
		</ifName>
		<ddmDiagnosisRXPower>
			<name>DDM RX Power</name>
			<method>walk</method>
			<source>value</source>
			<direction>output</direction>
			<oid>.1.3.6.1.4.1.40418.7.100.30.1.1.17</oid>
		</ddmDiagnosisRXPower>
	<ddmDiagnosisTXPower>
			<name>DDM TX Power</name>
			<method>walk</method>
			<source>value</source>
			<direction>output</direction>
			<oid>.1.3.6.1.4.1.40418.7.100.30.1.1.22</oid>
		</ddmDiagnosisTXPower>
	</fields>
</interface>
And Result:
Image

Post Reply