A performance template is essentially a wrapper around reading and manipulating the data from RRD database files. The template has the same constraints as RRD. An example of a constraint is that if you decide that you wish to change the collection frequency, or perform some function on returned data and store that computed value into the RRD file, you need to remove the old RRD file and create a new one.
To create our new performance template, go to the AIX device class organizer and select More > All Templates. This will take you to a screen which shows you the performance templates. From the menu, select Add Template and provide an ID of Filesystem (yes, there should already be one there, but from the
Click on the newly created performance template and add in a nice description. Then, click in the usedBlocks data source. If your operating system's MIB provides a usedBlocks (or something named like that) value, then select a type of SNMP. Otherwise, you need to create a script to take the total size of the filesystem (ie totalBlocks) and subtract the freeBlocks value. Unfortunately, AIX only provides freeBlocks, so we needed to create a command like we did in the earlier section.menu and select to create the special
Defining a threshold on a data point does two things: it can be used to define a line on a graph showing the threshold value and it can create an event when the threshold is passed and cleared. In this example for Filesystem, we could create a threshold that would alert us when we've gone past 95% utilization on a filesystem.
From the device class (ie
/Devices/Server/AIX), click on the Templates tab. Click on the template and go to the sub-menu. From that sub-menu, choose . You will be prompted for the name of your new graph. Add the datapoints of interest to create a graph and then click on the 'save' button at the bottom of the screen. Note that if you're interested in doing something more complicated than just adding data points, then you need to start browsing the RRDtool site.