Cannot graph a simple OID Value.

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

Moderators: Developers, Moderators

Post Reply
monchito
Posts: 4
Joined: Thu Oct 06, 2016 1:40 pm

Cannot graph a simple OID Value.

Post by monchito »


Introduction:


I want to graph for example "traffic use" for Wifi-out Ubiquiti. I can't use sucessfully these templates:

http://community.ubnt.com/t5/airFiber-B ... 68939#M896

http://community.ubnt.com/t5/airFiber/M ... 5859#M9151

So i want to graph a simple OID value.

Device:

- Ubiquiti Air Fiber 5 (Firmware:AF02.v3.2)
- MIB for these device: http://dl.ubnt.com/firmwares/airfiber/v2.2/UBNT-MIB.txt

Procedure to graph:

- Console -> Device -> Add -> Create
(Add device host without device template, snmpv1)

- Create Graph for this Host -> Graph Template (SNMP Generic OID Template) -> Create

- Create graph
Image
(image 1)

- OID to graph : .1.3.6.1.4.1.41112.1.3.3.1.66 (also try with:.1.3.6.1.4.1.41112.1.3.2.1.38)

Basic troubleshoot:

- Get this error: "RRDTool Says: ERROR: the only sensible value for base apart from 1000 is 1024"

- So, change "SNMP Generic OID Template",

Code: Select all

 --base=100 to --base=1024
- But no get any value on the graph

Image
(image 2)

- Try with snmpwalk:

Code: Select all

	[root@server /]# snmpwalk -v1 -c comunity 10.10.10.1 .1.3.6.1.4.1.41112.1.3.3.1.66

	get this value: SNMPv2-SMI::enterprises.41112.1.3.3.1.66.1 = Counter64: 55327366671
- See cacti.log

Code: Select all

         [root@server /]# less /var/www/html/log/cacti.log | grep 10.10.10.1
         10/17/2016 02:14:06 PM - SPINE: Poller[0] Host[344] TH[1] DS[2049] SNMP: v1: 10.10.10.1, dsname: snmp_oid, oid: .1.3.6.1.4.1.41112.1.3.3.1.66, [b]value: U[/b]
Any idea to graph a ubiquiti OID?

Thanks!
monchito
Posts: 4
Joined: Thu Oct 06, 2016 1:40 pm

Re: Cannot graph a simple OID Value. (Solved by walkaround)

Post by monchito »

For 3 posts in Cacti forums nobody reply anything. Anyway, i solve the problem using scripts:

Here is a good example:

http://serverfault.com/questions/692387 ... ng-scripts
bfeole
Posts: 3
Joined: Mon Oct 31, 2016 8:39 am

Re: Cannot graph a simple OID Value.

Post by bfeole »

monchito wrote:For 3 posts in Cacti forums nobody reply anything. Anyway, i solve the problem using scripts:

Here is a good example:

http://serverfault.com/questions/692387 ... ng-scripts
What'd you do?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest