XML Query template & reindexing

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

Moderators: Developers, Moderators

Post Reply
poussa
Posts: 2
Joined: Mon Jul 31, 2006 2:21 am

XML Query template & reindexing

Post by poussa »

hello,

I'm trying to write an XML Query template for a strange product.

Is it possible to write an XML Query template with an OID Index as Indexing Type for datasource ?

I'm asking this because there is no unique fields different one the other excepted the OID Index Number (1 to 16).

Code: Select all

SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.2 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.3 = INTEGER: 3
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.4 = INTEGER: 4
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.5 = INTEGER: 5
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.6 = INTEGER: 6
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.7 = INTEGER: 7
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.8 = INTEGER: 8
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.9 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.10 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.11 = INTEGER: 3
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.12 = INTEGER: 4
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.13 = INTEGER: 5
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.14 = INTEGER: 6
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.15 = INTEGER: 7
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.1.16 = INTEGER: 8

SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.1 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.2 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.3 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.4 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.5 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.6 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.7 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.8 = INTEGER: 1
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.9 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.10 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.11 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.12 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.13 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.14 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.15 = INTEGER: 2
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.2.16 = INTEGER: 2

SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.1 = STRING: "Ether0"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.2 = STRING: "Ether1"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.3 = STRING: "Ether2"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.4 = STRING: "Ether3"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.5 = STRING: "Ether4"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.6 = STRING: "Ether5"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.7 = STRING: "Ether6"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.8 = STRING: "Ether7"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.9 = STRING: "Ether0"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.10 = STRING: "Ether1"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.11 = STRING: "Ether2"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.12 = STRING: "Ether3"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.13 = STRING: "Ether4"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.14 = STRING: "Ether5"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.15 = STRING: "Ether6"
SNMPv2-SMI::enterprises.1751.1.56.1.1.2.4.1.3.16 = STRING: "Ether7"
I'd like to use numbers from 1 to 16 as Indexes and Index Type for the datasource.


Any Idea ? Any Template example to do this ??

Thx in advance for your help
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests