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 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
(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
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]
Thanks!