Hi Everyone,
I just finished creating a graph for pulling the Current WATTS used from APC PDU's and I was wondering if there was a way to display a total of all WATTS used for the time period I am viewing?
For example if my pdu is using 1902 watts on each consecutive query I pull, is there a way I can total them all up and display that total at the bottom of the graph? I am testing by putting in a Commant with no CDEF and a GPRINT of exact numbers and I have this in my Text Format: "Test Total: |sum:auto:total:9:auto|" and all this does is display the total in MB which is not what I want and reading the docs it appears to me that this sort of display can only be for traffic from the interfaces.
If it can't be done, thats cool, I was just wondering if it could. :-)
MrPepik
Question about displaying a total for a time period
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please see summation at http://docs.cacti.net/manual:087:6_refe ... _variables
R.
R.
-
- Cacti User
- Posts: 234
- Joined: Mon Dec 13, 2004 3:03 pm
mrpepik: Did you ever figure this out? I'm having the same problem. I've read, and re-read the very short description of "Bandwidth Summation" and it really seems to be lacking the information I need to understand if I can apply Summation to data sources other than Interface Traffic. My Summation isn't even working for some reason, all I have is "Total: 0 bytes"
-
- Cacti User
- Posts: 234
- Joined: Mon Dec 13, 2004 3:03 pm
Oh, very interesting. I've never heard of VDEFs before, but they seem very useful.
In the meantime, I did a bit more reading and found out that my main problem was that I had a single Data Template for multiple graphs - some of the items weren't used and thus I had NaN's in the RRDs, which apparently messed up the summation. I created separate data templates for each graph and now the summation is working correctly.
In the meantime, I did a bit more reading and found out that my main problem was that I had a single Data Template for multiple graphs - some of the items weren't used and thus I had NaN's in the RRDs, which apparently messed up the summation. I created separate data templates for each graph and now the summation is working correctly.
Who is online
Users browsing this forum: No registered users and 1 guest