Here is what I got using snmpwalk.. How to create a template

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

Moderators: Developers, Moderators

Post Reply
lianfu
Posts: 2
Joined: Sat May 10, 2008 6:18 pm

Here is what I got using snmpwalk.. How to create a template

Post by lianfu »

Anybody can give me a hand?? Thank you!!



SNMPv2-SMI::enterprises.8837.4.1.1.1.0 = STRING: "AscenVision (AscenLink)"
SNMPv2-SMI::enterprises.8837.4.1.1.2.0 = STRING: "AscenLink530"
SNMPv2-SMI::enterprises.8837.4.1.1.3.0 = STRING: "V5.01-B1102-M530-F0-P11"
SNMPv2-SMI::enterprises.8837.4.1.1.6.0 = INTEGER: 79
SNMPv2-SMI::enterprises.8837.4.1.1.7.0 = INTEGER: 1
SNMPv2-SMI::enterprises.8837.4.1.2.1.1.0 = INTEGER: 8
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.1.2 = INTEGER: 2
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.1.3 = INTEGER: 3
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.1.4 = INTEGER: 4
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.1.5 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.1.6 = INTEGER: 6
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.1.7 = INTEGER: 7
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.1.8 = INTEGER: 8
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.2.1 = STRING: "WAN 1"
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.2.2 = STRING: "WAN 2"
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.2.3 = STRING: "WAN 3"
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.2.4 = STRING: "WAN 4"
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.2.5 = STRING: "WAN 5"
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.2.6 = STRING: "WAN 6"
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.2.7 = STRING: "WAN 7"
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.2.8 = STRING: "WAN 8"
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.3.1 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.3.2 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.3.3 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.3.4 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.3.5 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.3.6 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.3.7 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.3.8 = INTEGER: 5
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.4.1 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.4.2 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.4.3 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.4.4 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.4.5 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.4.6 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.4.7 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.4.8 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.1 = Counter32: 2827173662
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.2 = Counter32: 225791117
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.3 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.4 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.5 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.6 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.7 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.8 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.1 = Counter32: 2963348207
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.2 = Counter32: 261678751
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.3 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.4 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.5 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.6 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.7 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.8 = Counter32: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.1 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.2 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.3 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.4 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.5 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.6 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.7 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.8 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.1 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.2 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.3 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.4 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.5 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.6 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.7 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.8 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.3.1.0 = Timeticks: (479375950) 55 days, 11:35:59.50
SNMPv2-SMI::enterprises.8837.4.1.3.2.0 = INTEGER: 98
SNMPv2-SMI::enterprises.8837.4.1.3.3.0 = INTEGER: 0
SNMPv2-SMI::enterprises.8837.4.1.3.3.0 = No more variables left in this MIB View (It is past the end of the MIB tree)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

As the OIDs are only party printed as text, I really don't know which of those you want to graph. Please explain
Reinhard
lianfu
Posts: 2
Joined: Sat May 10, 2008 6:18 pm

Post by lianfu »

gandalf wrote:As the OIDs are only party printed as text, I really don't know which of those you want to graph. Please explain
Reinhard
I want to graph interface statistics.
Builtin 'SNMP Interfaces' data template just give 'OID not found'
So I asked the vendor for thier CORRECT OIDs as above.

I dont know how to 'index' the data souce
or how to create a host template for such device

Thanks!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please find help at the first link of my sig. There's a chapter on creating own SNMP Data Queries
Reinhard
gigibi
Posts: 2
Joined: Mon Sep 22, 2008 10:49 pm

Post by gigibi »

SNMPv2-SMI::enterprises.8837.4.1.3.2.0 = INTEGER: 2163 => Connection
SNMPv2-SMI::enterprises.8837.4.1.3.3.0 = INTEGER: 22 =>CPUload
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.1 = INTEGER: 65133 =>WanLinkHealthDetection Reply(WAN1)
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.8.2 = INTEGER: 2088 =>WanLinkHealthDetection Reply (WAN2)
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.1 = INTEGER: 76053 =>WanLinkHealthDetection Request(WAN1)
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.7.2 = INTEGER: 2982 =>WanLinkHealthDetection Request(WAN2)
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.1 = Counter32: 3479900232 =>WAN1 Outbound Traffic
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.6.2 = Counter32: 4172824089 =>WAN2 Outbound Traffic
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.1 = Counter32: 2796409536 =>WAN1 Inbound Traffic
SNMPv2-SMI::enterprises.8837.4.1.2.1.2.1.5.2 = Counter32: 1615658957 =>WAN2 Inbound Traffic

But My Traffic Graph is Very strange, as Figure
Attachments
untitled.JPG
untitled.JPG (34.23 KiB) Viewed 3948 times
gigibi
Posts: 2
Joined: Mon Sep 22, 2008 10:49 pm

Post by gigibi »

I created Template
Attachments
cacti_host_template_ascenlink.xml
(45.06 KiB) Downloaded 342 times
User avatar
luisanfe
Posts: 2
Joined: Wed Jun 28, 2006 11:32 am
Location: Boecillo
Contact:

Post by luisanfe »

gigibi wrote:I created Template
When I try import the template, cacti show me this error: Error: XML: Hash version does not exist.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests