I created a few new templates to get data from some Cisco gear, and I'm having the same problem on both sets of data. The graph scale and the numbers reported in the GPRINT section are corect, but they are shown in "millions" when they should just be in "hundreds".
i.e. the attached graph shows 441.86m for `Peer in Mesages` when it should just be 441.86
I spent some time digging through the forums and the documentation, but couldn't find anything specific to this type of thing. I thought it might have something to do with the `Unit Exponent Value`, but that appears to only affect the y-axis.
Thanks.
Graph Scale and Consolidation Numbers Off
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Mon Mar 21, 2005 8:46 pm
- Location: TX, USA
Graph Scale and Consolidation Numbers Off
- Attachments
-
- Graph
- Graph.png (10.77 KiB) Viewed 1912 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Check out: http://forums.cacti.net/viewtopic.php?t=8168
[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]
[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]
-
- Posts: 6
- Joined: Mon Mar 21, 2005 8:46 pm
- Location: TX, USA
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Is it possible that you're talking about a GAUGE value instead of a COUNTER one? GAUGEs represent absolute values, e.g. the number of messages seen in the last 300 sec. Whereas COUNTER would be something like number of messages since reboot (that is: this number always increases).
And rrdtool "normalizes" the data to a second. That is, if you got 6 messages in 300 sec this is equal to 0,02 messages in a second (or: 20 m messages in a second).
You may create a CDEF like "CURRENT_DATA_SOURCE,300,* to have it again normalized to "a 5 min interval" or a CDEF like "CURRENT_DATA_SOURCE,60,*" to have it normalized to a minute.
Reinhard
And rrdtool "normalizes" the data to a second. That is, if you got 6 messages in 300 sec this is equal to 0,02 messages in a second (or: 20 m messages in a second).
You may create a CDEF like "CURRENT_DATA_SOURCE,300,* to have it again normalized to "a 5 min interval" or a CDEF like "CURRENT_DATA_SOURCE,60,*" to have it normalized to a minute.
Reinhard
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
If you not like it to normalize the values, you can use the CDEF "Make Every 5 Minutes" to show you the value that was taken at polling. This is the action I would suggest.
[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]
[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]
-
- Posts: 6
- Joined: Mon Mar 21, 2005 8:46 pm
- Location: TX, USA
No, they're all counters. In this specific instance: Total Incoming BGP Messages, Total Outgoing BGP Messages, Total Incoming BGP Updates and Total Outgoing BGP Updates. Per peer.lvm wrote:Is it possible that you're talking about a GAUGE value instead of a COUNTER one?
I set this on the Graph Item Templates for this Graph Template. It looks to have cleared up the issue. I'll let it run for another 24-48 hours and see how it does. I guess I just assumed it would start out "dumb" (i.e. just reporting the integer returned from SNMP), and that I would not have to do any CDEF functions. But we all know what assumption is...rony wrote:If you not like it to normalize the values, you can use the CDEF "Make Every 5 Minutes" to show you the value that was taken at polling. This is the action I would suggest.
Thanks rony.
-
- Posts: 6
- Joined: Sun Jun 12, 2005 8:47 am
Graph Scale and Consolidation Numbers Off
can share BGP templates
Thanking You,
Nilesh
Thanking You,
Nilesh
Who is online
Users browsing this forum: No registered users and 2 guests