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

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Cacti XML Regexp
PostPosted: Mon Apr 29, 2019 11:55 pm 
Offline

Joined: Mon Apr 29, 2019 11:40 pm
Posts: 2
Hi,i need display in cacti data query only active value DDM ( not null ) with help xml and oid regexp. That is, when i connected transceiver, cacti output in data query this port, which i can display. No connected ( with values "null" ) no displaying.
P.S. Sorry for my English
Code:
<interface>
   <name>Get DDM Informtion</name>
   <description>DDM RX Power and TX Power Information</description>
   <oid_index>.1.3.6.1.4.1.*****.7.100.30.1.1.22</oid_index>
   <oid_num_indexes>.1.3.6.1.4.1.*****.7.100.30.3.1.1</oid_num_indexes>
   <index_order>ifIndex:ifName:ifOperStatus:ifDescr</index_order>
   <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>
      <ifDescr>
         <name>Description</name>
         <method>walk</method>
         <source>value</source>
         <direction>input</direction>
         <oid>.1.3.6.1.2.1.2.2.1.2</oid>
      </ifDescr>
      <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.*****.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.*****.7.100.30.1.1.22</oid>
      </ddmDiagnosisTXPower>
   </fields>
</interface>


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: No registered users and 16 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