Graph of Utilization Physics Interface CMTS (Casa Systems)

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
Rikii16
Posts: 16
Joined: Fri Jan 03, 2020 3:25 pm

Graph of Utilization Physics Interface CMTS (Casa Systems)

Post by Rikii16 »

I need help to create a graph of % Utilization Physics Interfaces.

The response of the OID 1.3.6.1.2.1.10.127.1.3.9.1.3 (docsIfCmtsChannelUtUtilization) are the following:

SNMPv2-SMI::transmission.127.1.3.9.1.3.3000059.128.0 = INTEGER: 0
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000060.128.0 = INTEGER: 0
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000061.128.0 = INTEGER: 0
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000062.128.0 = INTEGER: 0
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000063.128.0 = INTEGER: 0
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000064.128.0 = INTEGER: 6
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000065.128.0 = INTEGER: 6
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000066.128.0 = INTEGER: 6
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000067.128.0 = INTEGER: 6
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000068.128.0 = INTEGER: 6
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000069.128.0 = INTEGER: 6
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000070.128.0 = INTEGER: 6
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000071.128.0 = INTEGER: 6
SNMPv2-SMI::transmission.127.1.3.9.1.3.3000072.128.0 = INTEGER: 9



I have the next script created

Code: Select all

<query>
        <name>Get SNMP Interfaces</name>
        <description>Script para desplegar minislots por interfaz</description>
        <oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
        <index_order_type>numeric</index_order_type>
        <index_title_format>|chosen_order_field|</index_title_format>

        <fields>
                <ifIndex>
                        <name>Index</name>
                        <method>walk</method>
                        <source>value</source>
                        <direction>input</direction>
                        <oid>.1.3.6.1.2.1.2.2.1.2</oid>
                </ifIndex>

               <IfCmtsChannelUtUtilization>
                        <name>ChannelUtilization</name>
                        <method>walk</method>
                        <source>value</source>
                        <direction>input</direction>
                        <oid>.1.3.6.1.2.1.10.127.1.3.9.1.3</oid>
                </IfCmtsChannelUtUtilization>

          </fields>
</query>
But when we do the debug query the parameter of Utilization doesnt match with the main index.

Found item [ifIndex='Upstream Physical Interface 9/0.0'] index: 4002304 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/0.1'] index: 4002305 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/0.2'] index: 4002306 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/0.3'] index: 4002307 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/1.0'] index: 4002312 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/1.1'] index: 4002313 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/1.2'] index: 4002314 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/1.3'] index: 4002315 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/2.0'] index: 4002320 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/2.1'] index: 4002321 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/2.2'] index: 4002322 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/2.3'] index: 4002323 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/3.0'] index: 4002328 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/3.1'] index: 4002329 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/3.2'] index: 4002330 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/3.3'] index: 4002331 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/4.0'] index: 4002336 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/4.1'] index: 4002337 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/4.2'] index: 4002338 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/4.3'] index: 4002339 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/5.0'] index: 4002344 [from value]
+ Found item [ifIndex='Upstream Physical Interface 9/5.1'] index: 4002345 [from value]

.
.
.

+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='3'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='4'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='0'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='0'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='0'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='0'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='0'] index: 0 [from value]
+ Found item [IfCmtsChannelUtUtilization='0'] index: 0 [from value]

Can I match this parameter with the main index?
Rikii16
Posts: 16
Joined: Fri Jan 03, 2020 3:25 pm

Re: Graph of Utilization Physics Interface CMTS (Casa Systems)

Post by Rikii16 »

Hi, actually i found a solution for my problem.

I use the parameter <oid_suffix>129.0</oid_suffix> and thats solve the problem.

Code: Select all

<IfCmtsChannelUtUtilization>
                        <name>ChannelUtilization</name>
                        <method>walk</method>
                        <source>value</source>
                        <direction>output</direction>
                        <oid>1.3.6.1.2.1.10.127.1.3.9.1.3</oid>
                        <oid_suffix>129.0</oid_suffix>
                </IfCmtsChannelUtUtilization>
Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests