I am currently trying to graph the Tx/Rx optical levels of some network equipments (the brand is MRV).
I created a snmp query :
Code: Select all
<query>
<name>Get OpticalLevels Information</name>
<description>Get SNMP based optical levels informations from a MRV device</description>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.4.1.6926.1.18.1.1.2.1.2</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,}\.[0-9]{1,})$</oid_index_parse>
<fields>
<SfpIndex>
<name>Index</name>
<source>index</source>
<direction>input</direction>
</SfpIndex>
<SfpType>
<name>Type</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6926.1.18.1.1.2.1.26</oid>
</SfpType>
<SfpSerial>
<name>S/N</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6926.1.18.1.1.2.1.32</oid>
</SfpSerial>
<SfpBrand>
<name>Brand</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6926.1.18.1.1.2.1.24</oid>
</SfpBrand>
<SfpTxLevel>
<name>Tx Level</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.6926.1.18.1.1.3.1.6</oid>
</SfpTxLevel>
<SfpRxLevel>
<name>Rx Level</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.6926.1.18.1.1.3.1.7</oid>
</SfpRxLevel>
</fields>
</query>
But my graph remains empty :12/07/2012 03:15:13 PM - CMDPHP: Poller[0] Host[389] DS[6071] SNMP: v2: 10.7.84.243, dsname: SfpRxLevel, oid: .1.3.6.1.4.1.6926.1.18.1.1.3.1.7.1.4, output: -749
12/07/2012 03:15:14 PM - CMDPHP: Poller[0] Host[389] DS[6071] SNMP: v2: 10.7.84.243, dsname: SfpTxLevel, oid: .1.3.6.1.4.1.6926.1.18.1.1.3.1.6.1.4, output: 83
12/07/2012 03:15:14 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/os1_xxx_sfprxlevel_6071.rrd --template SfpTxLevel:SfpRxLevel 1354889713:83:-749
Your help would be very appreciated on this
Thanks and regards !