Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jun 17, 2019 2:01 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Template for traffic on interface.vlan on HUAWEI router
PostPosted: Sat Mar 09, 2019 11:03 am 
Offline

Joined: Sat Mar 09, 2019 10:48 am
Posts: 5
Hello, sorry I am very new in cacti. I have a router HUAWEI NE40E-X16 in cacti with some traffic interfaces monitored ok, but when these interfaces are vlan interfaces the traffic graphs don´t work right. For instance:
Eth-Trunk12 works fine (traffic on interface)
Eth-Trunk12.6 does not work fine (traffic on Vlan ID 6)
Eth-Trunk12.7 does not work fine (traffic on Vlan ID 7)
I guess the problem is all of them are using a interface traffic template and I should import the proper template for the ones with vlanId. Could you help me with it? I searched on the forum but I wasn´t able to find the solution (probably my fault). Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Template for traffic on interface.vlan on HUAWEI router
PostPosted: Sat Mar 09, 2019 11:31 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
Many devices do NOT give out stats for sub interfaces, Cisco's are one such product known to give that warning. I'm not sure about HUAWEI but that is likely to be the same. Only the physical interfaces tend to have the full stats.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Template for traffic on interface.vlan on HUAWEI router
PostPosted: Sat Mar 09, 2019 11:39 am 
Offline

Joined: Sat Mar 09, 2019 10:48 am
Posts: 5
Firstly, Thanks for the quick reply.
Are you sure? I have been told by some IP colleagues that it is indeed posible, but there is something that must be done with the template, that is why I was asking.
Regards


Top
 Profile  
 
 Post subject: Re: Template for traffic on interface.vlan on HUAWEI router
PostPosted: Sat Mar 09, 2019 12:43 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
Best way to be sure, check out the OID's for those sub interfaces, do they give a value or not?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Template for traffic on interface.vlan on HUAWEI router
PostPosted: Sat Mar 09, 2019 12:57 pm 
Offline

Joined: Sat Mar 09, 2019 10:48 am
Posts: 5
Sorry, I am not sure how to do it, I am a beginner on this issues... :-(


Top
 Profile  
 
 Post subject: Re: Template for traffic on interface.vlan on HUAWEI router
PostPosted: Sun Mar 10, 2019 7:52 am 
Offline

Joined: Sat Mar 09, 2019 10:48 am
Posts: 5
i managed to check it, and indeed it should be possible as the value is returned:

snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.160
IF-MIB::ifName.160 = STRING: Eth-Trunk50
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.161
IF-MIB::ifName.161 = STRING: Eth-Trunk50.650
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.31.1.1.1.1.163
IF-MIB::ifName.163 = STRING: Eth-Trunk50.651


snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.160
IF-MIB::ifInOctets.160 = Counter32: 2170823636
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.161
IF-MIB::ifInOctets.161 = Counter32: 19843097
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.10.163
IF-MIB::ifInOctets.163 = Counter32: 17499219

snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.160
IF-MIB::ifOutOctets.160 = Counter32: 1813395372
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.161
IF-MIB::ifOutOctets.161 = Counter32: 97925622
snmpwalk -v 2c -c xxxxx IP .1.3.6.1.2.1.2.2.1.16.163
IF-MIB::ifOutOctets.163 = Counter32: 9949194


Top
 Profile  
 
 Post subject: Re: Template for traffic on interface.vlan on HUAWEI router
PostPosted: Sun Mar 17, 2019 5:26 am 
Offline

Joined: Sat Mar 09, 2019 10:48 am
Posts: 5
For the records, I managed to solve the issue. I was not related with cacti but also the subinterface configuration, it was neccesary to apply the "statistics enable" command to get the right ones.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Google Adsense [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group