Hi all,
Need some help in getting a rather kick ass NetApp Template I found to output MB instead of KB in the legend portion of the graph. Please see attached screenshot for an illustration of what I am talking about.
The template I am using is this one:
http://www.elifulkerson.com/projects/ne ... mplate.php
Cacti Version is: 0.8.7g
I have tried using a CDEF in the data source attached to the graph template but to no avail. The graph image will change but not the numbers outputted beneath the graph. There is also an option in the data source to change from "Exact Numbers" to "Gigabytes" but that doesn't have any affect either.
What is the best course of action here?
Thanks much,
jg
Changing KiloBytes to MegaBytes in NetApp Filer Template
Moderators: Developers, Moderators
Changing KiloBytes to MegaBytes in NetApp Filer Template
- Attachments
-
- NA Filer showing two volumes. Y axis is outputting MB. Would like the portion below the graph to output MB as well.
- NA-Filer-KB.JPG (106.48 KiB) Viewed 6094 times
-
- Posts: 2
- Joined: Wed Apr 13, 2011 11:25 am
Re: Changing KiloBytes to MegaBytes in NetApp Filer Template
Hi,
Use cdef (graph management > cdef>add) cdef=CURRENT_DATA_SOURCE,1048576,/
Once you created cdef then use this cdef on specific graph templates (Console -> Graph Templates -> (Edit) -> Graph Template Items ) cdef function.
Thanks
Amber
Use cdef (graph management > cdef>add) cdef=CURRENT_DATA_SOURCE,1048576,/
Once you created cdef then use this cdef on specific graph templates (Console -> Graph Templates -> (Edit) -> Graph Template Items ) cdef function.
Thanks
Amber
-
- Posts: 1
- Joined: Mon Sep 12, 2011 4:26 am
Re: Changing KiloBytes to MegaBytes in NetApp Filer Template
Go to [Graph Templates]->[Netapp - Volume - kByte Usage] and change [Base Value] to 1024
After that, change each GPRINT item (#2, 3, 4, 6, 7, 8, 10, 11, and 12) as shown below:
[CDEF Function]: Multiply by 1024
[GPRINT Type]: Normal
I'm currently working on extending Eli's Templates to my needs. I will post back here if I have something that's worth being released
Re: Changing KiloBytes to MegaBytes in NetApp Filer Template
Hello,
The conversion works, but I've still a problem with Y axis : when i want a "G", it's a "M", and when I want a "T", it's a "G"
Another point, the volume name is troncated, any solution to retrieve the full name ?
[edit : ok i have found for troncated name]
The conversion works, but I've still a problem with Y axis : when i want a "G", it's a "M", and when I want a "T", it's a "G"
Another point, the volume name is troncated, any solution to retrieve the full name ?
[edit : ok i have found for troncated name]
- Attachments
-
- 2015-01-08 15_11_25-Cacti - Realtime.png (19.38 KiB) Viewed 3985 times
-
- 2015-01-08 15_12_23-Cacti - Realtime.png (17.68 KiB) Viewed 3985 times
Who is online
Users browsing this forum: No registered users and 0 guests