How Cisco NBAR count BYTES AND PACKETS?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
dogfart
Posts: 13
Joined: Fri Jul 29, 2005 4:32 am

How Cisco NBAR count BYTES AND PACKETS?

Post by dogfart »

HI! Here is the NBAR output from router.

FastEthernet0/0
Input Output
Protocol Packet Count Packet Count
Byte Count Byte Count
5 minute bit rate (bps) 5 minute bit rate (bps)
------------------------ ------------------------ ------------------------
sqlnet 59080821 55860631
10235036017 7254567648
21000 0
secure-http 5637890 4236744
2988891546 762505245
13000 0
http 13620327 9259199
16792438344 925834104
7000 0

For byte count for http there is In 16792438344
and Out 925834104.

When I use bytes/inout data template I get the Outbound 0.0 all the time?

How does it calculate bytes and graph it ????????????

Regards
Dogfart
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

I think that the NBAR data template is broken : check "Maximum Value" for <i>nbar_bytesout</i>.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
dogfart
Posts: 13
Joined: Fri Jul 29, 2005 4:32 am

Nbar bytesout Max value is 100

Post by dogfart »

Hi!

Nbar bytesout Max value is 100

What should i put here

the bytesin Max is 0 ?

What is the value that I shold use?

THANKS
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

The best way would be to choose the theorical maximum value of the interface you're graphing. You can always choose '100000000' for 100 mbps if you don't know it.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
dogfart
Posts: 13
Joined: Fri Jul 29, 2005 4:32 am

Nothing changed

Post by dogfart »

I done that i put the maximum on bytein and byteout and nothing happened.Do I need to reload something or recreate graph ?


THANKS!!!
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

You need to use <i>rrdtool tune file.rrd -a nbar_bytesin:100000000</i>, or delete the .rrd files (they'll be recreated with the correct maximum values).
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
dogfart
Posts: 13
Joined: Fri Jul 29, 2005 4:32 am

Done that but still dont have outgoing

Post by dogfart »

Hi I done that i put 1mb for maximum on in and out traffic. recereate rrds but still have just inbound.


Is there any other tunning for this ?


THANKS FOR RESPONSE!!!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests