Help with new Data Query

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

cewood
Posts: 13
Joined: Thu Mar 25, 2010 11:09 pm
Location: Sydney, Australia

Re: Help with new Data Query

Post by cewood »

Apologies for not having an explanation for this, but I managed to get the query working... I've obviously not been as methodical about my testing/troubleshooting as I would like, but my time has been quite limited and sporadic at best.

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?
graph-debug.jpg
graph-debug.jpg (100.62 KiB) Viewed 732 times
Thank you for your help and persistence, its appreciated.

Regards
Cameron.
--
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Help with new Data Query

Post by gandalf »

On the left menu, you will find "Export Templates". Select the graph template and export to a file. That's it
R.
mixasg
Posts: 1
Joined: Fri Sep 13, 2013 1:15 am

Re: Help with new Data Query

Post by mixasg »

Hello!
I have 4 ADVA FSP3000, and would like monitoring this. Cameron, can You publish data-query/graph/data-template?
Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest