Re: Graphing Arista Switch Ports

Reza <[email protected]>
Newsgroups gmane.network.cacti.user
Message-ID <CAGnk8VTY2he+Ep5XLOpuYRxEd41M=wwmQR4-c6mKxHYARvfOMg@mail.gmail.com>
Hi Paul,

I did mean too low on the ds[traffic_in/out].max values. I found in the
Data Template "Interface - Traffic" the Maximum Value is set to 100000000.
Since I'm trying to graph 1, 10, and 20 gigabit/sec interfaces that would
make sense why the data wasn't showing up.

Being completely new to Cacti, I think the appropriate area to modify this
value would be in the Data Template "Interface - Traffic" and I would bump
this up to 10000000000.

I realize
rrdtool tune fs1a_traffic_in_94.rrd --maximum
traffic_out.max:1000000000<callto:1000000000>
is the same as 1.0000000000e+09, however when I applied the above line the
graphs started to work. I'm not quite clear why this was the result.

Thanks for your input,
-Reza



On Fri, May 31, 2013 at 4:58 PM, Reza <[email protected]> wrote:

> From reading the article at the link :
> http://forums.cacti.net/about15136.html
>
> I found that the ds[traffic_in/out].max values were set too high.
>
> rrdtool info fs1a_traffic_in_94.rrd  | grep -i max
> ds[traffic_in].max = 1.0000000000e+09
> ds[traffic_out].max = 1.0000000000e+09
>
> I adjusted them with the command :
> # rrdtool tune fs1a_traffic_in_94.rrd --maximum traffic_out.max:1000000000
>
> And now I'm able to see data being graphed from my interfaces.
>
> However, every new graph I make for the Arista devices end up having the
> incorrect max values. It looks like I will need to adjust that value from
> the 'ifSpeed' OID polled for each interface.
>
> Does anyone know what would cause this max value to contain the incorrect
> information, and how would I correct that so I dont have to manually adjust
> the RRD file each time I add a new interface.
>
> Thank you,
>
>
> On Fri, May 31, 2013 at 3:07 PM, Reza <[email protected]> wrote:
>
>> Edit:
>> It looks like I'm getting some information, this is the output from
>> cmd.php
>> 05/31/2013 03:02:34 PM - SYSTEM STATS: Time:0.1884 Method:cmd.php
>> Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:1
>> RRDsProcessed:0
>> 05/31/2013 03:02:35 PM - CMDPHP: Poller[0] Host[9] RECACHE DQ[1] OID:
>> .1.3.6.1.2.1.1.3.0, output: 1660158173
>> 05/31/2013 03:02:35 PM - CMDPHP: Poller[0] Host[9] DS[93] SNMP: v3: ss1a,
>> dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1000045, output: 3560893268
>> 05/31/2013 03:02:35 PM - CMDPHP: Poller[0] Time: 0.0964 s, Theads: N/A,
>> Hosts: 1
>>
>> I did a snmpwalk from one of my linux boxes, and greped for 1000045,
>> which is Port-Channel45 what I'm trying to graph. Here is the output below.
>>
>> grep -i 1000045 /tmp/fs1a.txt
>> IF-MIB::ifIndex.1000045 = INTEGER: 1000045
>> IF-MIB::ifDescr.1000045 = STRING: Port-Channel45
>> IF-MIB::ifType.1000045 = INTEGER: ieee8023adLag(161)
>> IF-MIB::ifMtu.1000045 = INTEGER: 1500
>> IF-MIB::ifSpeed.1000045 = Gauge32: 0
>> IF-MIB::ifPhysAddress.1000045 = STRING: 0:0:0:0:0:0
>> IF-MIB::ifAdminStatus.1000045 = INTEGER: up(1)
>> IF-MIB::ifOperStatus.1000045 = INTEGER: lowerLayerDown(7)
>> IF-MIB::ifLastChange.1000045 = Timeticks: (0) 0:00:00.00
>> IF-MIB::ifInOctets.1000045 = Counter32: 0
>> IF-MIB::ifInUcastPkts.1000045 = Counter32: 0
>> IF-MIB::ifInNUcastPkts.1000045 = Counter32: 0
>> IF-MIB::ifInDiscards.1000045 = Counter32: 0
>> IF-MIB::ifInErrors.1000045 = Counter32: 0
>> IF-MIB::ifInUnknownProtos.1000045 = Counter32: 0
>> IF-MIB::ifOutOctets.1000045 = Counter32: 0
>> IF-MIB::ifOutUcastPkts.1000045 = Counter32: 0
>> IF-MIB::ifOutNUcastPkts.1000045 = Counter32: 0
>> IF-MIB::ifOutDiscards.1000045 = Counter32: 0
>> IF-MIB::ifOutErrors.1000045 = Counter32: 0
>> IF-MIB::ifOutQLen.1000045 = Gauge32: 0
>> IF-MIB::ifSpecific.1000045 = OID: iso.2.840.10006.300.43.1.1
>> SNMPv2-SMI::mib-2.17.1.4.1.2.149 = INTEGER: 1000045
>> IF-MIB::ifName.1000045 = STRING: Port-Channel45
>> IF-MIB::ifInMulticastPkts.1000045 = Counter32: 0
>> IF-MIB::ifInBroadcastPkts.1000045 = Counter32: 0
>> IF-MIB::ifOutMulticastPkts.1000045 = Counter32: 0
>> IF-MIB::ifOutBroadcastPkts.1000045 = Counter32: 0
>> IF-MIB::ifHCInOctets.1000045 = Counter64: 0
>> IF-MIB::ifHCInUcastPkts.1000045 = Counter64: 0
>> IF-MIB::ifHCInMulticastPkts.1000045 = Counter64: 0
>> IF-MIB::ifHCInBroadcastPkts.1000045 = Counter64: 0
>> IF-MIB::ifHCOutOctets.1000045 = Counter64: 0
>> IF-MIB::ifHCOutUcastPkts.1000045 = Counter64: 0
>> IF-MIB::ifHCOutMulticastPkts.1000045 = Counter64: 0
>> IF-MIB::ifHCOutBroadcastPkts.1000045 = Counter64: 0
>> IF-MIB::ifLinkUpDownTrapEnable.1000045 = INTEGER: enabled(1)
>> IF-MIB::ifHighSpeed.1000045 = Gauge32: 0
>> IF-MIB::ifPromiscuousMode.1000045 = INTEGER: false(2)
>> IF-MIB::ifConnectorPresent.1000045 = INTEGER: false(2)
>> IF-MIB::ifAlias.1000045 = STRING:
>> IF-MIB::ifCounterDiscontinuityTime.1000045 = Timeticks: (0) 0:00:00.00
>> IF-MIB::ifStackStatus.0.1000045 = INTEGER: active(1)
>> IF-MIB::ifStackStatus.1000045.0 = INTEGER: active(1)
>> SNMPv2-SMI::mib-2.77.1.1.1.1.0.1000045 = INTEGER: 1
>> SNMPv2-SMI::mib-2.77.1.1.1.1.1000045.0 = INTEGER: 1
>>
>>
>> On Fri, May 31, 2013 at 2:22 PM, Reza <[email protected]> wrote:
>>
>>> Hello Cacti Users,
>>>
>>> I'm a new user to Cacti and I'm running into some difficulty graphing
>>> interfaces off of an Arista switch (model DCS-7050S-52). I have created the
>>> device in Cacti via SNMPv3 and I'm able to see the SNMP data is
>>> successfully queried via the verbose query link under the device section
>>> using the Cisco Route host template. I also tried using the ucd/net snmp
>>> host template without any luck.
>>>
>>> To keep it simple I'm just trying to graph one port currently on the
>>> Arista switch. I took a look at the data source, Port-Channel45, and I can
>>> see its looking for ifSpeed, ifName, and ifDesc as the index type. I
>>> verified with the verbose query that these fields do exist and are
>>> returning data.
>>>
>>> I'm not able to figure out currently why no data is being presented to
>>> the graph. There is a graph image, it is just completely blank.
>>>
>>> Any assistance/guidance on this subject would be greatly appreciated.
>>> Let me know if I need to present additional information.
>>>
>>> Thanks,
>>> -Reza
>>>
>>
>>
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.