No the real value!

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

Moderators: Developers, Moderators

Post Reply
bloodrayne
Cacti User
Posts: 53
Joined: Mon Nov 29, 2004 11:43 am

No the real value!

Post by bloodrayne »

Hi guys,

i finally figured out how to add a line for FCS errors on my actual graph,

but the problem for the moment is that the value is always at "0" but if i do a "sh interface counter errors" i see 84 FCS errors.

If i take the OID polled by Cacti from Poller cache, and i make a snmpwalk from the commandline...i have 84 as output!!!!

But on my graph, it's always at "0"

What can make that to happen?

For your information, there's no more FCS errors, theses 84 FCS errors happened some months ago, and we didnt clear the interface counters just to make Cacti work with FCS...so it's our test interface for FCS...

Thanks for your appreciate help!


EDIT: Here the debug line:

Code: Select all

01/06/2006 12:56:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/newcacti/rra/xxx_xxx_xxx_x_traffic_in_10.rrd --template traffic_in:traffic_out:fcs_errors 1136570203:43545353:266213037:84
So you can see that the poll take the 84...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Suppose you have defined this value as a COUNTER. This definition will store only _differences_ to the previous value (e.g. as needed for ifInOctets). So if the value sticks to 84 on each polling cycle, there's no increase in FCS errors, so 0 is graphed
Reinhard
bloodrayne
Cacti User
Posts: 53
Joined: Mon Nov 29, 2004 11:43 am

Post by bloodrayne »

Thanks you so much,

Have a nice day!
bloodrayne
Cacti User
Posts: 53
Joined: Mon Nov 29, 2004 11:43 am

Post by bloodrayne »

Hi tried with GAUGE...

and a have the same "0" value!!!!

Here 2 printscreen!
Attachments
The output for the graph and is debug!
The output for the graph and is debug!
graph_debug.JPG (88.94 KiB) Viewed 1702 times
I added a DS into the Traffic Data Templates!!!
I added a DS into the Traffic Data Templates!!!
data_source_item.JPG (40.32 KiB) Viewed 1702 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Unless you "tuned" or deleted the rrd file associated with that graph, the type did not change in the RRDtool file.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

bloodrayne wrote:Hi tried with GAUGE...

and a have the same "0" value!!!!

Here 2 printscreen!
You simply changed the data template? This does _not_ change the settings of the existing rrd file! You'll have to run rrdtool tune (to keep existing readings) or to create a new one.
Reinhard
bloodrayne
Cacti User
Posts: 53
Joined: Mon Nov 29, 2004 11:43 am

Post by bloodrayne »

Ok, at the moment i'm in testing phase, so i just deleted them and recreate them...

Now i see a little Orange Line...and it's fine!

I want to know which configuration for my graph template will be the best if i want to see a line that follow the LAST poll!

Cause i put LAST on the CF Type for my LINE2 Graph Item Type, and it tolds me that:

Code: Select all

ERROR: the RRD does not contain an RRA matching the chosen CF

If i put MAX it put a little Orange Line after nothing...

It's not really tough, i just want a line that follow the LAST poll...

Is this possible?
bloodrayne
Cacti User
Posts: 53
Joined: Mon Nov 29, 2004 11:43 am

Post by bloodrayne »

Hi guys,

it's me AGAIN ;)

I want to apply my NEWLY created Graph Template but look at the Screenshot named NONE!!!

The fields "Graph Item Fields" are BLANK...

If i switch to a Cacti Template, look at the Screenshot named OK!!!

The fields "Graph Item Fields" are auto-fill with the correct information!!

How can i make that with my own graph template?

Thanks again!
Attachments
NONE
NONE
none.JPG (60.05 KiB) Viewed 1651 times
OK
OK
ok.JPG (107.3 KiB) Viewed 1651 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest