wierd cisco eth traffic reporting

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

Moderators: Developers, Moderators

Post Reply
GRRRR

wierd cisco eth traffic reporting

Post by GRRRR »

:evil:
I am trying to use cacti to report traffic on my cisco router eth interfaces
and no matter what I do I get a strange output. Everything looks like it's working fine but instead of reporting the 2.5 or 3 Mbits that I know is actually going through the interfaces it reports 400-500Kbit
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

If you just monitor in/out counter then you get traffic in bytes per second. You need to use "Turn Bytes into Bits" CDEF function in your graph item definition to have bits per second presented on the graph. (I am guessing because 400 kByes = 8*400 kBits = 2.8 Mbits).

- bulek
GRRRR

I can't find an option like that

Post by GRRRR »

I don't see an option line "convert bits to bytes" in any of the menus :evil:
Flux
Posts: 39
Joined: Fri Nov 01, 2002 12:37 pm

Post by Flux »

Try this...

1) Log into Cacti as admin
2) Go to the "Console" tab
3) Under "Graph Setup", select "Graphs"
4) Select "Edit Graph Items" from one of your "Current Active rrdtool Graphs" that you want to convert the data from bytes to bits
5) Select a "Graph Item"
6) Scroll down until you see "CDEF Function"
7) Select "Turn Bytes into Bits" from the pull down menu
8.) Click the save button at the bottom of the screen
9) Go and check your graphs to see if it worked

You might want to repeat steps 5 through 8 for all of you graph items.

Flux :o
rastoma

Post by rastoma »

is there a way to do this for all graphs at once? i have over 90 switch ports i'm monitoring and it's going to be a hassle to convert each one manually.
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

There is a script that makes the task more easy to do:
http://www.raxnet.net/board/viewtopic.php?t=444

- bulek
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest