Doubt in file xml with MIB platform GEPON furukawa
spiderslack <[email protected]> Fri, 22 Nov 2013 17:00:22 -0300
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all I create the file xml with content *<interface> ** ** <name>Get GEPON Interfaces Statistics</name> ** ** <description>Queries a statistics for interfaces CNI e PON in plataform GEPON Furukawa FKC16</description>** **<oid_index>.1.3.6.1.4.1.10428.8.1.1.9.1.2.1.1</oid_index> ** **<index_order>fkc16OltInformationIndex</index_order> ** **<oid_num_indexes>.1.3.6.1.4.1.10428.8.1.1.9.1.1.0</oid_num_indexes> ** **<index_order_type>numeric</index_order_type> ** **<index_title_format>|chosen_order_field|</index_title_format> ** **** **<fields> ** **<fkc16OltInformationIndex> ** **<name>Index</name> ** **<method>walk</method> ** **<source>value</source> ** **<direction>input</direction> ** **<oid>.1.3.6.1.4.1.10428.8.1.1.9.1.2.1.1</oid> ** **</fkc16OltInformationIndex> ** **</fields> ** **</interface>* Via gui of cacti using verbose query its display *+ Running data query [14]. + Found type = '3' [SNMP Query]. + Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/gepon.xml' + XML file parsed ok. + Executing SNMP get for num of indexes @ '.1.3.6.1.4.1.10428.8.1.1.9.1.1.0' Index Count: 3 + Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.10428.8.1.1.9.1.2.1.1' Index Count: 0 + No SNMP data returned* Its test via line command. root@apolo:/usr/share/cacti/resource/snmp_queries# snmpget -c public -v 1 172.16.30.11 .1.3.6.1.4.1.10428.8.1.1.9.1.1.0 iso.3.6.1.4.1.10428.8.1.1.9.1.1.0 = INTEGER: 3 root@apolo:/usr/share/cacti/resource/snmp_queries# snmpwalk -c public -v 1 172.16.30.11 .1.3.6.1.4.1.10428.8.1.1.9.1.2.1.1 iso.3.6.1.4.1.10428.8.1.1.9.1.2.1.1.1 = INTEGER: 1 iso.3.6.1.4.1.10428.8.1.1.9.1.2.1.1.2 = INTEGER: 2 iso.3.6.1.4.1.10428.8.1.1.9.1.2.1.1.3 = INTEGER: 3 root@apolo:/usr/share/cacti/resource/snmp_queries# where am I wrong? Regards ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk