# This file defines how RRD graphs are generated by the showgraph CGI.
#
# Each section begins with a "[SERVICE]" indicator - this is the name passed
# to showgraph.cgi?host=foo&service=SERVICE
#
# A graph has a TITLE and a YAXIS setting - these are texts shown as the
# title of the graph, and the YAXIS heading respectively. (The X-axis is
# always time-based).
#
# If a fixed set of RRD files are used for the graph, you just write those
# in the RRDtool definitions. 
#
# For graphs that use multiple RRD files as input, you specify a filename
# pattern in the FNPATTERN statement, and optionally a pattern of files
# to exclude from the graph with EXFNPATTERN (see "[tcp]" for an example).
# When FNPATTERN is used, you can use "@RRDFN@" in the RRDtool definitions
# to pick up each filename. "@RRDIDX@" is an index (starting at 0) for each
# file in the set. "@RRDPARAM@" contains the first word extracted from the
# pattern of files (see e.g. "[memory]" how this is used). "@COLOR@" picks
# a new color for each graph automatically.
#
# The "foo-multi" graph definitions are used by the "Metrics report"
# utility. The have an FNPATTERN definition, but in this case you can NOT
# use a regular expression pattern. The FNPATTERN definition for multi-
# graphs must be the exact filename of the RRD file to pull data from.
#
# The remainder of the lines in each definition are passed directly to the
# RRDtool rrd_graph() routine.
#
# Most of these RRD definitions are from the larrd-grapher.cgi from LARRD 0.43c.

[la]
	TITLE CPU Load
	YAXIS Load
	DEF:avg=la.rrd:la:AVERAGE
	CDEF:la=avg,100,/
	AREA:la#00CC00:CPU Load Average
	-u 1.0
	GPRINT:la:LAST: \: %5.1lf (cur)
	GPRINT:la:MAX: \: %5.1lf (max)
	GPRINT:la:MIN: \: %5.1lf (min)
	GPRINT:la:AVERAGE: \: %5.1lf (avg)\n

[la-multi]
	TITLE Multi-host CPU Load
	YAXIS Load
	FNPATTERN la.rrd
	DEF:avg@RRDIDX@=@RRDFN@:la:AVERAGE
	CDEF:la@RRDIDX@=avg@RRDIDX@,100,/
	LINE2:la@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 1.0
	GPRINT:la@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:la@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:la@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:la@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[la1]
	TITLE CPU Utilitization
	YAXIS % Used
	-u 100
	-r
	DEF:cpu_idl=vmstat.rrd:cpu_idl:AVERAGE
	CDEF:pbusy=100,cpu_idl,-
	LINE2:pbusy#00CC00:% CPU busy
	GPRINT:pbusy:LAST: \: %5.1lf (cur)
	GPRINT:pbusy:MAX: \: %5.1lf (max)
	GPRINT:pbusy:MIN: \: %5.1lf (min)
	GPRINT:pbusy:AVERAGE: \: %5.1lf (avg)\n

[la1-multi]
	TITLE Multi-host CPU Utilitization
	YAXIS % Used
	FNPATTERN vmstat.rrd
	-u 100
	-r
	DEF:cpu_idl@RRDIDX@=@RRDFN@:cpu_idl:AVERAGE
	CDEF:pbusy@RRDIDX@=100,cpu_idl@RRDIDX@,-
	LINE2:pbusy@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:pbusy@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:pbusy@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:pbusy@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:pbusy@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[clock]
	TITLE Clock offset
	YAXIS Seconds
	DEF:offset=clock.rrd:la:AVERAGE
	LINE2:offset#00CC00:Seconds
	GPRINT:offset:LAST: \: %5.1lf (cur)
	GPRINT:offset:MAX: \: %5.1lf (max)
	GPRINT:offset:MIN: \: %5.1lf (min)
	GPRINT:offset:AVERAGE: \: %5.1lf (avg)\n

