Below is the SNMP Data Query that I am currently using, however I want to split this up according to the Line Card/Module in use in the chassis, so that I can contribute back the template if worthwhile... happy to defer that to later pending your/others critique/input.
Code: Select all
<query>
<name>ADVA Optical Power Levels</name>
<description>Queries a ADVA device for a list of power levels</description>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
<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>
<ifAlias>
<name>Alias (IF-MIB)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.18</oid>
</ifAlias>
<ifType>
<name>Type</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.3</oid>
</ifType>
<ifHwAddr>
<name>Hardware Address</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.6</oid>
</ifHwAddr>
<thresholdPhysPerfOpticalInputPwrLow>
<name>Optical Input Power Low Threshold</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.1.9.1.1</oid>
</thresholdPhysPerfOpticalInputPwrLow>
<thresholdPhysPerfOpticalInputPwrHigh>
<name>Optical Input Power High Threshold</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.1.9.1.2</oid>
</thresholdPhysPerfOpticalInputPwrHigh>
<thresholdPhysPerfOpticalOutputPwrLow>
<name>Optical Output Power Low Threshold</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.1.9.1.3</oid>
</thresholdPhysPerfOpticalOutputPwrLow>
<thresholdPhysPerfOpticalOutputPwrHigh>
<name>Optical Output Power High Threshold</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.1.9.1.4</oid>
</thresholdPhysPerfOpticalOutputPwrHigh>
<intervalPhysPerfOpticalInputPwr15minLow>
<name>Optical Input Power Received 15min Low</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.2.33.1.2</oid>
<oid_suffix>0</oid_suffix>
</intervalPhysPerfOpticalInputPwr15minLow>
<intervalPhysPerfOpticalInputPwr15minMean>
<name>Optical Input Power Received 15min Mean</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.2.33.1.3</oid>
<oid_suffix>0</oid_suffix>
</intervalPhysPerfOpticalInputPwr15minMean>
<intervalPhysPerfOpticalInputPwr15minHigh>
<name>Optical Input Power Received 15min High</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.2.33.1.4</oid>
<oid_suffix>0</oid_suffix>
</intervalPhysPerfOpticalInputPwr15minHigh>
<intervalPhysPerfOpticalOutputPwr15minLow>
<name>Optical Output Power Transmitted 15min Low</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.2.36.1.2</oid>
<oid_suffix>0</oid_suffix>
</intervalPhysPerfOpticalOutputPwr15minLow>
<intervalPhysPerfOpticalOutputPwr15minMean>
<name>Optical Output Power Transmitted 15min Mean</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.2.36.1.3</oid>
<oid_suffix>0</oid_suffix>
</intervalPhysPerfOpticalOutputPwr15minMean>
<intervalPhysPerfOpticalOutputPwr15minHigh>
<name>Optical Output Power Transmitted 15min High</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2544.1.11.2.6.2.36.1.4</oid>
<oid_suffix>0</oid_suffix>
</intervalPhysPerfOpticalOutputPwr15minHigh>
</fields>
</query>
Below is how I currently have the graph configured, I will update accordingly the GPRINT presets with your feedback to move away from the unnecessary CDEF functions, however I would value any suggestions you/others can provide on how to best export the data-query/graph/data-template for sharing purposes?
Thank you for your help and persistence, its appreciated.
Regards
Cameron.
--