Code: Select all
<query>
<name>Get Ciena CESD Optical Power</name>
<description>Queries a host for a list of monitorable interfaces</description>
<oid_index>1.3.6.1.4.1.6141.2.60.4.1.1.1.1.1</oid_index>
<index_order_type>numeric</index_order_type>
<fields>
<wwpLeosPortXcvrId>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>1.3.6.1.4.1.6141.2.60.4.1.1.1.1.1</oid>
</wwpLeosPortXcvrId>
<rxPower>
<name>Optical Receive Power</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>1.3.6.1.4.1.6141.2.60.4.1.1.1.1.106</oid>
</rxPower>
<txPower>
<name>Optical Transmit Power</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>1.3.6.1.4.1.6141.2.60.4.1.1.1.1.105</oid>
</txPower>
</fields>
</query>
Code: Select all
+ Running data query [11].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/CESD_Optical_Power.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '1.3.6.1.4.1.6141.2.60.4.1.1.1.1.1' Index Count: 6
+ Index found at OID: 'enterprises.6141.2.60.4.1.1.1.1.1.1' value: '1'
+ Index found at OID: 'enterprises.6141.2.60.4.1.1.1.1.1.2' value: '2'
+ Index found at OID: 'enterprises.6141.2.60.4.1.1.1.1.1.3' value: '3'
+ Index found at OID: 'enterprises.6141.2.60.4.1.1.1.1.1.4' value: '4'
+ Index found at OID: 'enterprises.6141.2.60.4.1.1.1.1.1.5' value: '5'
+ Index found at OID: 'enterprises.6141.2.60.4.1.1.1.1.1.6' value: '6'
+ Located input field 'wwpLeosPortXcvrId' [walk]
+ Executing SNMP walk for data @ '1.3.6.1.4.1.6141.2.60.4.1.1.1.1.1'