[disk]
	FNPATTERN ^disk(.*).rrd
	TITLE Disk Utilization
	YAXIS % Full
	DEF:p@RRDIDX@=@RRDFN@:pct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[disk1]
	FNPATTERN ^disk(.*).rrd
	TITLE Disk Utilization
	YAXIS Used
	DEF:p@RRDIDX@=@RRDFN@:used:AVERAGE
	CDEF:p@RRDIDX@t=p@RRDIDX@,1024,*
	LINE2:p@RRDIDX@t#@COLOR@:@RRDPARAM@
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf KB (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf KB (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf KB (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf KB (avg)\n

# The qtree graphs are based on the qtree report from filerstats2bb.pl
# These handle NetApp storage devices.
[qtree]
	FNPATTERN ^qtree(.+).rrd
	TITLE Qtree Utilization
	YAXIS % Full
	DEF:p@RRDIDX@=@RRDFN@:pct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

# The qtree graphs are based on the inode report from filerstats2bb.pl
# These handle NetApp storage devices
# An enhanced disk script that just runs "df -i" could probably get the
# same data.
[inode]
	FNPATTERN ^inode(.+).rrd
	TITLE inode Utilization
	YAXIS % Full
	DEF:p@RRDIDX@=@RRDFN@:pct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[memory]
	FNPATTERN ^memory.(.+).rrd
	TITLE Memory Utilization
	YAXIS % Used
	DEF:p@RRDIDX@=@RRDFN@:realmempct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-b 1024
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[ram]
	TITLE RAM Utilization
	YAXIS % Used
	DEF:p=memory.real.rrd:realmempct:AVERAGE
	LINE2:p#0000FF:% RAM used
	-u 100
	-b 1024
	GPRINT:p:LAST: \: %5.1lf (cur)
	GPRINT:p:MAX: \: %5.1lf (max)
	GPRINT:p:MIN: \: %5.1lf (min)
	GPRINT:p:AVERAGE: \: %5.1lf (avg)\n

[ram-multi]
	TITLE Multi-host RAM Utilization
	FNPATTERN memory.real.rrd
	YAXIS % Used
	DEF:p@RRDIDX@=@RRDFN@:realmempct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-b 1024
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[swap]
	TITLE Swap Utilization
	YAXIS % Used
	DEF:p=memory.swap.rrd:realmempct:AVERAGE
	LINE2:p#0000FF:% Swap used
	-u 100
	-b 1024
	GPRINT:p:LAST: \: %5.1lf (cur)
	GPRINT:p:MAX: \: %5.1lf (max)
	GPRINT:p:MIN: \: %5.1lf (min)
	GPRINT:p:AVERAGE: \: %5.1lf (avg)\n

[swap-multi]
	TITLE Multi-host Swap Utilization
	FNPATTERN memory.swap.rrd
	YAXIS % Used
	DEF:p@RRDIDX@=@RRDFN@:realmempct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-b 1024
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[mem]
	TITLE Actual Memory Utilization
	YAXIS % Used
	DEF:p=memory.actual.rrd:realmempct:AVERAGE
	LINE2:p#0000FF:% Actual memory used
	-u 100
	-b 1024
	GPRINT:p:LAST: \: %5.1lf (cur)
	GPRINT:p:MAX: \: %5.1lf (max)
	GPRINT:p:MIN: \: %5.1lf (min)
	GPRINT:p:AVERAGE: \: %5.1lf (avg)\n

[mem-multi]
	TITLE Multi-host Actual Memory Utilization
	FNPATTERN memory.actual.rrd
	YAXIS % Used
	DEF:p@RRDIDX@=@RRDFN@:realmempct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-b 1024
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[users]
	TITLE Users and Processes
	YAXIS #
	DEF:p=procs.rrd:la:AVERAGE
	DEF:u=users.rrd:la:AVERAGE
	AREA:p#00CC00:Processes
	LINE1:u#000099:Users
	COMMENT:\n
	GPRINT:p:LAST:Processes   \: %5.1lf%s (cur)
	GPRINT:p:MAX: \: %5.1lf%s (max)
	GPRINT:p:MIN: \: %5.1lf%s (min)
	GPRINT:p:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:u:LAST:Users       \: %5.1lf%s (cur)
	GPRINT:u:MAX: \: %5.1lf%s (max)
	GPRINT:u:MIN: \: %5.1lf%s (min)
	GPRINT:u:AVERAGE: \: %5.1lf%s (avg)\n

[users-multi]
	TITLE Multi-host users
	FNPATTERN users.rrd
	YAXIS #
	DEF:u@RRDIDX@=@RRDFN@:la:AVERAGE
	LINE2:u@RRDIDX@#@COLOR@:@RRDPARAM@
	COMMENT:\n
	GPRINT:u@RRDIDX@:LAST:Users       \: %5.1lf%s (cur)
	GPRINT:u@RRDIDX@:MAX: \: %5.1lf%s (max)
	GPRINT:u@RRDIDX@:MIN: \: %5.1lf%s (min)
	GPRINT:u@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

[tcp]
	# TCP tests - include all, except the HTTP tests as they tend to have
	# much longer response times than the normal tcp tests.
	FNPATTERN ^tcp.(.+).rrd
	EXFNPATTERN ^tcp.http.(.+).rrd
	TITLE TCP Connection Times
	YAXIS Seconds
	DEF:p@RRDIDX@=@RRDFN@:sec:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf%s (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf%s (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf%s (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

[http]
	FNPATTERN ^tcp.http.(.+).rrd
	TITLE HTTP Response Times
	YAXIS Seconds
	DEF:p@RRDIDX@=@RRDFN@:sec:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf%s (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf%s (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf%s (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

[conn-multi]
	FNPATTERN tcp.conn.rrd
	TITLE PING Round-trip time
	YAXIS Seconds
	DEF:p@RRDIDX@=@RRDFN@:sec:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf%s (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf%s (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf%s (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

[ntpstat]
	TITLE NTP accuracy
	YAXIS Offset (ms)
	DEF:u=ntpstat.rrd:offsetms:AVERAGE
	LINE2:u#FF0000:Offset (ms)
	COMMENT:\n
	GPRINT:u:LAST: \: %5.2lf ms (cur)\n
	GPRINT:u:MAX: \: %5.2lf ms (max)\n
	GPRINT:u:MIN: \: %5.2lf ms (min)\n
	GPRINT:u:AVERAGE: \: %5.2lf ms (avg)\n

[vmstat]
	TITLE CPU Utilization
	YAXIS % Load
	-u 100
	-r
	DEF:cpu_idl=vmstat.rrd:cpu_idl:AVERAGE
	DEF:cpu_usr=vmstat.rrd:cpu_usr:AVERAGE
	DEF:cpu_sys=vmstat.rrd:cpu_sys:AVERAGE
	AREA:cpu_sys#FF0000:System
	STACK:cpu_usr#FFFF00:User
	STACK:cpu_idl#00FF00:Idle
	COMMENT:\n
	GPRINT:cpu_sys:LAST:System  \: %5.1lf (cur)
	GPRINT:cpu_sys:MAX: \: %5.1lf (max)
	GPRINT:cpu_sys:MIN: \: %5.1lf (min)
	GPRINT:cpu_sys:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:cpu_usr:LAST:User    \: %5.1lf (cur)
	GPRINT:cpu_usr:MAX: \: %5.1lf (max)
	GPRINT:cpu_usr:MIN: \: %5.1lf (min)
	GPRINT:cpu_usr:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:cpu_idl:LAST:Idle    \: %5.1lf (cur)
	GPRINT:cpu_idl:MAX: \: %5.1lf (max)
	GPRINT:cpu_idl:MIN: \: %5.1lf (min)
	GPRINT:cpu_idl:AVERAGE: \: %5.1lf (avg)\n

[vmstat1]
	TITLE CPU Utilization
	YAXIS % Load
	-u 100
	-r
	DEF:cpu_idl=vmstat.rrd:cpu_idl:AVERAGE
	DEF:cpu_usr=vmstat.rrd:cpu_usr:AVERAGE
	DEF:cpu_sys=vmstat.rrd:cpu_sys:AVERAGE
	DEF:cpu_wait=vmstat.rrd:cpu_wait:AVERAGE
	AREA:cpu_sys#FF0000:System
	STACK:cpu_wait#774400:I/O wait
	STACK:cpu_usr#FFFF00:User
	STACK:cpu_idl#00FF00:Idle
	COMMENT:\n
	GPRINT:cpu_sys:LAST:System  \: %5.1lf (cur)
	GPRINT:cpu_sys:MAX: \: %5.1lf (max)
	GPRINT:cpu_sys:MIN: \: %5.1lf (min)
	GPRINT:cpu_sys:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:cpu_wait:LAST:I/O Wait\: %5.1lf (cur)
	GPRINT:cpu_wait:MAX: \: %5.1lf (max)
	GPRINT:cpu_wait:MIN: \: %5.1lf (min)
	GPRINT:cpu_wait:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:cpu_usr:LAST:User    \: %5.1lf (cur)
	GPRINT:cpu_usr:MAX: \: %5.1lf (max)
	GPRINT:cpu_usr:MIN: \: %5.1lf (min)
	GPRINT:cpu_usr:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:cpu_idl:LAST:Idle    \: %5.1lf (cur)
	GPRINT:cpu_idl:MAX: \: %5.1lf (max)
	GPRINT:cpu_idl:MIN: \: %5.1lf (min)
	GPRINT:cpu_idl:AVERAGE: \: %5.1lf (avg)\n

[vmstat2]
	TITLE CPU Utilization
	YAXIS % Load
	-u 1.0
	DEF:avg=la.rrd:la:AVERAGE
	CDEF:la=avg,100,/
	DEF:cpu_idl=vmstat.rrd:cpu_idl:AVERAGE
	CDEF:cpu_idl2=cpu_idl,100,/
	DEF:cpu_usr=vmstat.rrd:cpu_usr:AVERAGE
	CDEF:cpu_usr2=cpu_usr,100,/
	DEF:cpu_sys=vmstat.rrd:cpu_sys:AVERAGE
	CDEF:cpu_sys2=cpu_sys,100,/
	AREA:cpu_sys2#FF0000:System
	STACK:cpu_usr2#FFFF00:User
	STACK:cpu_idl2#00FF00:Idle
	LINE1:la#000099:CPU Load Average
	COMMENT:\n
	GPRINT:cpu_sys2:LAST:System           \: %5.1lf (cur)
	GPRINT:cpu_sys2:MAX: \: %5.1lf (max)
	GPRINT:cpu_sys2:MIN: \: %5.1lf (min)
	GPRINT:cpu_sys2:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:cpu_usr2:LAST:User             \: %5.1lf (cur)
	GPRINT:cpu_usr2:MAX: \: %5.1lf (max)
	GPRINT:cpu_usr2:MIN: \: %5.1lf (min)
	GPRINT:cpu_usr2:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:cpu_idl2:LAST:Idle             \: %5.1lf (cur)
	GPRINT:cpu_idl2:MAX: \: %5.1lf (max)
	GPRINT:cpu_idl2:MIN: \: %5.1lf (min)
	GPRINT:cpu_idl2:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:la:LAST:CPU Load Average \: %5.1lf (cur)
	GPRINT:la:MAX: \: %5.1lf (max)
	GPRINT:la:MIN: \: %5.1lf (min)
	GPRINT:la:AVERAGE: \: %5.1lf (avg)\n

[vmstat3]
	TITLE Interrupts and Context Switches
	YAXIS Average Events/sec
	DEF:int=vmstat.rrd:cpu_int:AVERAGE
	DEF:csw=vmstat.rrd:cpu_csw:AVERAGE
	LINE2:int#0000ff:Interrupts
	LINE2:csw#00FF00:Context Switches
	COMMENT:\n
	GPRINT:int:LAST:Interrupts        \: %5.1lf%s (cur)
	GPRINT:int:MAX: \: %5.1lf%s (max)
	GPRINT:int:MIN: \: %5.1lf%s (min)
	GPRINT:int:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:csw:LAST:Context Switches  \: %5.1lf%s (cur)
	GPRINT:csw:MAX: \: %5.1lf%s (max)
	GPRINT:csw:MIN: \: %5.1lf%s (min)
	GPRINT:csw:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat4]
	TITLE Swap Activity
	YAXIS Average kB/s
	-b 1024
	DEF:si=vmstat.rrd:mem_si:AVERAGE
	DEF:so=vmstat.rrd:mem_so:AVERAGE
	LINE2:si#0000ff:Memory Swapped from Disk
	LINE2:so#00FF00:Memory Swapped to Disk
	COMMENT:\n
	GPRINT:si:LAST:Memory Swapped from Disk  \: %5.1lf (cur)
	GPRINT:si:MAX: \: %5.1lf (max)
	GPRINT:si:MIN: \: %5.1lf (min)
	GPRINT:si:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:si:LAST:Memory Swapped to Disk    \: %5.1lf (cur)
	GPRINT:si:MAX: \: %5.1lf (max)
	GPRINT:si:MIN: \: %5.1lf (min)
	GPRINT:si:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat5]
	TITLE Block I/O
	YAXIS Average blocks/s
	DEF:bi=vmstat.rrd:dsk_bi:AVERAGE
	DEF:bo=vmstat.rrd:dsk_bo:AVERAGE
	LINE2:bi#0000FF:Blocks sent to a block device
	LINE2:bo#00FF00:Blocks received from a block device
	COMMENT:\n
	GPRINT:bi:LAST:Blocks sent to a block device        \: %5.1lf (cur)
	GPRINT:bi:MAX: \: %5.1lf (max)
	GPRINT:bi:MIN: \: %5.1lf (min)
	GPRINT:bi:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:bo:LAST:Blocks received from a block device  \: %5.1lf (cur)
	GPRINT:bo:MAX: \: %5.1lf (max)
	GPRINT:bo:MIN: \: %5.1lf (min)
	GPRINT:bo:AVERAGE: \: %5.1lf (avg)\n

[vmstat6]
	# This graph only works on some OS'es (Solaris)
	TITLE Memory Utilization
	YAXIS Size kB
	-b 1024
	DEF:free=vmstat.rrd:mem_free:AVERAGE
	CDEF:fr=free,1024,*
	DEF:swap=vmstat.rrd:mem_swap:AVERAGE
	CDEF:sw=swap,1024,*
	LINE2:fr#0000ff:Size of the free list
	LINE2:sw#00FF00:Swap space currently available
	COMMENT:\n
	GPRINT:fr:LAST:Size of the free list           \: %5.1lf%s (cur)
	GPRINT:fr:MAX: \: %5.1lf%s (max)
	GPRINT:fr:MIN: \: %5.1lf%s (min)
	GPRINT:fr:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:sw:LAST:Swap space currently available  \: %5.1lf%s (cur)
	GPRINT:sw:MAX: \: %5.1lf%s (max)
	GPRINT:sw:MIN: \: %5.1lf%s (min)
	GPRINT:sw:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat7]
	# This graph only works on some OS'es (Solaris)
	TITLE Memory Utilization
	YAXIS Events/s
	DEF:re=vmstat.rrd:mem_re:AVERAGE
	DEF:mf=vmstat.rrd:mem_mf:AVERAGE
	LINE2:re#0000ff:Page reclaims
	LINE2:mf#00FF00:Minor faults
	COMMENT:\n
	GPRINT:re:LAST:Page reclaims  \: %5.1lf%s (cur)
	GPRINT:re:MAX: \: %5.1lf%s (max)
	GPRINT:re:MIN: \: %5.1lf%s (min)
	GPRINT:re:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:mf:LAST:Minor faults   \: %5.1lf%s (cur)
	GPRINT:mf:MAX: \: %5.1lf%s (max)
	GPRINT:mf:MIN: \: %5.1lf%s (min)
	GPRINT:mf:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat8]
	# This graph only works on some OS'es (Solaris)
	TITLE Paging Activity
	YAXIS kB/s
	-b 1024
	DEF:pi=vmstat.rrd:mem_pi:AVERAGE
	CDEF:rpi=pi,1024,*
	DEF:po=vmstat.rrd:mem_po:AVERAGE
	CDEF:rpo=po,1024,*
	LINE2:rpi#0000ff:Paged in
	LINE2:rpo#00FF00:Paged out
	COMMENT:\n
	GPRINT:pi:LAST:Page Ins   \: %5.1lf%s (cur)
	GPRINT:pi:MAX: \: %5.1lf%s (max)
	GPRINT:pi:MIN: \: %5.1lf%s (min)
	GPRINT:pi:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:po:LAST:Page Outs  \: %5.1lf%s (cur)
	GPRINT:po:MAX: \: %5.1lf%s (max)
	GPRINT:po:MIN: \: %5.1lf%s (min)
	GPRINT:po:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat9]
	# This graph only works on some OS'es (Solaris)
	TITLE RAM Scan Rate
	YAXIS Pages scanned/s
	DEF:sr=vmstat.rrd:sr:AVERAGE
	AREA:sr#00CC00:Scan Rate
	-u 20
	GPRINT:sr:LAST: \: %5.1lf%s (cur)
	GPRINT:sr:MAX: \: %5.1lf%s (max)
	GPRINT:sr:MIN: \: %5.1lf%s (min)
	GPRINT:sr:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat0]
	# This graph only works on some OS'es (Solaris)
	TITLE System Calls
	YAXIS System Calls/s
	DEF:cpu_syc=vmstat.rrd:cpu_syc:AVERAGE
	AREA:cpu_syc#00CC00:System Calls
	GPRINT:cpu_syc:LAST: \: %5.1lf%s (cur)
	GPRINT:cpu_syc:MAX: \: %5.1lf%s (max)
	GPRINT:cpu_syc:MIN: \: %5.1lf%s (min)
	GPRINT:cpu_syc:AVERAGE: \: %5.1lf%s (avg)\n

[netstat]
	TITLE TCP/IP statistics
	YAXIS Packets/second
	DEF:tcpInInorderPackets=netstat.rrd:tcpInInorderPackets:AVERAGE
	DEF:tcpOutDataPackets=netstat.rrd:tcpOutDataPackets:AVERAGE
	DEF:tcpRetransPackets=netstat.rrd:tcpRetransPackets:AVERAGE
	LINE3:tcpInInorderPackets#00FF00:In 
	LINE1:tcpOutDataPackets#0000FF:Out 
	LINE2:tcpRetransPackets#FF0000:Retrans 
	COMMENT:\n
	GPRINT:tcpInInorderPackets:LAST:In       \: %5.1lf%s (cur)
	GPRINT:tcpInInorderPackets:MAX: \: %5.1lf%s (max)
	GPRINT:tcpInInorderPackets:MIN: \: %5.1lf%s (min)
	GPRINT:tcpInInorderPackets:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:tcpOutDataPackets:LAST:Out      \: %5.1lf%s (cur)
	GPRINT:tcpOutDataPackets:MAX: \: %5.1lf%s (max)
	GPRINT:tcpOutDataPackets:MIN: \: %5.1lf%s (min)
	GPRINT:tcpOutDataPackets:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:tcpRetransPackets:LAST:Retrans  \: %5.1lf%s (cur)
	GPRINT:tcpRetransPackets:MAX: \: %5.1lf%s (max)
	GPRINT:tcpRetransPackets:MIN: \: %5.1lf%s (min)
	GPRINT:tcpRetransPackets:AVERAGE: \: %5.1lf%s (avg)\n

[netstat0]
	TITLE TCP/IP statistics
	YAXIS Bits/second
	DEF:tcpInInorderBytes=netstat.rrd:tcpInInorderBytes:AVERAGE
	DEF:tcpOutDataBytes=netstat.rrd:tcpOutDataBytes:AVERAGE
	DEF:tcpRetransBytes=netstat.rrd:tcpRetransBytes:AVERAGE
	CDEF:tcpInInorderBits=tcpInInorderBytes,8,*
	CDEF:tcpOutDataBits=tcpOutDataBytes,8,*
	CDEF:tcpRetransBits=tcpRetransBytes,8,*
	LINE3:tcpInInorderBits#00FF00:In 
	LINE1:tcpOutDataBits#0000FF:Out 
	LINE2:tcpRetransBits#FF0000:Retrans 
	COMMENT:\n
	GPRINT:tcpInInorderBits:LAST:In       \: %5.1lf%s (cur)
	GPRINT:tcpInInorderBits:MAX: \: %5.1lf%s (max)
	GPRINT:tcpInInorderBits:MIN: \: %5.1lf%s (min)
	GPRINT:tcpInInorderBits:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:tcpOutDataBits:LAST:Out      \: %5.1lf%s (cur)
	GPRINT:tcpOutDataBits:MAX: \: %5.1lf%s (max)
	GPRINT:tcpOutDataBits:MIN: \: %5.1lf%s (min)
	GPRINT:tcpOutDataBits:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:tcpRetransBits:LAST:Retrans  \: %5.1lf%s (cur)
	GPRINT:tcpRetransBits:MAX: \: %5.1lf%s (max)
	GPRINT:tcpRetransBits:MIN: \: %5.1lf%s (min)
	GPRINT:tcpRetransBits:AVERAGE: \: %5.1lf%s (avg)\n

[netstat1]
	TITLE UDP Statistics
	YAXIS # Datagrams
	DEF:udpInDatagrams=netstat.rrd:udpInDatagrams:AVERAGE
	DEF:udpOutDatagrams=netstat.rrd:udpOutDatagrams:AVERAGE
	DEF:udpInErrors=netstat.rrd:udpInErrors:AVERAGE
	LINE3:udpInDatagrams#00FF00:UDP In Datagrams
	LINE1:udpOutDatagrams#0000FF:UDP Out Datagrams
	LINE2:udpInErrors#FF0000:UDP In Errors
	COMMENT:\n
	GPRINT:udpInDatagrams:LAST:UDP In Datagrams       \: %5.1lf%s (cur)
	GPRINT:udpInDatagrams:MAX: \: %5.1lf%s (max)
	GPRINT:udpInDatagrams:MIN: \: %5.1lf%s (min)
	GPRINT:udpInDatagrams:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:udpOutDatagrams:LAST:UDP Out Datagrams      \: %5.1lf%s (cur)
	GPRINT:udpOutDatagrams:MAX: \: %5.1lf%s (max)
	GPRINT:udpOutDatagrams:MIN: \: %5.1lf%s (min)
	GPRINT:udpOutDatagrams:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:udpInErrors:LAST:UDP In Errors          \: %5.1lf%s (cur)
	GPRINT:udpInErrors:MAX: \: %5.1lf%s (max)
	GPRINT:udpInErrors:MIN: \: %5.1lf%s (min)
	GPRINT:udpInErrors:AVERAGE: \: %5.1lf%s (avg)\n

[netstat2]
	TITLE TCP Statistics
	YAXIS # Events
	DEF:tcpActiveOpens=netstat.rrd:tcpActiveOpens:AVERAGE
	DEF:tcpPassiveOpens=netstat.rrd:tcpPassiveOpens:AVERAGE
	DEF:tcpAttemptFails=netstat.rrd:tcpAttemptFails:AVERAGE
	DEF:tcpEstabResets=netstat.rrd:tcpEstabResets:AVERAGE
	LINE2:tcpActiveOpens#0000FF:TCP Active Open
	LINE2:tcpPassiveOpens#000088:TCP Passive Open
	LINE2:tcpAttemptFails#FF0000:TCP Attempts Fail
	LINE2:tcpEstabResets#88FF00:TCP Established Resets
	COMMENT:\n
	GPRINT:tcpActiveOpens:LAST:TCP Active Opens            \: %5.1lf%s (cur)
	GPRINT:tcpActiveOpens:MAX: \: %5.1lf%s (max)
	GPRINT:tcpActiveOpens:MIN: \: %5.1lf%s (min)
	GPRINT:tcpActiveOpens:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:tcpPassiveOpens:LAST:TCP Passive Opens           \: %5.1lf%s (cur)
	GPRINT:tcpPassiveOpens:MAX: \: %5.1lf%s (max)
	GPRINT:tcpPassiveOpens:MIN: \: %5.1lf%s (min)
	GPRINT:tcpPassiveOpens:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:tcpAttemptFails:LAST:TCP Failed Attempts         \: %5.1lf%s (cur)
	GPRINT:tcpAttemptFails:MAX: \: %5.1lf%s (max)
	GPRINT:tcpAttemptFails:MIN: \: %5.1lf%s (min)
	GPRINT:tcpAttemptFails:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:tcpEstabResets:LAST:TCP Established Resets      \: %5.1lf%s (cur)
	GPRINT:tcpEstabResets:MAX: \: %5.1lf%s (max)
	GPRINT:tcpEstabResets:MIN: \: %5.1lf%s (min)
	GPRINT:tcpEstabResets:AVERAGE: \: %5.1lf%s (avg)\n

[netstat3]
	TITLE Established TCP Connections
	YAXIS # Connections
	DEF:tcpCurrEstab=netstat.rrd:tcpCurrEstab:AVERAGE
	LINE2:tcpCurrEstab#0000FF:TCP Established Connections
	COMMENT:\n
	GPRINT:tcpCurrEstab:LAST:TCP Established Connections \: %5.1lf%s (cur)
	GPRINT:tcpCurrEstab:MAX: \: %5.1lf%s (max)
	GPRINT:tcpCurrEstab:MIN: \: %5.1lf%s (min)
	GPRINT:tcpCurrEstab:AVERAGE: \: %5.1lf%s (avg)\n

[netstat3-multi]
	TITLE Multi-host TCP Connections
	YAXIS # Connections
	FNPATTERN netstat.rrd
	DEF:tcpCurrEstab@RRDIDX@=@RRDFN@:tcpCurrEstab:AVERAGE
	LINE2:tcpCurrEstab@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:tcpCurrEstab@RRDIDX@:LAST:# Est. \: %5.1lf%s (cur)
	GPRINT:tcpCurrEstab@RRDIDX@:MAX: \: %5.1lf%s (max)
	GPRINT:tcpCurrEstab@RRDIDX@:MIN: \: %5.1lf%s (min)
	GPRINT:tcpCurrEstab@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

[iostat]
	TITLE I/O Utilization
	YAXIS Stats
	FNPATTERN ^iostat.(.+).rrd
	DEF:p@RRDIDX@B=@RRDFN@:b:AVERAGE
	DEF:p@RRDIDX@A=@RRDFN@:asvc_t:AVERAGE
	DEF:p@RRDIDX@W=@RRDFN@:wsvc_t:AVERAGE
	CDEF:p@RRDIDX@t=p@RRDIDX@B,5,GT,p@RRDIDX@B,UNKN,IF
	LINE2:p@RRDIDX@t#@COLOR@:@RRDPARAM@
	COMMENT:\n
	GPRINT:p@RRDIDX@B:LAST:B       \: %5.1lf (cur)
	GPRINT:p@RRDIDX@B:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@B:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@B:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:p@RRDIDX@A:LAST:asvc_t  \: %5.1lf (cur)
	GPRINT:p@RRDIDX@A:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@A:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@A:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:p@RRDIDX@W:LAST:wsvc_t  \: %5.1lf (cur)
	GPRINT:p@RRDIDX@W:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@W:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@W:AVERAGE: \: %5.1lf (avg)\n
	COMMENT:\n

[apache]
	TITLE Apache Utilization
	YAXIS Activity
	DEF:TA=apache.rrd:TA:AVERAGE
	CDEF:TA1=TA,300,*
	DEF:TKB=apache.rrd:TKB:AVERAGE
	CDEF:TKB1=TKB,300,*
	LINE2:TA1#0000FF:TA (# Accesses)
	LINE2:TKB1#FF0000:TKB (kBytes Transferred)
	COMMENT:\n
	GPRINT:TA1:LAST:TA    \: %5.1lf%s (cur)
	GPRINT:TA1:MAX: \: %5.1lf%s (max)
	GPRINT:TA1:MIN: \: %5.1lf%s (min)
	GPRINT:TA1:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:TKB1:LAST:TKB   \: %5.1lf%s (cur)
	GPRINT:TKB1:MAX: \: %5.1lf%s (max)
	GPRINT:TKB1:MIN: \: %5.1lf%s (min)
	GPRINT:TKB1:AVERAGE: \: %5.1lf%s (avg)\n

[apache1]
	TITLE Apache Workers
	YAXIS # Worker Threads/Processes
	#DEF:BS=apache.rrd:BS:AVERAGE
	#DEF:IS=apache.rrd:IS:AVERAGE
	DEF:BW=apache.rrd:BW:AVERAGE
	DEF:IW=apache.rrd:IW:AVERAGE
	#LINE2:BS#00CC00:BS
	#LINE2:IS#FF00FF:IS
	LINE2:BW#555555:BW Busy Workers
	LINE2:IW#880000:IW Idle Workers
	COMMENT:\n
	GPRINT:BW:LAST:BW   \: %5.1lf%s (cur)
	GPRINT:BW:MAX: \: %5.1lf%s (max)
	GPRINT:BW:MIN: \: %5.1lf%s (min)
	GPRINT:BW:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:IW:LAST:IW   \: %5.1lf%s (cur)
	GPRINT:IW:MAX: \: %5.1lf%s (max)
	GPRINT:IW:MIN: \: %5.1lf%s (min)
	GPRINT:IW:AVERAGE: \: %5.1lf%s (avg)\n

[apache2]
	TITLE Apache CPU Utilization
	YAXIS CPU Load
	DEF:CPU=apache.rrd:CPU:AVERAGE
	LINE2:CPU#000088:CPU
	COMMENT:\n
	GPRINT:CPU:LAST:CPU   \: %5.1lf (cur)
	GPRINT:CPU:MAX: \: %5.1lf (max)
	GPRINT:CPU:MIN: \: %5.1lf (min)
	GPRINT:CPU:AVERAGE: \: %5.1lf (avg)\n

[apache3]
	TITLE Apache Requests/Second
	YAXIS # Requests
	DEF:RPS=apache.rrd:REQPERSEC:AVERAGE
	LINE2:RPS#000088:RPS
	COMMENT:\n
	GPRINT:RPS:LAST:Requests per Second   \: %5.1lf (cur)
	GPRINT:RPS:MAX: \: %5.1lf (max)
	GPRINT:RPS:MIN: \: %5.1lf (min)
	GPRINT:RPS:AVERAGE: \: %5.1lf (avg)\n

[apache3-multi]
	TITLE Multi-Host Apache Requests/Second
	FNPATTERN apache.rrd
	YAXIS # Requests / seconds
	# --slope-mode
	DEF:RPS@RRDIDX@=@RRDFN@:REQPERSEC:AVERAGE
	LINE2:RPS@RRDIDX@#@COLOR@:@RRDPARAM@
	COMMENT:\n
	GPRINT:RPS@RRDIDX@:LAST:Requests per Second  \: %5.1lf (cur)
	GPRINT:RPS@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:RPS@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:RPS@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[bea]
	FNPATTERN ^bea.memory.(.+).rrd
	TITLE BEA/Weblogic % Heap Free
	YAXIS % Free
	DEF:free@RRDIDX@=@RRDFN@:freeheap:AVERAGE
	DEF:used@RRDIDX@=@RRDFN@:usedheap:AVERAGE
	DEF:total@RRDIDX@=@RRDFN@:totalheap:AVERAGE
	CDEF:mbfree@RRDIDX@=free@RRDIDX@,1048576,/
	CDEF:mbused@RRDIDX@=used@RRDIDX@,1048576,/
	CDEF:mbtotal@RRDIDX@=total@RRDIDX@,1048576,/
	CDEF:pctfree@RRDIDX@=mbfree@RRDIDX@,100,*,mbtotal@RRDIDX@,/
	LINE2:pctfree@RRDIDX@#@COLOR@:@RRDPARAM@
	COMMENT:\n
	GPRINT:mbused@RRDIDX@:LAST:Used \: %8.1lf MB (cur)
	GPRINT:mbused@RRDIDX@:MAX: \: %8.1lf MB (max)
	GPRINT:mbused@RRDIDX@:MIN: \: %8.1lf MB (min)
	GPRINT:mbused@RRDIDX@:AVERAGE: \: %8.1lf MB (avg)\n
	GPRINT:mbfree@RRDIDX@:LAST:Free \: %8.1lf MB (cur)
	GPRINT:mbfree@RRDIDX@:MAX: \: %8.1lf MB (max)
	GPRINT:mbfree@RRDIDX@:MIN: \: %8.1lf MB (min)
	GPRINT:mbfree@RRDIDX@:AVERAGE: \: %8.1lf MB (avg)\n

[bea2]
	FNPATTERN ^bea.memory.(.+).rrd
	TITLE BEA/Weblogic % Physical Memory Free
	YAXIS % Free
	DEF:free@RRDIDX@=@RRDFN@:freephysmem:AVERAGE
	DEF:used@RRDIDX@=@RRDFN@:usedphysmem:AVERAGE
	DEF:total@RRDIDX@=@RRDFN@:totalphysmem:AVERAGE
	CDEF:mbfree@RRDIDX@=free@RRDIDX@,1048576,/
	CDEF:mbused@RRDIDX@=used@RRDIDX@,1048576,/
	CDEF:mbtotal@RRDIDX@=total@RRDIDX@,1048576,/
	CDEF:pctfree@RRDIDX@=mbfree@RRDIDX@,100,*,mbtotal@RRDIDX@,/
	LINE2:pctfree@RRDIDX@#@COLOR@:@RRDPARAM@
	COMMENT:\n
	GPRINT:mbused@RRDIDX@:LAST:Used \: %8.1lf MB (cur)
	GPRINT:mbused@RRDIDX@:MAX: \: %8.1lf MB (max)
	GPRINT:mbused@RRDIDX@:MIN: \: %8.1lf MB (min)
	GPRINT:mbused@RRDIDX@:AVERAGE: \: %8.1lf MB (avg)\n
	GPRINT:mbfree@RRDIDX@:LAST:Free \: %8.1lf MB (cur)
	GPRINT:mbfree@RRDIDX@:MAX: \: %8.1lf MB (max)
	GPRINT:mbfree@RRDIDX@:MIN: \: %8.1lf MB (min)
	GPRINT:mbfree@RRDIDX@:AVERAGE: \: %8.1lf MB (avg)\n

[bea3]
	FNPATTERN ^bea.threads.(.+).weblogic.kernel.Default.rrd
	TITLE BEA/Weblogic kernel.Default Idle Threads
	YAXIS # Idle Threads
	DEF:threads@RRDIDX@=@RRDFN@:currentidlecount:AVERAGE
	LINE2:threads@RRDIDX@#@COLOR@:@RRDPARAM@
	COMMENT:\n
	GPRINT:threads@RRDIDX@:LAST:Free \: %4.2lf (cur)
	GPRINT:threads@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:threads@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:threads@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n

[bea4]
	FNPATTERN ^bea.threads.(.+).weblogic.kernel.Default.rrd
	TITLE BEA/Weblogic kernel.Default Requests
	YAXIS # Requests
	DEF:reqs@RRDIDX@=@RRDFN@:totalcount:AVERAGE
	LINE2:reqs@RRDIDX@#@COLOR@:@RRDPARAM@
	COMMENT:\n
	GPRINT:reqs@RRDIDX@:LAST:Free \: %4.2lf (cur)
	GPRINT:reqs@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:reqs@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:reqs@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n

[bind]
	TITLE BIND Utilization
	YAXIS Stats
	DEF:A=bind.rrd:A:AVERAGE
	DEF:ANY=bind.rrd:ANY:AVERAGE
	DEF:AXFR=bind.rrd:AXFR:AVERAGE
	DEF:MX=bind.rrd:MX:AVERAGE
	DEF:O=bind.rrd:O:AVERAGE
	DEF:PTR=bind.rrd:PTR:AVERAGE
	DEF:SOA=bind.rrd:SOA:AVERAGE
	CDEF:A1=A,300,*
	CDEF:ANY1=ANY,300,*
	CDEF:AXFR1=AXFR,300,*
	CDEF:MX1=MX,300,*
	CDEF:O1=O,300,*
	CDEF:PTR1=PTR,300,*
	CDEF:SOA1=SOA,300,*
	LINE2:A1#0000FF:A
	LINE2:ANY1#FF0000:ANY
	LINE2:AXFR1#00CC00:AXFR
	LINE2:MX1#FF00FF:MX
	LINE2:O1#555555:O
	LINE2:PTR1#880000:PTR
	LINE2:SOA1#000088:SOA
	COMMENT:\n
	GPRINT:A1:LAST:A     \: %5.1lf (cur) 
	GPRINT:A1:MAX:A    \: %5.1lf (max) 
	GPRINT:A1:MIN:A     \: %5.1lf (min) 
	GPRINT:A1:AVERAGE:A     \: %5.1lf (avg)\n
	GPRINT:ANY1:LAST:ANY   \: %5.1lf (cur) 
	GPRINT:ANY1:MAX:ANY  \: %5.1lf (max) 
	GPRINT:ANY1:MIN:ANY   \: %5.1lf (min) 
	GPRINT:ANY1:AVERAGE:ANY   \: %5.1lf (avg)\n
	GPRINT:AXFR1:LAST:AXFR  \: %5.1lf (cur) 
	GPRINT:AXFR1:MAX:AXFR \: %5.1lf (max) 
	GPRINT:AXFR1:MIN:AXFR  \: %5.1lf (min) 
	GPRINT:AXFR1:AVERAGE:AXFR  \: %5.1lf (avg)\n
	GPRINT:MX1:LAST:MX    \: %5.1lf (cur) 
	GPRINT:MX1:MAX:MX   \: %5.1lf (max) 
	GPRINT:MX1:MIN:MX    \: %5.1lf (min) 
	GPRINT:MX1:AVERAGE:MX    \: %5.1lf (avg)\n
	GPRINT:O1:LAST:O     \: %5.1lf (cur) 
	GPRINT:O1:MAX:O    \: %5.1lf (max) 
	GPRINT:O1:MIN:O     \: %5.1lf (min) 
	GPRINT:O1:AVERAGE:O     \: %5.1lf (avg)\n
	GPRINT:PTR1:LAST:PTR   \: %5.1lf (cur) 
	GPRINT:PTR1:MAX:PTR  \: %5.1lf (max) 
	GPRINT:PTR1:MIN:PTR   \: %5.1lf (min) 
	GPRINT:PTR1:AVERAGE:PTR   \: %5.1lf (avg)\n
	GPRINT:SOA1:LAST:SOA   \: %5.1lf (cur) 
	GPRINT:SOA1:MAX:SOA  \: %5.1lf (max) 
	GPRINT:SOA1:MIN:SOA   \: %5.1lf (min) 
	GPRINT:SOA1:AVERAGE:SOA   \: %5.1lf (avg)\n

[sendmail]
	FNPATTERN ^sendmail.(.+).rrd
	TITLE Sendmail Activity
	YAXIS Messages
	DEF:p@RRDIDX@IN=@RRDFN@:msgsfr:AVERAGE
	DEF:p@RRDIDX@OUT=@RRDFN@:msgsto:AVERAGE
	CDEF:p@RRDIDX@IN1=p@RRDIDX@IN,300,*
	CDEF:p@RRDIDX@OUT1=p@RRDIDX@OUT,300,*
	LINE1:p@RRDIDX@IN1#@COLOR@:@RRDPARAM@ IN
	LINE2:p@RRDIDX@OUT1#@COLOR@:@RRDPARAM@ OUT
	COMMENT:\n
	GPRINT:p@RRDIDX@IN1:LAST:@RRDPARAM@ in   %5.1lf (cur)
	GPRINT:p@RRDIDX@IN1:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@IN1:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@IN1:AVERAGE: \: %5.1lf (avg)
	COMMENT:\n
	GPRINT:p@RRDIDX@OUT1:LAST:@RRDPARAM@ out  %5.1lf (cur)
	GPRINT:p@RRDIDX@OUT1:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@OUT1:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@OUT1:AVERAGE: \: %5.1lf (avg)\n
	COMMENT:\n

[sendmail1]
	FNPATTERN ^sendmail.(.+).rrd
	TITLE Sendmail Reject/Discards
	YAXIS Messages
	DEF:p@RRDIDX@IN=@RRDFN@:msgsrej:AVERAGE
	DEF:p@RRDIDX@OUT=@RRDFN@:msgsdis:AVERAGE
	CDEF:p@RRDIDX@IN1=p@RRDIDX@IN,300,*
	CDEF:p@RRDIDX@OUT1=p@RRDIDX@OUT,300,*
	LINE1:p@RRDIDX@IN1#@COLOR@:@RRDPARAM@ REJ
	LINE2:p@RRDIDX@OUT1#@COLOR@:@RRDPARAM@ DIS
	COMMENT:\n
	GPRINT:p@RRDIDX@IN1:LAST:@RRDPARAM@ rej  %5.1lf (cur)
	GPRINT:p@RRDIDX@IN1:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@IN1:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@IN1:AVERAGE: \: %5.1lf (avg)
	COMMENT:\n
	GPRINT:p@RRDIDX@OUT1:LAST:@RRDPARAM@ dis  %5.1lf (cur)
	GPRINT:p@RRDIDX@OUT1:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@OUT1:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@OUT1:AVERAGE: \: %5.1lf (avg)\n
	COMMENT:\n

[mailq]
	# This handles "mailq.rrd", "mailqin.rrd" and "mailqout.rrd"
	FNPATTERN ^mailq(.+).rrd
	TITLE Mail Queue Length
	YAXIS Queue Length
	DEF:mailq@RRDIDX@=@RRDFN@:mailq:AVERAGE
	LINE2:mailq@RRDIDX@#@COLOR@:Queue Length @RRDPARAM@
	COMMENT:\n
	GPRINT:mailq@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:mailq@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:mailq@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:mailq@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n


[iishealth]
	# Based on the "IIShealth.zip" tool from deadcat
	FNPATTERN ^iishealth.(.+).rrd
	TITLE IIS Utilization
	YAXIS #
	# Yes, they really do call it "realmempct". Cut'n'paste programming.
	DEF:p@RRDIDX@=@RRDFN@:realmempct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[temperature]
	FNPATTERN ^temperature.(.+).rrd
	TITLE Temperature
	YAXIS Celsius
	DEF:p@RRDIDX@=@RRDFN@:temperature:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

# If you want your temperature graphs in Fahrenheit,
# comment out the [temperature] section above, and 
# uncomment this definition.
#
#[temperature]
#	FNPATTERN ^temperature.(.+).rrd
#	TITLE Temperature
#	YAXIS Fahrenheit
#	DEF:p@RRDIDX@=@RRDFN@:temperature:AVERAGE
#	CDEF:tempf@RRDIDX@=9,5,/,p@RRDIDX@,*,32,+
#	LINE2:tempf@RRDIDX@#@COLOR@:@RRDPARAM@
#	GPRINT:tempf@RRDIDX@:LAST: \: %5.1lf (cur)
#	GPRINT:tempf@RRDIDX@:MAX: \: %5.1lf (max)
#	GPRINT:tempf@RRDIDX@:MIN: \: %5.1lf (min)
#	GPRINT:tempf@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[citrix]
	TITLE Citrix Users
	YAXIS # Users
	DEF:u=citrix.rrd:users:AVERAGE
	LINE2:u#FF0000:Users
	COMMENT:\n
	GPRINT:u:LAST: \: %5.1lf (cur)
	GPRINT:u:MAX: \: %5.1lf (max)
	GPRINT:u:MIN: \: %5.1lf (min)
	GPRINT:u:AVERAGE: \: %5.1lf (avg)\n

[xymongen]
	TITLE xymongen Runtime
	YAXIS Seconds
	DEF:rt=xymongen.rrd:runtime:AVERAGE
	AREA:rt#00CCCC:Run Time
	COMMENT:\n
	GPRINT:rt:LAST: \: %5.1lf (cur)
	GPRINT:rt:MAX: \: %5.1lf (max)
	GPRINT:rt:MIN: \: %5.1lf (min)
	GPRINT:rt:AVERAGE: \: %5.1lf (avg)\n

[xymonnet]
	TITLE xymonnet Run Time
	YAXIS Seconds
	DEF:rt=xymonnet.rrd:runtime:AVERAGE
	AREA:rt#00CCCC:Run Time
	COMMENT:\n
	GPRINT:rt:LAST: \: %5.1lf (cur)
	GPRINT:rt:MAX: \: %5.1lf (max)
	GPRINT:rt:MIN: \: %5.1lf (min)
	GPRINT:rt:AVERAGE: \: %5.1lf (avg)\n

[xymonproxy]
	TITLE xymonproxy Average Queue Time
	YAXIS Seconds
	DEF:rt=xymonproxy.rrd:runtime:AVERAGE
	LINE2:rt#00CCCC:Queue Time
	COMMENT:\n
	GPRINT:rt:LAST: \: %5.1lf (cur)
	GPRINT:rt:MAX: \: %5.1lf (max)
	GPRINT:rt:MIN: \: %5.1lf (min)
	GPRINT:rt:AVERAGE: \: %5.1lf (avg)\n

[xymond]
	TITLE xymond Incoming Messages
	YAXIS Messages
	DEF:in=xymond.rrd:inmessages:AVERAGE
	LINE2:in#00CCCC:Incoming messages
	COMMENT:\n
	GPRINT:in:LAST: \: %5.1lf (cur)
	GPRINT:in:MAX: \: %5.1lf (max)
	GPRINT:in:MIN: \: %5.1lf (min)
	GPRINT:in:AVERAGE: \: %5.1lf (avg)\n

[xymon]
	TITLE Xymon monitored hosts
	YAXIS #
	DEF:in=xymon.rrd:hostcount:AVERAGE
	LINE2:in#00CCCC:Monitored hosts
	GPRINT:in:LAST: \: %5.1lf (cur)
	GPRINT:in:MAX: \: %5.1lf (max)
	GPRINT:in:MIN: \: %5.1lf (min)
	GPRINT:in:AVERAGE: \: %5.1lf (avg)\n

[xymon1]
	TITLE Xymon monitored items
	YAXIS #
	DEF:in=xymon.rrd:statuscount:AVERAGE
	LINE2:in#00CCCC:Monitored items
	GPRINT:in:LAST: \: %5.1lf (cur)
	GPRINT:in:MAX: \: %5.1lf (max)
	GPRINT:in:MIN: \: %5.1lf (min)
	GPRINT:in:AVERAGE: \: %5.1lf (avg)\n

[xymon2]
	TITLE Non-green status breakdown
	YAXIS %
	DEF:red=xymon2.rrd:redpct:AVERAGE
	DEF:rednp=xymon2.rrd:rednoproppct:AVERAGE
	DEF:yel=xymon2.rrd:yellowpct:AVERAGE
	DEF:yelnp=xymon2.rrd:yellownoproppct:AVERAGE
	DEF:clr=xymon2.rrd:clearpct:AVERAGE
	DEF:pur=xymon2.rrd:purplepct:AVERAGE
	DEF:blu=xymon2.rrd:bluepct:AVERAGE
	AREA:blu#0000FF:Blue           \:
	GPRINT:blu:LAST: %5.2lf (cur)
	GPRINT:blu:MAX: \: %5.2lf (max)
	GPRINT:blu:MIN: \: %5.2lf (min)
	GPRINT:blu:AVERAGE: \: %5.2lf (avg)\n
	STACK:clr#808080:Clear          \:
	GPRINT:clr:LAST: %5.2lf (cur)
	GPRINT:clr:MAX: \: %5.2lf (max)
	GPRINT:clr:MIN: \: %5.2lf (min)
	GPRINT:clr:AVERAGE: \: %5.2lf (avg)\n
	STACK:pur#E900FF:Purple         \:
	GPRINT:pur:LAST: %5.2lf (cur)
	GPRINT:pur:MAX: \: %5.2lf (max)
	GPRINT:pur:MIN: \: %5.2lf (min)
	GPRINT:pur:AVERAGE: \: %5.2lf (avg)\n
	STACK:yelnp#FF9900:Yellow (NP)    \:
	GPRINT:yelnp:LAST: %5.2lf (cur)
	GPRINT:yelnp:MAX: \: %5.2lf (max)
	GPRINT:yelnp:MIN: \: %5.2lf (min)
	GPRINT:yelnp:AVERAGE: \: %5.2lf (avg)\n
	STACK:yel#FBFB61:Yellow         \:
	GPRINT:yel:LAST: %5.2lf (cur)
	GPRINT:yel:MAX: \: %5.2lf (max)
	GPRINT:yel:MIN: \: %5.2lf (min)
	GPRINT:yel:AVERAGE: \: %5.2lf (avg)\n
	STACK:rednp#FFC0C0:Red (NP)       \:
	GPRINT:rednp:LAST: %5.2lf (cur)
	GPRINT:rednp:MAX: \: %5.2lf (max)
	GPRINT:rednp:MIN: \: %5.2lf (min)
	GPRINT:rednp:AVERAGE: \: %5.2lf (avg)\n
	STACK:red#FF0000:Red            \:
	GPRINT:red:LAST: %5.2lf (cur)
	GPRINT:red:MAX: \: %5.2lf (max)
	GPRINT:red:MIN: \: %5.2lf (min)
	GPRINT:red:AVERAGE: \: %5.2lf (avg)\n

[mrtg]
	FNPATTERN ^mrtg.*\.(.+).rrd
	TITLE Network Traffic (MRTG)
	YAXIS Bits/second
	DEF:inbytes@RRDIDX@=@RRDFN@:ds0:AVERAGE
	CDEF:in@RRDIDX@=inbytes@RRDIDX@,8,*
	DEF:outbytes@RRDIDX@=@RRDFN@:ds1:AVERAGE
	CDEF:out@RRDIDX@=outbytes@RRDIDX@,8,*
	LINE2:in@RRDIDX@#@COLOR@:@RRDPARAM@  inbound
	GPRINT:in@RRDIDX@:LAST: \: %10.1lf (cur)
	GPRINT:in@RRDIDX@:MAX: \: %10.1lf (max)
	GPRINT:in@RRDIDX@:MIN: \: %10.1lf (min)
	GPRINT:in@RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
	LINE2:out@RRDIDX@#@COLOR@:@RRDPARAM@ outbound
	GPRINT:out@RRDIDX@:LAST: \: %10.1lf (cur)
	GPRINT:out@RRDIDX@:MAX: \: %10.1lf (max)
	GPRINT:out@RRDIDX@:MIN: \: %10.1lf (min)
	GPRINT:out@RRDIDX@:AVERAGE: \: %10.1lf (avg)\n

[mysqlslow]
	DEF:slow=mysql.rrd:Slowqueries:AVERAGE
	TITLE MySQL Slow Queries
	YAXIS #
	LINE2:slow#00CCCC:Slow Queries
	COMMENT:\n
	GPRINT:slow:LAST: \: %5.1lf (cur)
	GPRINT:slow:MAX: \: %5.1lf (max)
	GPRINT:slow:MIN: \: %5.1lf (min)
	GPRINT:slow:AVERAGE: \: %5.1lf (avg)\n

[mysqlthread]
	DEF:threads=mysql.rrd:Threads:AVERAGE
	TITLE MySQL Active Threads
	YAXIS #
	AREA:threads#00CCCC:Threads
	COMMENT:\n
	GPRINT:threads:LAST: \: %5.1lf (cur)
	GPRINT:threads:MAX: \: %5.1lf (max)
	GPRINT:threads:MIN: \: %5.1lf (min)
	GPRINT:threads:AVERAGE: \: %5.1lf (avg)\n

[ifstat]
	FNPATTERN ^ifstat.(.+).rrd
	TITLE Network Traffic
	YAXIS Bits/second
	DEF:inbytes@RRDIDX@=@RRDFN@:bytesReceived:AVERAGE
	CDEF:in@RRDIDX@=inbytes@RRDIDX@,8,*
	DEF:outbytes@RRDIDX@=@RRDFN@:bytesSent:AVERAGE
	CDEF:out@RRDIDX@=outbytes@RRDIDX@,8,*
	LINE2:in@RRDIDX@#@COLOR@:@RRDPARAM@  inbound
	GPRINT:in@RRDIDX@:LAST: \: %10.1lf (cur)
	GPRINT:in@RRDIDX@:MAX: \: %10.1lf (max)
	GPRINT:in@RRDIDX@:MIN: \: %10.1lf (min)
	GPRINT:in@RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
	LINE2:out@RRDIDX@#@COLOR@:@RRDPARAM@ outbound
	GPRINT:out@RRDIDX@:LAST: \: %10.1lf (cur)
	GPRINT:out@RRDIDX@:MAX: \: %10.1lf (max)
	GPRINT:out@RRDIDX@:MIN: \: %10.1lf (min)
	GPRINT:out@RRDIDX@:AVERAGE: \: %10.1lf (avg)\n

[files]
	FNPATTERN ^filesizes.(.+).rrd
	TITLE File/Directory sizes
	YAXIS KB
	DEF:sz@RRDIDX@=@RRDFN@:size:AVERAGE
	LINE2:sz@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:sz@RRDIDX@:LAST: \: %10.1lf (cur)
	GPRINT:sz@RRDIDX@:MAX: \: %10.1lf (max)
	GPRINT:sz@RRDIDX@:MIN: \: %10.1lf (min)
	GPRINT:sz@RRDIDX@:AVERAGE: \: %10.1lf (avg)\n

[processes]
	FNPATTERN ^processes.(.+).rrd
	TITLE Process counts
	YAXIS #
	DEF:cnt@RRDIDX@=@RRDFN@:count:AVERAGE
	LINE2:cnt@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:cnt@RRDIDX@:LAST: \: %10.1lf (cur)
	GPRINT:cnt@RRDIDX@:MAX: \: %10.1lf (max)
	GPRINT:cnt@RRDIDX@:MIN: \: %10.1lf (min)
	GPRINT:cnt@RRDIDX@:AVERAGE: \: %10.1lf (avg)\n

[ports]
	FNPATTERN ^ports.(.+).rrd
	TITLE Network port counts
	YAXIS #
	DEF:cnt@RRDIDX@=@RRDFN@:count:AVERAGE
	LINE2:cnt@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:cnt@RRDIDX@:LAST: \: %10.1lf (cur)
	GPRINT:cnt@RRDIDX@:MAX: \: %10.1lf (max)
	GPRINT:cnt@RRDIDX@:MIN: \: %10.1lf (min)
	GPRINT:cnt@RRDIDX@:AVERAGE: \: %10.1lf (avg)\n

[lines]
	FNPATTERN ^lines.(.+).rrd
	TITLE Logfile linecounts
	YAXIS #
	DEF:cnt@RRDIDX@=@RRDFN@:count:AVERAGE
	LINE2:cnt@RRDIDX@#@COLOR@:@RRDPARAM@
	GPRINT:cnt@RRDIDX@:LAST: %6.1lf (cur) \:
	GPRINT:cnt@RRDIDX@:MAX: %6.1lf (max) \:
	GPRINT:cnt@RRDIDX@:MIN: %6.1lf (min) \:
	GPRINT:cnt@RRDIDX@:AVERAGE: %6.1lf (avg)\n

####### Graph definitions from hobbit-perl-client v1.15 Francesco Duranti #############
[ops]
	TITLE NetApp Operations/Sec
	YAXIS Ops/Sec
	DEF:NFS=ops.rrd:NFSops:AVERAGE
	DEF:CIFS=ops.rrd:CIFSops:AVERAGE
	DEF:iSCSI=ops.rrd:iSCSIops:AVERAGE
	DEF:HTTP=ops.rrd:HTTPops:AVERAGE
	DEF:FCP=ops.rrd:FCPops:AVERAGE
	DEF:Total=ops.rrd:Totalops:AVERAGE
	LINE2:NFS#0000FF:NFS ops
	LINE2:CIFS#FF0000:CIFS ops
	LINE2:iSCSI#00CC00:iSCSI ops
	LINE2:HTTP#FF00FF:HTTP ops
	LINE2:FCP#555555:FCP ops
	LINE2:Total#880000:Total ops
	COMMENT:\n
	GPRINT:NFS:LAST:NFS   ops \: %5.1lf%s (cur)
	GPRINT:NFS:MAX: \: %5.1lf%s (max)
	GPRINT:NFS:MIN: \: %5.1lf%s (min)
	GPRINT:NFS:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:CIFS:LAST:CIFS  ops \: %5.1lf%s (cur)
	GPRINT:CIFS:MAX: \: %5.1lf%s (max)
	GPRINT:CIFS:MIN: \: %5.1lf%s (min)
	GPRINT:CIFS:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:iSCSI:LAST:iSCSI ops \: %5.1lf%s (cur)
	GPRINT:iSCSI:MAX: \: %5.1lf%s (max)
	GPRINT:iSCSI:MIN: \: %5.1lf%s (min)
	GPRINT:iSCSI:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:HTTP:LAST:HTTP  ops \: %5.1lf%s (cur)
	GPRINT:HTTP:MAX: \: %5.1lf%s (max)
	GPRINT:HTTP:MIN: \: %5.1lf%s (min)
	GPRINT:HTTP:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:FCP:LAST:FCP   ops \: %5.1lf%s (cur)
	GPRINT:FCP:MAX: \: %5.1lf%s (max)
	GPRINT:FCP:MIN: \: %5.1lf%s (min)
	GPRINT:FCP:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:Total:LAST:Total ops \: %5.1lf%s (cur)
	GPRINT:Total:MAX: \: %5.1lf%s (max)
	GPRINT:Total:MIN: \: %5.1lf%s (min)
	GPRINT:Total:AVERAGE: \: %5.1lf%s (avg)\n
[stats]
	TITLE NetApp Transfer Rates
	YAXIS Tranfer Rates
	-b 1024
	DEF:Ni=stats.rrd:NETread:AVERAGE
	DEF:No=stats.rrd:NETwrite:AVERAGE
	DEF:Di=stats.rrd:DISKread:AVERAGE
	DEF:Do=stats.rrd:DISKwrite:AVERAGE
	DEF:Ti=stats.rrd:TAPEread:AVERAGE
	DEF:To=stats.rrd:TAPEwrite:AVERAGE
	DEF:Fi=stats.rrd:FCPin:AVERAGE
	DEF:Fo=stats.rrd:FCPout:AVERAGE
	CDEF:Nin=Ni,1024,*
	CDEF:Nout=No,1024,*
	CDEF:Din=Di,1024,*
	CDEF:Dout=Do,1024,*
	CDEF:Tin=Ti,1024,*
	CDEF:Tout=To,1024,*
	CDEF:Fin=Fi,1024,*
	CDEF:Fout=Fo,1024,*
	LINE2:Nin#0000FF:NETin
	LINE2:Nout#FF0000:NETout
	LINE2:Din#00CC00:DISKrd
	LINE2:Dout#FF00FF:DISKwr
	LINE2:Tin#555555:TAPErd
	LINE2:Tout#880000:TAPEwr
	LINE2:Fin#00FF00:FCPin
	LINE2:Fout#000088:FCPout
	COMMENT:\n
	GPRINT:Nin:LAST:NET   in   \: %5.1lf%s (cur)
	GPRINT:Nin:MAX: \: %5.1lf%s (max)
	GPRINT:Nin:MIN: \: %5.1lf%s (min)
	GPRINT:Nin:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:Nout:LAST:NET   out  \: %5.1lf%s (cur)
	GPRINT:Nout:MAX: \: %5.1lf%s (max)
	GPRINT:Nout:MIN: \: %5.1lf%s (min)
	GPRINT:Nout:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:Din:LAST:Disk Read  \: %5.1lf%s (cur)
	GPRINT:Din:MAX: \: %5.1lf%s (max)
	GPRINT:Din:MIN: \: %5.1lf%s (min)
	GPRINT:Din:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:Dout:LAST:Disk Write \: %5.1lf%s (cur)
	GPRINT:Dout:MAX: \: %5.1lf%s (max)
	GPRINT:Dout:MIN: \: %5.1lf%s (min)
	GPRINT:Dout:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:Tin:LAST:Tape Read  \: %5.1lf%s (cur)
	GPRINT:Tin:MAX: \: %5.1lf%s (max)
	GPRINT:Tin:MIN: \: %5.1lf%s (min)
	GPRINT:Tin:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:Tout:LAST:Tape Write \: %5.1lf%s (cur)
	GPRINT:Tout:MAX: \: %5.1lf%s (max)
	GPRINT:Tout:MIN: \: %5.1lf%s (min)
	GPRINT:Tout:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:Fin:LAST:FCP  In    \: %5.1lf%s (cur)
	GPRINT:Fin:MAX: \: %5.1lf%s (max)
	GPRINT:Fin:MIN: \: %5.1lf%s (min)
	GPRINT:Fin:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:Fout:LAST:FCP  Out   \: %5.1lf%s (cur)
	GPRINT:Fout:MAX: \: %5.1lf%s (max)
	GPRINT:Fout:MIN: \: %5.1lf%s (min)
	GPRINT:Fout:AVERAGE: \: %5.1lf%s (avg)\n
[cifs]
	TITLE NetApp CIFS Session Report
	YAXIS Sessions
	-X 0
	DEF:sess=cifs.rrd:sessions:AVERAGE
	DEF:share=cifs.rrd:openshares:AVERAGE
	DEF:file=cifs.rrd:openfiles:AVERAGE
	DEF:lock=cifs.rrd:locks:AVERAGE
	DEF:cred=cifs.rrd:credentials:AVERAGE
	DEF:dir=cifs.rrd:opendirectories:AVERAGE
	DEF:change=cifs.rrd:ChangeNotifies:AVERAGE
	LINE2:sess#0000FF:Sessions
	LINE2:share#FF0000:Shares
	LINE2:file#00CC00:Files
	LINE2:lock#FF00FF:Locks
	LINE2:cred#555555:Cred
	LINE2:dir#880000:Dir
	LINE2:change#00FF00:ChgNot
	COMMENT:\n
	GPRINT:sess:LAST:Sessions     \: %5.1lf%s (cur)
	GPRINT:sess:MAX: \: %5.1lf%s (max)
	GPRINT:sess:MIN: \: %5.1lf%s (min)
	GPRINT:sess:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:share:LAST:Open Share   \: %5.1lf%s (cur)
	GPRINT:share:MAX: \: %5.1lf%s (max)
	GPRINT:share:MIN: \: %5.1lf%s (min)
	GPRINT:share:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:file:LAST:Open Files   \: %5.1lf%s (cur)
	GPRINT:file:MAX: \: %5.1lf%s (max)
	GPRINT:file:MIN: \: %5.1lf%s (min)
	GPRINT:file:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:lock:LAST:Open Locks   \: %5.1lf%s (cur)
	GPRINT:lock:MAX: \: %5.1lf%s (max)
	GPRINT:lock:MIN: \: %5.1lf%s (min)
	GPRINT:lock:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:cred:LAST:Credentials  \: %5.1lf%s (cur)
	GPRINT:cred:MAX: \: %5.1lf%s (max)
	GPRINT:cred:MIN: \: %5.1lf%s (min)
	GPRINT:cred:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:dir:LAST:Open Dir.    \: %5.1lf%s (cur)
	GPRINT:dir:MAX: \: %5.1lf%s (max)
	GPRINT:dir:MIN: \: %5.1lf%s (min)
	GPRINT:dir:AVERAGE: \: %5.1lf%s (avg)\n
	GPRINT:change:LAST:ChangeNotif. \: %5.1lf%s (cur)
	GPRINT:change:MAX: \: %5.1lf%s (max)
	GPRINT:change:MIN: \: %5.1lf%s (min)
	GPRINT:change:AVERAGE: \: %5.1lf%s (avg)\n
[snapshot]
	FNPATTERN ^snapshot(.*).rrd
	TITLE Snapshot Utilization
	YAXIS % Full
	DEF:p@RRDIDX@=@RRDFN@:pct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
[quotas]
	FNPATTERN ^quotas,(.*).rrd
	TITLE User Quotas Utilization
	YAXIS % Full
	DEF:p@RRDIDX@=@RRDFN@:pct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
[xstatdisk]
	FNPATTERN ^xstatdisk,(.+).rrd
	TITLE Disk busy %
	YAXIS %busy
	-r
	-u 100
	DEF:busy@RRDIDX@=@RRDFN@:disk_busy:AVERAGE
	LINE1:busy@RRDIDX@#@COLOR@:@RRDPARAM@ Disk busy %
	GPRINT:busy@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:busy@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:busy@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:busy@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
[xstatqtree]
	FNPATTERN ^xstatqtree,(.+).rrd
	TITLE Qtree Operations (Total)
	YAXIS ops/second
	DEF:nfs_ops@RRDIDX@=@RRDFN@:nfs_ops:AVERAGE
	DEF:cifs_ops@RRDIDX@=@RRDFN@:cifs_ops:AVERAGE
	CDEF:tot_ops@RRDIDX@=nfs_ops@RRDIDX@,cifs_ops@RRDIDX@,+
	LINE2:tot_ops@RRDIDX@#@COLOR@:@RRDPARAM@ ops
	GPRINT:tot_ops@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:tot_ops@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:tot_ops@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:tot_ops@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
[xstatvolume]
	FNPATTERN ^xstatvolume,(.+).rrd
	TITLE Volume Data Statistics
	YAXIS Bytes/second
	-b 1024
	-r
	DEF:in@RRDIDX@=@RRDFN@:read_data:AVERAGE
	DEF:out@RRDIDX@=@RRDFN@:write_data:AVERAGE
	LINE1:in@RRDIDX@#@COLOR@:@RRDPARAM@  read
	GPRINT:in@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:in@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:in@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:in@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
	LINE1:out@RRDIDX@#@COLOR@:@RRDPARAM@ write
	GPRINT:out@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:out@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:out@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:out@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
[xstatlun]
	FNPATTERN ^xstatlun,(.+).rrd
	TITLE Lun Data Statistics
	YAXIS Bytes/second
	-b 1024
	-r
	DEF:in@RRDIDX@=@RRDFN@:read_data:AVERAGE
	DEF:out@RRDIDX@=@RRDFN@:write_data:AVERAGE
	LINE1:in@RRDIDX@#@COLOR@:@RRDPARAM@  read
	GPRINT:in@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:in@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:in@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:in@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
	LINE1:out@RRDIDX@#@COLOR@:@RRDPARAM@ write
	GPRINT:out@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:out@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:out@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:out@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
[xstatifnet]
	FNPATTERN ^xstatifnet,(.+).rrd
	TITLE Network Traffic
	YAXIS Bytes/second
	-b 1024
	-r
	DEF:in@RRDIDX@=@RRDFN@:recv_data:AVERAGE
	DEF:out@RRDIDX@=@RRDFN@:send_data:AVERAGE
	LINE1:in@RRDIDX@#@COLOR@:@RRDPARAM@  inbound
	GPRINT:in@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:in@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:in@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:in@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
	LINE1:out@RRDIDX@#@COLOR@:@RRDPARAM@ outbound
	GPRINT:out@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:out@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:out@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:out@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
[JVM]
	FNPATTERN ^JVM.rrd
	TITLE BEA/Weblogic JVM Heap Memory
	YAXIS Memory
	DEF:free=JVM.rrd:HeapFreeCurrent:AVERAGE
	DEF:total=JVM.rrd:HeapSizeCurrent:AVERAGE
	CDEF:used=total,free,-
	CDEF:mbfree=free,1048576,/
	CDEF:mbtotal=total,1048576,/
	CDEF:mbused=mbtotal,mbfree,-
	-l 0
	-b 1024
	AREA:used#0000FF:Used Memory
	AREA:free#00FF00:Free Memory:STACK
	COMMENT:\n
	GPRINT:used:LAST:Used \: %8.1lf%s (cur)
	GPRINT:used:MAX: \: %8.1lf%s (max)
	GPRINT:used:MIN: \: %8.1lf%s (min)
	GPRINT:used:AVERAGE: \: %8.1lf%s (avg)\n
	GPRINT:free:LAST:Free \: %8.1lf%s (cur)
	GPRINT:free:MAX: \: %8.1lf%s (max)
	GPRINT:free:MIN: \: %8.1lf%s (min)
	GPRINT:free:AVERAGE: \: %8.1lf%s (avg)\n
[JVM1]
	FNPATTERN ^JVM.rrd
	TITLE BEA/Weblogic JVM Heap Free
	YAXIS % Free
	DEF:free=JVM.rrd:HeapFreeCurrent:AVERAGE
	DEF:total=JVM.rrd:HeapSizeCurrent:AVERAGE
	CDEF:mbfree=free,1048576,/
	CDEF:mbtotal=total,1048576,/
	CDEF:mbused=mbtotal,mbfree,-
	CDEF:pctfree=mbfree,100,*,mbtotal,/
	-l 0 
	-u 100
	LINE2:pctfree#0000FF:Heap Memory
	COMMENT:\n
	GPRINT:mbused:LAST:Used \: %8.1lf MB (cur)
	GPRINT:mbused:MAX: \: %8.1lf MB (max)
	GPRINT:mbused:MIN: \: %8.1lf MB (min)
	GPRINT:mbused:AVERAGE: \: %8.1lf MB (avg)\n
	GPRINT:mbfree:LAST:Free \: %8.1lf MB (cur)
	GPRINT:mbfree:MAX: \: %8.1lf MB (max)
	GPRINT:mbfree:MIN: \: %8.1lf MB (min)
	GPRINT:mbfree:AVERAGE: \: %8.1lf MB (avg)\n
[JDBCConn]
	FNPATTERN ^JDBCConn,(.*).rrd
	TITLE BEA/Weblogic JDBCConnection Active
	YAXIS # ConnCount
	DEF:ACAC@RRDIDX@=@RRDFN@:ActConnAvgCnt:AVERAGE
	DEF:ACCC@RRDIDX@=@RRDFN@:ActConnCurrCnt:AVERAGE
	DEF:ACHC@RRDIDX@=@RRDFN@:ActConnHighCnt:AVERAGE
	LINE2:ACAC@RRDIDX@#@COLOR@:ACAC @RRDPARAM@ 
	LINE2:ACCC@RRDIDX@#@COLOR@:ACCC @RRDPARAM@ 
	LINE2:ACHC@RRDIDX@#@COLOR@:ACHC @RRDPARAM@ 
	-l 0
	COMMENT:\n
	GPRINT:ACAC@RRDIDX@:LAST:ActConnAvgCnt \: %4.2lf (cur)
	GPRINT:ACAC@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:ACAC@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:ACAC@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n
	GPRINT:ACCC@RRDIDX@:LAST:ActConnCurrCnt \: %4.2lf (cur)
	GPRINT:ACCC@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:ACCC@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:ACCC@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n
	GPRINT:ACHC@RRDIDX@:LAST:ActConnHighCnt \: %4.2lf (cur)
	GPRINT:ACHC@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:ACHC@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:ACHC@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n
[ExecQueue]
	FNPATTERN ^ExecQueue,(.*).rrd
	TITLE BEA/Weblogic Execute Queue Thread
	YAXIS # ConnCount
	DEF:ETCIC@RRDIDX@=@RRDFN@:ExecThrCurrIdleCnt:AVERAGE
	DEF:ETTC@RRDIDX@=@RRDFN@:ExecThrTotalCnt:AVERAGE
	DEF:PRCC@RRDIDX@=@RRDFN@:PendReqCurrCnt:AVERAGE
	DEF:SRTC@RRDIDX@=@RRDFN@:ServReqTotalCnt:AVERAGE
	LINE2:PRCC@RRDIDX@#@COLOR@:PendReq  @RRDPARAM@
	LINE2:ETCIC@RRDIDX@#@COLOR@:ExTIdle  @RRDPARAM@
	COMMENT:\n
	LINE2:SRTC@RRDIDX@#@COLOR@:ServReq  @RRDPARAM@
	LINE2:ETTC@RRDIDX@#@COLOR@:ExTTotal @RRDPARAM@
	-l 0
	COMMENT:\n
	GPRINT:ETCIC@RRDIDX@:LAST:ExecThrIdle  \: %4.2lf (cur)
	GPRINT:ETCIC@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:ETCIC@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:ETCIC@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n
	GPRINT:ETTC@RRDIDX@:LAST:ExecThrTotal \: %4.2lf (cur)
	GPRINT:ETTC@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:ETTC@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:ETTC@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n
	GPRINT:PRCC@RRDIDX@:LAST:PendReqCurr  \: %4.2lf (cur)
	GPRINT:PRCC@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:PRCC@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:PRCC@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n
	GPRINT:SRTC@RRDIDX@:LAST:ServReqTotal \: %4.2lf (cur)
	GPRINT:SRTC@RRDIDX@:MAX: \: %4.2lf (max)
	GPRINT:SRTC@RRDIDX@:MIN: \: %4.2lf (min)
	GPRINT:SRTC@RRDIDX@:AVERAGE: \: %4.2lf (avg)\n
[Session]
	TITLE Oracle Session/Process
	YAXIS % Sess/Procs
	DEF:Session=Session.rrd:SessUsedPct:AVERAGE
	DEF:Process=Session.rrd:ProcsUsedPct:AVERAGE
	DEF:CurrSess=Session.rrd:CurrSession:AVERAGE
	DEF:CurrProc=Session.rrd:CurrProcs:AVERAGE
	DEF:MaxSess=Session.rrd:MaxSession:AVERAGE
	DEF:MaxProc=Session.rrd:MaxProcs:AVERAGE
	CDEF:FreeProc=MaxProc,CurrProc,-
	CDEF:FreeSess=MaxSess,CurrSess,-
	-l 0
	-u 100
	LINE2:Session#0000FF:Sessions
	LINE2:Process#FF0000:Processes
	COMMENT:\n
	COMMENT: Sessions on Database (Current,Free,Maximum)\n
	GPRINT:CurrSess:LAST:Used \: %6.1lf (cur)
	GPRINT:CurrSess:MAX: \: %6.1lf (max)
	GPRINT:CurrSess:MIN: \: %6.1lf (min)
	GPRINT:CurrSess:AVERAGE: \: %6.1lf (avg)\n
	GPRINT:FreeSess:LAST:Free \: %6.1lf (cur)
	GPRINT:FreeSess:MAX: \: %6.1lf (max)
	GPRINT:FreeSess:MIN: \: %6.1lf (min)
	GPRINT:FreeSess:AVERAGE: \: %6.1lf (avg)\n
	GPRINT:MaxSess:LAST:Max  \: %6.1lf (cur)
	GPRINT:MaxSess:MAX: \: %6.1lf (max)
	GPRINT:MaxSess:MIN: \: %6.1lf (min)
	GPRINT:MaxSess:AVERAGE: \: %6.1lf (avg)\n
	COMMENT: Processes on Database (Current,Free,Maximum)\n
	GPRINT:CurrProc:LAST:Used \: %6.1lf (cur)
	GPRINT:CurrProc:MAX: \: %6.1lf (max)
	GPRINT:CurrProc:MIN: \: %6.1lf (min)
	GPRINT:CurrProc:AVERAGE: \: %6.1lf (avg)\n
	GPRINT:FreeProc:LAST:Free \: %6.1lf (cur)
	GPRINT:FreeProc:MAX: \: %6.1lf (max)
	GPRINT:FreeProc:MIN: \: %6.1lf (min)
	GPRINT:FreeProc:AVERAGE: \: %6.1lf (avg)\n
	GPRINT:MaxProc:LAST:Max  \: %6.1lf (cur)
	GPRINT:MaxProc:MAX: \: %6.1lf (max)
	GPRINT:MaxProc:MIN: \: %6.1lf (min)
	GPRINT:MaxProc:AVERAGE: \: %6.1lf (avg)\n
[HitCache]
	TITLE Oracle PIN/HIT Cache
	YAXIS % Hit/Pin
	DEF:PSQL=HitCache.rrd:PinSQLArea:AVERAGE
	DEF:PTBP=HitCache.rrd:PinTblProc:AVERAGE
	DEF:PBOD=HitCache.rrd:PinBody:AVERAGE
	DEF:PTRI=HitCache.rrd:PinTrigger:AVERAGE
	DEF:HSQL=HitCache.rrd:HitSQLArea:AVERAGE
	DEF:HTBP=HitCache.rrd:HitTblProc:AVERAGE
	DEF:HBOD=HitCache.rrd:HitBody:AVERAGE
	DEF:HTRI=HitCache.rrd:HitTrigger:AVERAGE
	DEF:BLBH=HitCache.rrd:BlBuffHit:AVERAGE
	DEF:ROWC=HitCache.rrd:RowCache:AVERAGE
	-u 100
	-l 0
	LINE2:PSQL#0000FF:PinSQLArea
	LINE2:PTBP#FF0000:PinTblProc
	LINE2:PBOD#00CC00:PinBody
	LINE2:PTRI#FF00FF:PinTrigger
	LINE2:BLBH#880000:Bl.Buff.Hit
	COMMENT:\n
	LINE2:HSQL#555555:HitSQLArea
	LINE2:HTBP#880000:HitTblProc
	LINE2:HBOD#00FF00:HitBody
	LINE2:HTRI#000088:HitTrigger
	LINE2:ROWC#008800:RowCache
	COMMENT:\n
	COMMENT:Pin HIT\n
	GPRINT:PSQL:LAST:SQLArea  \: %5.1lf (cur)
	GPRINT:PSQL:MAX: \: %5.1lf (max)
	GPRINT:PSQL:MIN: \: %5.1lf (min)
	GPRINT:PSQL:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:PTBP:LAST:TblProc  \: %5.1lf (cur)
	GPRINT:PTBP:MAX: \: %5.1lf (max)
	GPRINT:PTBP:MIN: \: %5.1lf (min)
	GPRINT:PTBP:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:PBOD:LAST:Body     \: %5.1lf (cur)
	GPRINT:PBOD:MAX: \: %5.1lf (max)
	GPRINT:PBOD:MIN: \: %5.1lf (min)
	GPRINT:PBOD:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:PTRI:LAST:Trigger  \: %5.1lf (cur)
	GPRINT:PTRI:MAX: \: %5.1lf (max)
	GPRINT:PTRI:MIN: \: %5.1lf (min)
	GPRINT:PTRI:AVERAGE: \: %5.1lf (avg)\n
	COMMENT:Cache HIT\n
	GPRINT:HSQL:LAST:SQLArea  \: %5.1lf (cur)
	GPRINT:HSQL:MAX: \: %5.1lf (max)
	GPRINT:HSQL:MIN: \: %5.1lf (min)
	GPRINT:HSQL:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:HTBP:LAST:TblProc  \: %5.1lf (cur)
	GPRINT:HTBP:MAX: \: %5.1lf (max)
	GPRINT:HTBP:MIN: \: %5.1lf (min)
	GPRINT:HTBP:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:HBOD:LAST:Body     \: %5.1lf (cur)
	GPRINT:HBOD:MAX: \: %5.1lf (max)
	GPRINT:HBOD:MIN: \: %5.1lf (min)
	GPRINT:HBOD:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:HTRI:LAST:Trigger  \: %5.1lf (cur)
	GPRINT:HTRI:MAX: \: %5.1lf (max)
	GPRINT:HTRI:MIN: \: %5.1lf (min)
	GPRINT:HTRI:AVERAGE: \: %5.1lf (avg)\n
	COMMENT:Buffer and Row Cache HIT\n
	GPRINT:BLBH:LAST:BlBuffer \: %5.1lf (cur)
	GPRINT:BLBH:MAX: \: %5.1lf (max)
	GPRINT:BLBH:MIN: \: %5.1lf (min)
	GPRINT:BLBH:AVERAGE: \: %5.1lf (avg)\n
	GPRINT:ROWC:LAST:RowCache \: %5.1lf (cur)
	GPRINT:ROWC:MAX: \: %5.1lf (max)
	GPRINT:ROWC:MIN: \: %5.1lf (min)
	GPRINT:ROWC:AVERAGE: \: %5.1lf (avg)\n
[TblSpace]
	FNPATTERN ^TblSpace,(.*).rrd
	TITLE TblSpace Utilization
	YAXIS % Full
	DEF:p@RRDIDX@=@RRDFN@:pct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
[TblSpace1]
	FNPATTERN ^TblSpace,(.*).rrd
	TITLE TblSpace Utilization
	YAXIS Used
	DEF:p@RRDIDX@=@RRDFN@:used:AVERAGE
	CDEF:p@RRDIDX@t=p@RRDIDX@,1024,*
	LINE2:p@RRDIDX@t#@COLOR@:@RRDPARAM@
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf KB (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf KB (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf KB (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf KB (avg)\n
[JMS]
	TITLE BEA/Weblogic JMS Connection
	YAXIS Num. of Conn.
	DEF:currconn=JMS.rrd:CurrConn:AVERAGE
	DEF:highconn=JMS.rrd:HighConn:AVERAGE
	DEF:currjmss=JMS.rrd:CurrJMSSrv:AVERAGE
	DEF:highjmss=JMS.rrd:HighJMSSrv:AVERAGE
	LINE2:currconn#0000FF:Conn Curr
	LINE2:highconn#00FF00:Conn High
	LINE2:currjmss#FF0000:JMSSrv Curr
	LINE2:highjmss#FF00FF:JMSSrv High
	-l 0
	COMMENT:\n
	COMMENT:Number of inbound connection\n
	GPRINT:currconn:LAST:Current \: %8.1lf (cur)
	GPRINT:currconn:MAX: \: %8.1lf (max)
	GPRINT:currconn:MIN: \: %8.1lf (min)
	GPRINT:currconn:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:highconn:LAST:Maximum \: %8.1lf (cur)
	GPRINT:highconn:MAX: \: %8.1lf (max)
	GPRINT:highconn:MIN: \: %8.1lf (min)
	GPRINT:highconn:AVERAGE: \: %8.1lf (avg)\n
	COMMENT:Number of JMSServers connected\n
	GPRINT:currjmss:LAST:Current \: %8.1lf (cur)
	GPRINT:currjmss:MAX: \: %8.1lf (max)
	GPRINT:currjmss:MIN: \: %8.1lf (min)
	GPRINT:currjmss:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:highjmss:LAST:Maximum \: %8.1lf (cur)
	GPRINT:highjmss:MAX: \: %8.1lf (max)
	GPRINT:highjmss:MIN: \: %8.1lf (min)
	GPRINT:highjmss:AVERAGE: \: %8.1lf (avg)\n
[JTA]
	TITLE BEA/Weblogic JTA Connection
	YAXIS Transaction
	DEF:AT=JTA.rrd:ActiveTrans:AVERAGE
	DEF:TC=JTA.rrd:TransCommitted:AVERAGE
	DEF:TR=JTA.rrd:TransRBack:AVERAGE
	DEF:TA=JTA.rrd:TransAbandoned:AVERAGE
	DEF:TT=JTA.rrd:TransTotCount:AVERAGE
	DEF:TH=JTA.rrd:TransHeuristics:AVERAGE
	DEF:SA=JTA.rrd:SecondsActive:AVERAGE
	LINE2:SA#00FF00:Seconds Active  
	LINE2:AT#0000FF:Trans Active    
	LINE2:TT#FF0000:Trans Total     
	COMMENT:\n
	LINE2:TA#FF00FF:Trans Abandoned 
	LINE2:TH#FFFF00:Trans Heuristics
	LINE2:TC#00FFFF:Trans Committed 
	LINE2:TR#808080:Trans RollBack  
	-l 0
	COMMENT:\n
	GPRINT:SA:LAST:Sec Active   \: %8.1lf (cur)
	GPRINT:SA:MAX: \: %8.1lf (max)
	GPRINT:SA:MIN: \: %8.1lf (min)
	GPRINT:SA:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:AT:LAST:Trans Active \: %8.1lf (cur)
	GPRINT:AT:MAX: \: %8.1lf (max)
	GPRINT:AT:MIN: \: %8.1lf (min)
	GPRINT:AT:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:TC:LAST:Trans Comm   \: %8.1lf (cur)
	GPRINT:TC:MAX: \: %8.1lf (max)
	GPRINT:TC:MIN: \: %8.1lf (min)
	GPRINT:TC:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:TR:LAST:Trans RBack  \: %8.1lf (cur)
	GPRINT:TR:MAX: \: %8.1lf (max)
	GPRINT:TR:MIN: \: %8.1lf (min)
	GPRINT:TR:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:TA:LAST:Trans Aband  \: %8.1lf (cur)
	GPRINT:TA:MAX: \: %8.1lf (max)
	GPRINT:TA:MIN: \: %8.1lf (min)
	GPRINT:TA:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:TH:LAST:Trans Heur.  \: %8.1lf (cur)
	GPRINT:TH:MAX: \: %8.1lf (max)
	GPRINT:TH:MIN: \: %8.1lf (min)
	GPRINT:TH:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:TT:LAST:Trans Total  \: %8.1lf (cur)
	GPRINT:TT:MAX: \: %8.1lf (max)
	GPRINT:TT:MIN: \: %8.1lf (min)
	GPRINT:TT:AVERAGE: \: %8.1lf (avg)\n
[RollBack]
	FNPATTERN ^RollBack,(.*).rrd
	TITLE RollBack Utilization
	YAXIS % Full
	DEF:p@RRDIDX@=@RRDFN@:pct:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-u 100
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)
	GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)
	GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
[InvObj]
	TITLE Database Invalid Objects
	YAXIS Number
	DEF:red=InvObj.rrd:red:AVERAGE
	DEF:yel=InvObj.rrd:yellow:AVERAGE
	DEF:gre=InvObj.rrd:green:AVERAGE
	LINE2:red#FF0000:Inv Error
	LINE2:yel#FF8000:Inv Warning
	LINE2:gre#00FF00:Inv Ignore
	-l 0
	COMMENT:\n
	GPRINT:red:LAST:InvObj Err  \: %8.1lf (cur)
	GPRINT:red:MAX: \: %8.1lf (max)
	GPRINT:red:MIN: \: %8.1lf (min)
	GPRINT:red:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:yel:LAST:InvObj Warn \: %8.1lf (cur)
	GPRINT:yel:MAX: \: %8.1lf (max)
	GPRINT:yel:MIN: \: %8.1lf (min)
	GPRINT:yel:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:gre:LAST:InvObj Ign  \: %8.1lf (cur)
	GPRINT:gre:MAX: \: %8.1lf (max)
	GPRINT:gre:MIN: \: %8.1lf (min)
	GPRINT:gre:AVERAGE: \: %8.1lf (avg)\n
[MemReq]
	TITLE Database Memory Request
	YAXIS Failed Req
	DEF:rf=MemReq.rrd:ResFree:AVERAGE
	DEF:af=MemReq.rrd:ResAvgFree:AVERAGE
	DEF:ru=MemReq.rrd:ResUsed:AVERAGE
	DEF:au=MemReq.rrd:ResAvgUsed:AVERAGE
	DEF:rq=MemReq.rrd:ReqFail:AVERAGE
	DEF:fs=MemReq.rrd:FailSize:AVERAGE
	LINE2:rq#0000FF:Request Fail
	-b 1024
	COMMENT:\n
	COMMENT:Request Failed\n
	GPRINT:rq:LAST:Req Failed \: %8.1lf (cur)
	GPRINT:rq:MAX: \: %8.1lf (max)
	GPRINT:rq:MIN: \: %8.1lf (min)
	GPRINT:rq:AVERAGE: \: %8.1lf (avg)\n
	GPRINT:fs:LAST:Last Size  \: %8.1lf%s (cur)
	GPRINT:fs:MAX: \: %8.1lf%s (max)
	GPRINT:fs:MIN: \: %8.1lf%s (min)
	GPRINT:fs:AVERAGE: \: %8.1lf%s (avg)\n
	COMMENT:Resource Free\n
	GPRINT:rf:LAST:Free       \: %8.1lf%s (cur)
	GPRINT:rf:MAX: \: %8.1lf%s (max)
	GPRINT:rf:MIN: \: %8.1lf%s (min)
	GPRINT:rf:AVERAGE: \: %8.1lf%s (avg)\n
	GPRINT:af:LAST:Avg Free   \: %8.1lf%s (cur)
	GPRINT:af:MAX: \: %8.1lf%s (max)
	GPRINT:af:MIN: \: %8.1lf%s (min)
	GPRINT:af:AVERAGE: \: %8.1lf%s (avg)\n
	COMMENT:Resource Used\n
	GPRINT:ru:LAST:Used       \: %8.1lf%s (cur)
	GPRINT:ru:MAX: \: %8.1lf%s (max)
	GPRINT:ru:MIN: \: %8.1lf%s (min)
	GPRINT:ru:AVERAGE: \: %8.1lf%s (avg)\n
	GPRINT:au:LAST:Avg Used   \: %8.1lf%s (cur)
	GPRINT:au:MAX: \: %8.1lf%s (max)
	GPRINT:au:MIN: \: %8.1lf%s (min)
	GPRINT:au:AVERAGE: \: %8.1lf%s (avg)\n
[snapmirr]
	FNPATTERN ^snapmirr,(.*).rrd
	TITLE Snapmirror Last Transfer Size
	YAXIS Used
	DEF:p@RRDIDX@=@RRDFN@:size:AVERAGE
	LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@
	-b 1024
	-l 0
	GPRINT:p@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:p@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:p@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:p@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
[snaplist2]
	FNPATTERN ^snaplist,(.*).rrd
	TITLE Snaplist Data Size
	YAXIS Used
	DEF:y@RRDIDX@=@RRDFN@:youngsize:AVERAGE
	DEF:o@RRDIDX@=@RRDFN@:oldsize:AVERAGE
	LINE2:y@RRDIDX@#@COLOR@:youngest @RRDPARAM@
	LINE2:o@RRDIDX@#@COLOR@:oldest   @RRDPARAM@
	COMMENT:\n
	-b 1024
	-l 0
	GPRINT:y@RRDIDX@:LAST:Youngest \: %8.1lf%s (cur)
	GPRINT:y@RRDIDX@:MAX:         \: %8.1lf%s (max)
	GPRINT:y@RRDIDX@:MIN:         \: %8.1lf%s (min)
	GPRINT:y@RRDIDX@:AVERAGE:         \: %8.1lf%s (avg)\n
	GPRINT:o@RRDIDX@:LAST:Oldest   \: %8.1lf%s (cur)
	GPRINT:o@RRDIDX@:MAX:         \: %8.1lf%s (max)
	GPRINT:o@RRDIDX@:MIN:         \: %8.1lf%s (min)
	GPRINT:o@RRDIDX@:AVERAGE:         \: %8.1lf%s (avg)\n
[snaplist1]
	FNPATTERN ^snaplist,(.*).rrd
	TITLE Youngest Snaplist Data Size
	YAXIS Used
	DEF:y@RRDIDX@=@RRDFN@:youngsize:AVERAGE
	LINE2:y@RRDIDX@#@COLOR@:@RRDPARAM@
	-b 1024
	-l 0
	GPRINT:y@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:y@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:y@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:y@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
[snaplist]
	FNPATTERN ^snaplist,(.*).rrd
	TITLE Oldest Snaplist Data Size
	YAXIS Used
	DEF:o@RRDIDX@=@RRDFN@:oldsize:AVERAGE
	LINE2:o@RRDIDX@#@COLOR@:@RRDPARAM@
	-b 1024
	-l 0
	GPRINT:o@RRDIDX@:LAST: \: %8.1lf%s (cur)
	GPRINT:o@RRDIDX@:MAX: \: %8.1lf%s (max)
	GPRINT:o@RRDIDX@:MIN: \: %8.1lf%s (min)
	GPRINT:o@RRDIDX@:AVERAGE: \: %8.1lf%s (avg)\n
####### End of graph definitions from hobbit-perl-client #############

########### z Systems graphs (z/OS, z/VSE, z/VM) #####################
# Begin System z graph definitions
# System z paging rate
[paging]
	 FNPATTERN ^paging.(.+).rrd
	 TITLE Paging Rate
	 YAXIS per second
	 DEF:paging@RRDIDX@=@RRDFN@:rate:AVERAGE
	 LINE2:paging@RRDIDX@#@COLOR@:@RRDPARAM@
	 GPRINT:paging@RRDIDX@:LAST: \: %5.1lf (cur)
	 GPRINT:paging@RRDIDX@:MAX: \: %5.1lf (max)
	 GPRINT:paging@RRDIDX@:MIN: \: %5.1lf (min)
	 GPRINT:paging@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

# z/VM Minidisk Cache reads/writes
[mdc]
	 TITLE Minidisk Cache
	 YAXIS per second
	 DEF:rd=mdc.rrd:reads:AVERAGE
	 DEF:wr=mdc.rrd:writes:AVERAGE
	 LINE2:rd#0000FF:Reads
	 GPRINT:rd:LAST: \: %6.1lf%s (cur)
	 GPRINT:rd:MAX: \: %6.1lf%s (max)
	 GPRINT:rd:MIN: \: %6.1lf%s (min)
	 GPRINT:rd:AVERAGE: \: %6.1lf%s (avg)\n
	 LINE2:wr#00FF00:Writes
	 GPRINT:wr:LAST: \: %6.1lf%s (cur)
	 GPRINT:wr:MAX: \: %6.1lf%s (max)
	 GPRINT:wr:MIN: \: %6.1lf%s (min)
	 GPRINT:wr:AVERAGE: \: %6.1lf%s (avg)\n

# z/VM Minidisk Cache read hit ratio
[mdchitpct]
	 TITLE Minidisk Cache Hit Ratio
	 YAXIS Percent
	 DEF:pct=mdchitpct.rrd:hitpct:AVERAGE
	 LINE2:pct#00CC00:Hit Percent
	 GPRINT:pct:LAST: \: %3.1lf (cur)
	 GPRINT:pct:MAX: \: %3.1lf (max)
	 GPRINT:pct:MIN: \: %3.1lf (min)
	 GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n

# CICS Transaction Rate (z/OS & z/VSE)
[cics]
	 FNPATTERN ^cics.(.+).rrd
	 TITLE CICS Transaction Rate
	 YAXIS Transactions
	 DEF:nt@RRDIDX@=@RRDFN@:numtrans:AVERAGE
	 LINE2:nt@RRDIDX@#@COLOR@:@RRDPARAM@
	 GPRINT:nt@RRDIDX@:LAST: \: %5.1lf (cur)
	 GPRINT:nt@RRDIDX@:MAX: \: %5.1lf (max)
	 GPRINT:nt@RRDIDX@:MIN: \: %5.1lf (min)
	 GPRINT:nt@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

# CICS DSA Utilization (z/OS & z/VSE)
[dsa]
	 FNPATTERN ^dsa.(.+).rrd
	 TITLE CICS DSA Utilization
	 YAXIS Percent Utilization
	 DEF:dsa@RRDIDX@=@RRDFN@:dsa:AVERAGE
	 DEF:edsa@RRDIDX@=@RRDFN@:edsa:AVERAGE
	 LINE2:dsa@RRDIDX@#@COLOR@:@RRDPARAM@  DSA
	 GPRINT:dsa@RRDIDX@:LAST: \: %3.1lf (cur)
	 GPRINT:dsa@RRDIDX@:MAX: \: %3.1lf (max)
	 GPRINT:dsa@RRDIDX@:MIN: \: %3.1lf (min)
	 GPRINT:dsa@RRDIDX@:AVERAGE: \: %3.1lf (avg)\n
	 LINE2:edsa@RRDIDX@#@COLOR@:@RRDPARAM@ EDSA
	 GPRINT:edsa@RRDIDX@:LAST: \: %3.1lf (cur)
	 GPRINT:edsa@RRDIDX@:MAX: \: %3.1lf (max)
	 GPRINT:edsa@RRDIDX@:MIN: \: %3.1lf (min)
	 GPRINT:edsa@RRDIDX@:AVERAGE: \: %3.1lf (avg)\n

# Getvis Utilization (z/VSE)
[getvis]
	 FNPATTERN ^getvis.(.+).rrd
	 TITLE VSE Getvis Utilization
	 YAXIS % Used
	 DEF:below@RRDIDX@=@RRDFN@:below:AVERAGE
	 DEF:any@RRDIDX@=@RRDFN@:any:AVERAGE
	 LINE2:below@RRDIDX@#@COLOR@:@RRDPARAM@  Below
	 GPRINT:below@RRDIDX@:LAST: \: %3.1lf (cur)
	 GPRINT:below@RRDIDX@:MAX: \: %3.1lf (max)
	 GPRINT:below@RRDIDX@:MIN: \: %3.1lf (min)
	 GPRINT:below@RRDIDX@:AVERAGE: \: %3.1lf (avg)\n
	 LINE2:any@RRDIDX@#@COLOR@:@RRDPARAM@  Any
	 GPRINT:any@RRDIDX@:LAST: \: %3.1lf (cur)
	 GPRINT:any@RRDIDX@:MAX: \: %3.1lf (max)
	 GPRINT:any@RRDIDX@:MIN: \: %3.1lf (min)
	 GPRINT:any@RRDIDX@:AVERAGE: \: %3.1lf (avg)\n

# z/OS Maxuser Analysis
[maxuser]
	 FNPATTERN ^maxuser.(.+).rrd
	 TITLE ASID Analysis
	 YAXIS Percent
	 DEF:util@RRDIDX@=@RRDFN@:util:AVERAGE
	 LINE2:util@RRDIDX@#@COLOR@:@RRDPARAM@
	 GPRINT:util@RRDIDX@:LAST: \: %3.1lf (cur)
	 GPRINT:util@RRDIDX@:MAX: \: %3.1lf (max)
	 GPRINT:util@RRDIDX@:MIN: \: %3.1lf (min)
	 GPRINT:util@RRDIDX@:AVERAGE: \: %3.1lf (avg)\n

# z/VSE NPARTS Utilization
[nparts]
	 TITLE NPARTS Utilization
	 YAXIS Percent
	 DEF:pct=nparts.rrd:util:AVERAGE
	 LINE2:pct#00CC00:NParts
	 GPRINT:pct:LAST: \: %3.1lf (cur)
	 GPRINT:pct:MAX: \: %3.1lf (max)
	 GPRINT:pct:MIN: \: %3.1lf (min)
	 GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n
# End of System z graph definitions

########### ifmib graphs (NOTE: Preliminary) #####################
[ifmib]
	FNPATTERN ^ifmib.(.+).rrd
	TITLE Traffic
	YAXIS Bits/second
	DEF:bytesin@RRDIDX@=@RRDFN@:InOctets:AVERAGE
	DEF:bytesout@RRDIDX@=@RRDFN@:OutOctets:AVERAGE
	CDEF:bitsin@RRDIDX@=bytesin@RRDIDX@,8,*
	CDEF:bitsout@RRDIDX@=bytesout@RRDIDX@,8,*
	CDEF:mbitsin@RRDIDX@=bytesin@RRDIDX@,8,*,1000000,/
	CDEF:mbitsout@RRDIDX@=bytesout@RRDIDX@,8,*,1000000,/
	-l 0
	AREA:bitsin@RRDIDX@#00FF00:@RRDMETA@  inbound
	GPRINT:mbitsin@RRDIDX@:LAST: %6.1lfM (cur) \:
	GPRINT:mbitsin@RRDIDX@:MAX: %6.1lfM (max) \:
	GPRINT:mbitsin@RRDIDX@:MIN: %6.1lfM (min) \:
	GPRINT:mbitsin@RRDIDX@:AVERAGE: %6.1lfM (avg)\n
	LINE1:bitsout@RRDIDX@#0000FF:@RRDMETA@ outbound
	GPRINT:mbitsout@RRDIDX@:LAST: %6.1lfM (cur) \:
	GPRINT:mbitsout@RRDIDX@:MAX: %6.1lfM (max) \:
	GPRINT:mbitsout@RRDIDX@:MIN: %6.1lfM (min) \:
	GPRINT:mbitsout@RRDIDX@:AVERAGE: %6.1lfM (avg)\n

[ifmib1]
	FNPATTERN ^ifmib.(.+).rrd
	TITLE Traffic
	YAXIS Packets/second
	DEF:pktsin@RRDIDX@=@RRDFN@:InUcastPkts:AVERAGE
	DEF:pktsout@RRDIDX@=@RRDFN@:OutUcastPkts:AVERAGE
	CDEF:mpktsin@RRDIDX@=pktsin@RRDIDX@,8,*,1000000,/
	CDEF:mpktsout@RRDIDX@=pktsout@RRDIDX@,8,*,1000000,/
	AREA:pktsin@RRDIDX@#00FF00:@RRDMETA@  inbound
	GPRINT:mpktsin@RRDIDX@:LAST: %6.1lfM (cur) \:
	GPRINT:mpktsin@RRDIDX@:MAX: %6.1lfM (max) \:
	GPRINT:mpktsin@RRDIDX@:MIN: %6.1lfM (min) \:
	GPRINT:mpktsin@RRDIDX@:AVERAGE: %6.1lfM (avg)\n
	LINE1:pktsout@RRDIDX@#0000FF:@RRDMETA@ outbound
	GPRINT:mpktsout@RRDIDX@:LAST: %6.1lfM (cur) \:
	GPRINT:mpktsout@RRDIDX@:MAX: %6.1lfM (max) \:
	GPRINT:mpktsout@RRDIDX@:MIN: %6.1lfM (min) \:
	GPRINT:mpktsout@RRDIDX@:AVERAGE: %6.1lfM (avg)\n

[ifmib2]
	FNPATTERN ^ifmib.(.+).rrd
	TITLE Errors
	YAXIS Errors/second
	DEF:pktsin@RRDIDX@=@RRDFN@:ifInErrors:AVERAGE
	DEF:pktsout@RRDIDX@=@RRDFN@:ifOutErrors:AVERAGE
	DEF:pktsdisc@RRDIDX@=@RRDFN@:ifOutDiscards:AVERAGE
	LINE1:pktsin@RRDIDX@#00FF00:@RRDMETA@ IN     errors
	GPRINT:pktsin@RRDIDX@:LAST: %6.1lf (cur) \:
	GPRINT:pktsin@RRDIDX@:MAX: %6.1lf (max) \:
	GPRINT:pktsin@RRDIDX@:MIN: %6.1lf (min) \:
	GPRINT:pktsin@RRDIDX@:AVERAGE: %6.1lf (avg)\n
	LINE1:pktsout@RRDIDX@#0000FF:@RRDMETA@ OUT    errors
	GPRINT:pktsout@RRDIDX@:LAST: %6.1lf (cur) \:
	GPRINT:pktsout@RRDIDX@:MAX: %6.1lf (max) \:
	GPRINT:pktsout@RRDIDX@:MIN: %6.1lf (min) \:
	GPRINT:pktsout@RRDIDX@:AVERAGE: %6.1lf (avg)\n
	LINE1:pktsdisc@RRDIDX@#FF0000:@RRDMETA@ OUT discarded
	GPRINT:pktsdisc@RRDIDX@:LAST: %6.1lf (cur) \:
	GPRINT:pktsdisc@RRDIDX@:MAX: %6.1lf (max) \:
	GPRINT:pktsdisc@RRDIDX@:MIN: %6.1lf (min) \:
	GPRINT:pktsdisc@RRDIDX@:AVERAGE: %6.1lf (avg)\n

[ifmib3]
	FNPATTERN ^ifmib.(.+).rrd
	TITLE Output queue
	YAXIS Packets
	DEF:qlen@RRDIDX@=@RRDFN@:ifOutQLen:AVERAGE
	LINE1:qlen@RRDIDX@#0000FF:@RRDMETA@ Queue length
	GPRINT:qlen@RRDIDX@:LAST: %6.1lf (cur) \:
	GPRINT:qlen@RRDIDX@:MAX: %6.1lf (max) \:
	GPRINT:qlen@RRDIDX@:MIN: %6.1lf (min) \:
	GPRINT:qlen@RRDIDX@:AVERAGE: %6.1lf (avg)\n

########### end of ifmib graphs ###########

