Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat May 25, 2019 10:38 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Value in oid_index_parse
PostPosted: Tue May 07, 2019 4:12 am 
Offline

Joined: Mon Apr 29, 2019 11:40 pm
Posts: 2
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:
<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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group