summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/hobbitmon/diffs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-09 02:33:48 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-09 02:33:48 (GMT)
commit7cd3835eeb8d64936731b10395836be332705fb8 (patch)
treeaab766a765784c2e5d71c0f4f902e35e08b4c51f /abs/mv-core/hobbitmon/diffs
parent1ba69cc033dfbd0a6c4c29c6d877c7e753f96e8e (diff)
downloadlinhes_pkgbuild-7cd3835eeb8d64936731b10395836be332705fb8.zip
linhes_pkgbuild-7cd3835eeb8d64936731b10395836be332705fb8.tar.gz
linhes_pkgbuild-7cd3835eeb8d64936731b10395836be332705fb8.tar.bz2
hobbit server
Diffstat (limited to 'abs/mv-core/hobbitmon/diffs')
-rw-r--r--abs/mv-core/hobbitmon/diffs/clientlaunch.cfg43
-rw-r--r--abs/mv-core/hobbitmon/diffs/clientlaunch.cfg.diff12
-rw-r--r--abs/mv-core/hobbitmon/diffs/clientlaunch.cfg.orig37
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg1173
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg.diff42
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg.orig1138
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg240
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg.diff40
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg.orig206
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitserver.cfg226
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitserver.cfg.diff45
-rw-r--r--abs/mv-core/hobbitmon/diffs/hobbitserver.cfg.orig224
12 files changed, 3426 insertions, 0 deletions
diff --git a/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg b/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg
new file mode 100644
index 0000000..8457a8f
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg
@@ -0,0 +1,43 @@
+#
+# The clientlaunch.cfg file is loaded by "hobbitlaunch".
+# It controls which of the Hobbit client-side modules to run,
+# (both the main client "hobbitclient.sh" and any client-side
+# extensions); how often, and with which parameters, options
+# and environment variables.
+#
+# Note: On the Hobbit *server* itself, this file is normally
+# NOT used. Instead, both the client- and server-tasks
+# are controlled by the hobbitlaunch.cfg file.
+#
+
+# msgcache is used for passive clients, that cannot connect
+# directly to the Hobbit server. This is not the default
+# setup, so this task is normally disabled.
+[msgcache]
+ DISABLED
+ ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
+ CMD $HOBBITCLIENTHOME/bin/msgcache --no-daemon --pidfile=$HOBBITCLIENTHOME/logs/msgcache.pid
+ LOGFILE $HOBBITCLIENTHOME/logs/msgcache.log
+
+# The main client task
+[client]
+ ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
+ CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh
+ LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
+ INTERVAL 5m
+
+# ORCA data collector. This is an experimental add-on module,
+# the data sent by this module are not processed by Hobbit 4.2.
+[orcadata]
+ DISABLED
+ ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
+ CMD $HOBBITCLIENTHOME/bin/orcahobbit --orca=/usr/local/orca/orcallator
+ LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
+ INTERVAL 5m
+
+[memmyth]
+ ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
+ CMD /data/srv/hobbit/client/ext/hobbit-mem-myth.sh
+ LOGFILE /data/srv/hobbit/client/mythmem.log
+ INTERVAL 5m
+
diff --git a/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg.diff b/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg.diff
new file mode 100644
index 0000000..76bb678
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg.diff
@@ -0,0 +1,12 @@
+--- clientlaunch.cfg.orig 2008-01-08 09:24:06.000000000 -0600
++++ clientlaunch.cfg 2008-01-08 10:17:26.000000000 -0600
+@@ -35,3 +35,9 @@
+ LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
+ INTERVAL 5m
+
++[memmyth]
++ ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
++ CMD /data/srv/hobbit/client/ext/hobbit-mem-myth.sh
++ LOGFILE /data/srv/hobbit/client/mythmem.log
++ INTERVAL 5m
++
diff --git a/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg.orig b/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg.orig
new file mode 100644
index 0000000..cfda695
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/clientlaunch.cfg.orig
@@ -0,0 +1,37 @@
+#
+# The clientlaunch.cfg file is loaded by "hobbitlaunch".
+# It controls which of the Hobbit client-side modules to run,
+# (both the main client "hobbitclient.sh" and any client-side
+# extensions); how often, and with which parameters, options
+# and environment variables.
+#
+# Note: On the Hobbit *server* itself, this file is normally
+# NOT used. Instead, both the client- and server-tasks
+# are controlled by the hobbitlaunch.cfg file.
+#
+
+# msgcache is used for passive clients, that cannot connect
+# directly to the Hobbit server. This is not the default
+# setup, so this task is normally disabled.
+[msgcache]
+ DISABLED
+ ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
+ CMD $HOBBITCLIENTHOME/bin/msgcache --no-daemon --pidfile=$HOBBITCLIENTHOME/logs/msgcache.pid
+ LOGFILE $HOBBITCLIENTHOME/logs/msgcache.log
+
+# The main client task
+[client]
+ ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
+ CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh
+ LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
+ INTERVAL 5m
+
+# ORCA data collector. This is an experimental add-on module,
+# the data sent by this module are not processed by Hobbit 4.2.
+[orcadata]
+ DISABLED
+ ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
+ CMD $HOBBITCLIENTHOME/bin/orcahobbit --orca=/usr/local/orca/orcallator
+ LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
+ INTERVAL 5m
+
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg b/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg
new file mode 100644
index 0000000..c11ee6c
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg
@@ -0,0 +1,1173 @@
+# This file defines how RRD graphs are generated by the hobbitgraph CGI.
+#
+# Each section begins with a "[SERVICE]" indicator - this is the name passed
+# to hobbitgraph.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 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
+
+[bbgen]
+ TITLE bbgen Runtime
+ YAXIS Seconds
+ DEF:rt=bbgen.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
+
+[bbtest]
+ TITLE bbtest Run Time
+ YAXIS Seconds
+ DEF:rt=bbtest.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
+
+[bbproxy]
+ TITLE bbproxy Average Queue Time
+ YAXIS Seconds
+ DEF:rt=bbproxy.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
+
+[hobbitd]
+ TITLE hobbitd Incoming Messages
+ YAXIS Messages
+ DEF:in=hobbitd.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
+
+[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
+
+[storage]
+ TITLE Storage Groups
+ YAXIS recordings
+ DEF:storage1=storage.rrd:rectvtotal:AVERAGE
+ LINE2:storage1#00CCCC:current recorded
+
+ DEF:rectime=storage.rrd:rectvtime:AVERAGE
+ LINE2:rectime#000000:current recorded time
+
+ DEF:livetime=storage.rrd:livetvtime:AVERAGE
+ LINE2:livetime#00CC11:current live time
+
+
+[memmbe]
+ TITLE Memory usage for MythBackend
+ YAXIS mythbackend
+ DEF:vmsize=memmbe.rrd:VmSize:AVERAGE
+ LINE2:vmsize#00CCCC:vmsize
+
+ DEF:vmpeak=memmbe.rrd:VmPeak:AVERAGE
+ LINE2:vmpeak#000000:vmpeak
+
+ DEF:vmrss=memmbe.rrd:VmRSS:AVERAGE
+ LINE2:vmrss#00CC11:vmrss
+
+[memmfe]
+ TITLE Memory usage for MythFrontend
+ YAXIS mythfrontend
+ DEF:vmsize=memmfe.rrd:VmSize:AVERAGE
+ LINE2:vmsize#00CCCC:vmsize
+
+ DEF:vmpeak=memmfe.rrd:VmPeak:AVERAGE
+ LINE2:vmpeak#000000:vmpeak
+
+ DEF:vmrss=memmfe.rrd:VmRSS:AVERAGE
+ LINE2:vmrss#00CC11:vmrss
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg.diff b/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg.diff
new file mode 100644
index 0000000..1ca4caf
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg.diff
@@ -0,0 +1,42 @@
+--- hobbitgraph.cfg.orig 2008-01-08 09:24:59.000000000 -0600
++++ hobbitgraph.cfg 2008-01-08 09:12:51.000000000 -0600
+@@ -1135,4 +1135,39 @@
+ GPRINT:cnt@RRDIDX@:MIN: %6.1lf (min) \:
+ GPRINT:cnt@RRDIDX@:AVERAGE: %6.1lf (avg)\n
+
++[storage]
++ TITLE Storage Groups
++ YAXIS recordings
++ DEF:storage1=storage.rrd:rectvtotal:AVERAGE
++ LINE2:storage1#00CCCC:current recorded
+
++ DEF:rectime=storage.rrd:rectvtime:AVERAGE
++ LINE2:rectime#000000:current recorded time
++
++ DEF:livetime=storage.rrd:livetvtime:AVERAGE
++ LINE2:livetime#00CC11:current live time
++
++
++[memmbe]
++ TITLE Memory usage for MythBackend
++ YAXIS mythbackend
++ DEF:vmsize=memmbe.rrd:VmSize:AVERAGE
++ LINE2:vmsize#00CCCC:vmsize
++
++ DEF:vmpeak=memmbe.rrd:VmPeak:AVERAGE
++ LINE2:vmpeak#000000:vmpeak
++
++ DEF:vmrss=memmbe.rrd:VmRSS:AVERAGE
++ LINE2:vmrss#00CC11:vmrss
++
++[memmfe]
++ TITLE Memory usage for MythFrontend
++ YAXIS mythfrontend
++ DEF:vmsize=memmfe.rrd:VmSize:AVERAGE
++ LINE2:vmsize#00CCCC:vmsize
++
++ DEF:vmpeak=memmfe.rrd:VmPeak:AVERAGE
++ LINE2:vmpeak#000000:vmpeak
++
++ DEF:vmrss=memmfe.rrd:VmRSS:AVERAGE
++ LINE2:vmrss#00CC11:vmrss
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg.orig b/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg.orig
new file mode 100644
index 0000000..e60a2a5
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitgraph.cfg.orig
@@ -0,0 +1,1138 @@
+# This file defines how RRD graphs are generated by the hobbitgraph CGI.
+#
+# Each section begins with a "[SERVICE]" indicator - this is the name passed
+# to hobbitgraph.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 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
+
+[bbgen]
+ TITLE bbgen Runtime
+ YAXIS Seconds
+ DEF:rt=bbgen.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
+
+[bbtest]
+ TITLE bbtest Run Time
+ YAXIS Seconds
+ DEF:rt=bbtest.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
+
+[bbproxy]
+ TITLE bbproxy Average Queue Time
+ YAXIS Seconds
+ DEF:rt=bbproxy.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
+
+[hobbitd]
+ TITLE hobbitd Incoming Messages
+ YAXIS Messages
+ DEF:in=hobbitd.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
+
+[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
+
+
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg b/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg
new file mode 100644
index 0000000..96e4681
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg
@@ -0,0 +1,240 @@
+#
+# The hobbitlaunch.cfg file is loaded by "hobbitlaunch".
+# It controls which of the Hobbit modules to run, how often, and
+# with which parameters, options and environment variables.
+#
+
+# This is the main Hobbit daemon. This must be running on at least
+# one server in your setup. If you are setting up a server to do
+# just network tests or run bbproxy, it is OK to disable this (then
+# you also need to remove the "NEEDS hobbitd" lines for the tasks
+# you want to run).
+[hobbitd]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log --admin-senders=127.0.0.1,$BBSERVERIP --store-clientlogs=!msgs
+
+
+# "bbstatus" saves status-logs in text- and html-format, like the old Big Brother
+# daemon does. Unless you are using add-ons that directly access the log-files, you
+# will not need to run this module, and it is recommended that you keep it disabled
+# since storing the raw logs on disk can cause a significant load on your server.
+
+[bbstatus]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/status.log hobbitd_filestore --status --html
+
+
+# "bbhistory" keeps track of the status changes that happen, in a manner that is
+# compatible with the Big Brother history logs. You probably do want to run this.
+
+[bbhistory]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=stachg --log=$BBSERVERLOGS/history.log hobbitd_history
+
+
+# "hostdata" stores the Hobbit client messages on disk when some status for a host
+# changes. This lets you access a lot of data collected from a host around the time
+# when a problem occurred. However, it may use a significant amount of disk space
+# if you have lots of Hobbit clients.
+# Note: The --store-clientlogs option for the [hobbitd] provides control over
+# which status-changes will cause a client message to be stored.
+[hostdata]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=clichg --log=$BBSERVERLOGS/hostdata.log hobbitd_hostdata
+
+
+# "bbdata" saves information sent using the BB "data" protocol, like the old Big Brother
+# daemon does. Unless you are using add-ons that directly access the data-files, you
+# will not need to run this module, and it is recommended that you keep it disabled
+# since storing the raw data on disk can cause a significant load on your BB server.
+# RRD graphs uses data-files, but since RRD is handled by the hobbitd_rrd module, you do
+# not need to run the "bbdata" module to get RRD graphs.
+
+[bbdata]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/data.log hobbitd_filestore --data
+
+
+# "bbnotes" saves web note-files, that are sent using the BB "notes" protocol. This is
+# disabled by default; if you use the BB "notes" protocol, then you should enable this.
+
+[bbnotes]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=notes --log=$BBSERVERLOGS/notes.log hobbitd_filestore --notes
+
+
+# "bbenadis" updates the files used to indicate that a host or test has been enabled or disabled.
+# Unless you are running server side scripts that look at these files, you do not need this.
+
+[bbenadis]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=enadis --log=$BBSERVERLOGS/enadis.log hobbitd_filestore --enadis
+
+
+# "bbpage" sends out alerts. Note that this module is NOT compatible with the old Big Brother
+# system - it uses a different configuration file to determine how alerts get sent. If you want
+# alerts to go out via pager, e-mail or some other means, then you must run this module.
+
+[bbpage]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=page --log=$BBSERVERLOGS/page.log hobbitd_alert --checkpoint-file=$BBTMP/alert.chk --checkpoint-interval=600
+
+
+# "rrdstatus" updates RRD files with information that arrives as "status" messages.
+# If you want RRD graphs of your monitoring data, then you want to run this.
+
+[rrdstatus]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd
+
+# "rrddata" updates RRD files with information that arrives as "data" messages.
+# If you want RRD graphs of your monitoring BB data, then you want to run this.
+
+[rrddata]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd
+
+# The client back-end module. You need this if you are running the Hobbit client on any system.
+[clientdata]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client
+
+
+# "bbproxy" is the Hobbit proxy server that allows you to forward status messages
+# from a protected network to your Hobbit server. It is not enabled by default,
+# since it would conflict with the hobbitd task.
+# If you need to run this, then disabled hobbitd and the hobbitd-modules
+# above, then enable this. Make sure you enter the IP-address of your
+# Hobbit server in the command-line, so that the proxy knows where to forward
+# status messages.
+[bbproxy]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=YOUR.HOBBIT.SERVER.IP --report=$MACHINE.bbproxy --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid
+ LOGFILE $BBSERVERLOGS/bbproxy.log
+
+
+# "hobbitfetch" is used when you have clients that cannot connect to your Hobbit server,
+# but the Hobbit server can connect to the client. Normally the clients will initiate
+# a connection to the Hobbit server to deliver the data they collect, but this is
+# forbidden in some firewall setups. By enabling the hobbitfetch task, hosts that have
+# the "pulldata" tag in the bb-hosts file will be polled by hobbitfetch for their data.
+#
+# NOTE: On the clients you must enable the "msgcache" task, since this is what
+# hobbitfetch is talking to.
+[hobbitfetch]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD $BBHOME/bin/hobbitfetch --server=YOUR.HOBBIT.SERVER.IP --no-daemon --pidfile=$BBSERVERLOGS/hobbitfetch.pid
+ LOGFILE $BBSERVERLOGS/hobbitfetch.log
+
+
+# "bbdisplay" runs the bbgen tool to generate the Hobbit webpages from the status information that
+# has been received. Big Brother updated the webpages once every 5 minutes. The default here is to
+# run it every minute for faster updates, but you can change it if you have a highly loaded server
+# and dont need updates that often.
+
+[bbdisplay]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ GROUP generators
+ CMD bbgen $BBGENOPTS --report
+ LOGFILE $BBSERVERLOGS/bb-display.log
+ INTERVAL 1m
+
+# bbcombotest is an extension script for the Hobbit display server. It generates
+# status messages that are combined from the status of one or more normal statuses.
+# It is controlled via the bbcombotest.cfg file.
+[bbcombotest]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD $BBHOME/bin/bbcombotest
+ LOGFILE $BBSERVERLOGS/bbcombotest.log
+ INTERVAL 5m
+
+# "bbnet" runs the bbtest-net tool to perform the network based tests - i.e. http, smtp, ssh, dns and
+# all of the various network protocols we need to test.
+
+[bbnet]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD bbtest-net --report --ping --checkresponse
+ LOGFILE $BBSERVERLOGS/bb-network.log
+ INTERVAL 5m
+
+
+# "bbretest" picks up the tests that the normal network test consider "failed", and re-does those
+# tests more often. This enables Big Brother to pick up a recovered network service faster than
+# if it were tested only by the "bbnet" task (which only runs every 5 minutes). So if you have
+# servers with very high availability guarantees, running this task will make your availability
+# reports look much better.
+
+[bbretest]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD $BBHOME/ext/bbretest-net.sh
+ LOGFILE $BBSERVERLOGS/bb-retest.log
+ INTERVAL 1m
+
+
+# "hobbitclient" runs the Hobbit client. The client is installed automatically
+# when you install a Hobbit server (presumably, you do want to monitor the
+# Hobbit server ?), but there's no need to have two hobbitlaunch instances
+# running at the same time. So we'll just run it from here.
+# Note: If you are using another client package, you should disable this one.
+
+[hobbitclient]
+ ENVFILE /data/srv/hobbit/client/etc/hobbitclient.cfg
+ NEEDS hobbitd
+ CMD /data/srv/hobbit/client/bin/hobbitclient.sh
+ LOGFILE $BBSERVERLOGS/hobbitclient.log
+ INTERVAL 5m
+
+[storage]
+
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD /data/srv/hobbit/server/ext/hobbitstorage.py
+ LOGFILE $BBSERVERLOGS/bb-storage.log
+ INTERVAL 5m
+[notes]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD /data/srv/hobbit/server/ext/hbnotes.py
+ LOGFILE $BBSERVERLOGS/bb-notes.log
+ INTERVAL 5m
+[orphan]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD /data/srv/hobbit/server/ext/hobbit-myth-orphan.sh
+ LOGFILE $BBSERVERLOGS/orphan.log
+ INTERVAL 5m
+
+[func]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD sudo /data/srv/hobbit/server/ext/hbfunc.py
+ LOGFILE $BBSERVERLOGS/hbfunc.log
+ INTERVAL 5m
+
+[memmyth]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD /data/srv/hobbit/server/ext/hobbit-mem-myth.sh
+ LOGFILE $BBSERVERLOGS/mythmem.log
+ INTERVAL 5m
+
+[mtc]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD /data/srv/hobbit/server/ext/hobbit_myth_data.py
+ LOGFILE $BBSERVERLOGS/mtc
+ INTERVAL 5m
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg.diff b/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg.diff
new file mode 100644
index 0000000..6239125
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg.diff
@@ -0,0 +1,40 @@
+--- hobbitlaunch.cfg.orig 2008-02-10 22:30:16.000000000 +0000
++++ hobbitlaunch.cfg 2008-08-09 07:05:14.000000000 +0000
+@@ -204,3 +204,37 @@
+ LOGFILE $BBSERVERLOGS/hobbitclient.log
+ INTERVAL 5m
+
++[storage]
++
++ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
++ CMD /data/srv/hobbit/server/ext/hobbitstorage.py
++ LOGFILE $BBSERVERLOGS/bb-storage.log
++ INTERVAL 5m
++[notes]
++ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
++ CMD /data/srv/hobbit/server/ext/hbnotes.py
++ LOGFILE $BBSERVERLOGS/bb-notes.log
++ INTERVAL 5m
++[orphan]
++ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
++ CMD /data/srv/hobbit/server/ext/hobbit-myth-orphan.sh
++ LOGFILE $BBSERVERLOGS/orphan.log
++ INTERVAL 5m
++
++[func]
++ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
++ CMD sudo /data/srv/hobbit/server/ext/hbfunc.py
++ LOGFILE $BBSERVERLOGS/hbfunc.log
++ INTERVAL 5m
++
++[memmyth]
++ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
++ CMD /data/srv/hobbit/server/ext/hobbit-mem-myth.sh
++ LOGFILE $BBSERVERLOGS/mythmem.log
++ INTERVAL 5m
++
++[mtc]
++ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
++ CMD /data/srv/hobbit/server/ext/hobbit_myth_data.py
++ LOGFILE $BBSERVERLOGS/mtc
++ INTERVAL 5m
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg.orig b/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg.orig
new file mode 100644
index 0000000..93c2dd9
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitlaunch.cfg.orig
@@ -0,0 +1,206 @@
+#
+# The hobbitlaunch.cfg file is loaded by "hobbitlaunch".
+# It controls which of the Hobbit modules to run, how often, and
+# with which parameters, options and environment variables.
+#
+
+# This is the main Hobbit daemon. This must be running on at least
+# one server in your setup. If you are setting up a server to do
+# just network tests or run bbproxy, it is OK to disable this (then
+# you also need to remove the "NEEDS hobbitd" lines for the tasks
+# you want to run).
+[hobbitd]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log --admin-senders=127.0.0.1,$BBSERVERIP --store-clientlogs=!msgs
+
+
+# "bbstatus" saves status-logs in text- and html-format, like the old Big Brother
+# daemon does. Unless you are using add-ons that directly access the log-files, you
+# will not need to run this module, and it is recommended that you keep it disabled
+# since storing the raw logs on disk can cause a significant load on your server.
+
+[bbstatus]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/status.log hobbitd_filestore --status --html
+
+
+# "bbhistory" keeps track of the status changes that happen, in a manner that is
+# compatible with the Big Brother history logs. You probably do want to run this.
+
+[bbhistory]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=stachg --log=$BBSERVERLOGS/history.log hobbitd_history
+
+
+# "hostdata" stores the Hobbit client messages on disk when some status for a host
+# changes. This lets you access a lot of data collected from a host around the time
+# when a problem occurred. However, it may use a significant amount of disk space
+# if you have lots of Hobbit clients.
+# Note: The --store-clientlogs option for the [hobbitd] provides control over
+# which status-changes will cause a client message to be stored.
+[hostdata]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=clichg --log=$BBSERVERLOGS/hostdata.log hobbitd_hostdata
+
+
+# "bbdata" saves information sent using the BB "data" protocol, like the old Big Brother
+# daemon does. Unless you are using add-ons that directly access the data-files, you
+# will not need to run this module, and it is recommended that you keep it disabled
+# since storing the raw data on disk can cause a significant load on your BB server.
+# RRD graphs uses data-files, but since RRD is handled by the hobbitd_rrd module, you do
+# not need to run the "bbdata" module to get RRD graphs.
+
+[bbdata]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/data.log hobbitd_filestore --data
+
+
+# "bbnotes" saves web note-files, that are sent using the BB "notes" protocol. This is
+# disabled by default; if you use the BB "notes" protocol, then you should enable this.
+
+[bbnotes]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=notes --log=$BBSERVERLOGS/notes.log hobbitd_filestore --notes
+
+
+# "bbenadis" updates the files used to indicate that a host or test has been enabled or disabled.
+# Unless you are running server side scripts that look at these files, you do not need this.
+
+[bbenadis]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=enadis --log=$BBSERVERLOGS/enadis.log hobbitd_filestore --enadis
+
+
+# "bbpage" sends out alerts. Note that this module is NOT compatible with the old Big Brother
+# system - it uses a different configuration file to determine how alerts get sent. If you want
+# alerts to go out via pager, e-mail or some other means, then you must run this module.
+
+[bbpage]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=page --log=$BBSERVERLOGS/page.log hobbitd_alert --checkpoint-file=$BBTMP/alert.chk --checkpoint-interval=600
+
+
+# "rrdstatus" updates RRD files with information that arrives as "status" messages.
+# If you want RRD graphs of your monitoring data, then you want to run this.
+
+[rrdstatus]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd
+
+# "rrddata" updates RRD files with information that arrives as "data" messages.
+# If you want RRD graphs of your monitoring BB data, then you want to run this.
+
+[rrddata]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd
+
+# The client back-end module. You need this if you are running the Hobbit client on any system.
+[clientdata]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client
+
+
+# "bbproxy" is the Hobbit proxy server that allows you to forward status messages
+# from a protected network to your Hobbit server. It is not enabled by default,
+# since it would conflict with the hobbitd task.
+# If you need to run this, then disabled hobbitd and the hobbitd-modules
+# above, then enable this. Make sure you enter the IP-address of your
+# Hobbit server in the command-line, so that the proxy knows where to forward
+# status messages.
+[bbproxy]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=YOUR.HOBBIT.SERVER.IP --report=$MACHINE.bbproxy --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid
+ LOGFILE $BBSERVERLOGS/bbproxy.log
+
+
+# "hobbitfetch" is used when you have clients that cannot connect to your Hobbit server,
+# but the Hobbit server can connect to the client. Normally the clients will initiate
+# a connection to the Hobbit server to deliver the data they collect, but this is
+# forbidden in some firewall setups. By enabling the hobbitfetch task, hosts that have
+# the "pulldata" tag in the bb-hosts file will be polled by hobbitfetch for their data.
+#
+# NOTE: On the clients you must enable the "msgcache" task, since this is what
+# hobbitfetch is talking to.
+[hobbitfetch]
+ DISABLED
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ CMD $BBHOME/bin/hobbitfetch --server=YOUR.HOBBIT.SERVER.IP --no-daemon --pidfile=$BBSERVERLOGS/hobbitfetch.pid
+ LOGFILE $BBSERVERLOGS/hobbitfetch.log
+
+
+# "bbdisplay" runs the bbgen tool to generate the Hobbit webpages from the status information that
+# has been received. Big Brother updated the webpages once every 5 minutes. The default here is to
+# run it every minute for faster updates, but you can change it if you have a highly loaded server
+# and dont need updates that often.
+
+[bbdisplay]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ GROUP generators
+ CMD bbgen $BBGENOPTS --report
+ LOGFILE $BBSERVERLOGS/bb-display.log
+ INTERVAL 1m
+
+# bbcombotest is an extension script for the Hobbit display server. It generates
+# status messages that are combined from the status of one or more normal statuses.
+# It is controlled via the bbcombotest.cfg file.
+[bbcombotest]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD $BBHOME/bin/bbcombotest
+ LOGFILE $BBSERVERLOGS/bbcombotest.log
+ INTERVAL 5m
+
+# "bbnet" runs the bbtest-net tool to perform the network based tests - i.e. http, smtp, ssh, dns and
+# all of the various network protocols we need to test.
+
+[bbnet]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD bbtest-net --report --ping --checkresponse
+ LOGFILE $BBSERVERLOGS/bb-network.log
+ INTERVAL 5m
+
+
+# "bbretest" picks up the tests that the normal network test consider "failed", and re-does those
+# tests more often. This enables Big Brother to pick up a recovered network service faster than
+# if it were tested only by the "bbnet" task (which only runs every 5 minutes). So if you have
+# servers with very high availability guarantees, running this task will make your availability
+# reports look much better.
+
+[bbretest]
+ ENVFILE /data/srv/hobbit/server/etc/hobbitserver.cfg
+ NEEDS hobbitd
+ CMD $BBHOME/ext/bbretest-net.sh
+ LOGFILE $BBSERVERLOGS/bb-retest.log
+ INTERVAL 1m
+
+
+# "hobbitclient" runs the Hobbit client. The client is installed automatically
+# when you install a Hobbit server (presumably, you do want to monitor the
+# Hobbit server ?), but there's no need to have two hobbitlaunch instances
+# running at the same time. So we'll just run it from here.
+# Note: If you are using another client package, you should disable this one.
+
+[hobbitclient]
+ ENVFILE /data/srv/hobbit/client/etc/hobbitclient.cfg
+ NEEDS hobbitd
+ CMD /data/srv/hobbit/client/bin/hobbitclient.sh
+ LOGFILE $BBSERVERLOGS/hobbitclient.log
+ INTERVAL 5m
+
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg b/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg
new file mode 100644
index 0000000..42fc4c7
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg
@@ -0,0 +1,226 @@
+# NB : Even though it might look like a shell-script, it is NOT.
+#
+BBSERVERROOT="/data/srv/hobbit" # Where Hobbit is installed - holds the server and bbvar sub-dirs.
+BBSERVERLOGS="/var/log/hobbit" # Directory for server logs. The hobbit user must have write-access here.
+HOBBITCLIENTHOME="/data/srv/hobbit/client" # BBHOME directory for the client
+
+
+BBSERVERHOSTNAME="localhost" # The hostname of your server
+BBSERVERIP="127.0.0.1" # The IP-address of your server. Use the real one, not 127.0.0.1 .
+BBSERVEROS="linux" # The operating system of your server. linux,freebsd,solaris,hpux,aix,osf
+
+BBSERVERWWWNAME="localhost" # The name used for this hosts' webserver
+BBSERVERWWWURL="/hobbit" # The top URL for the Hobbit webpages
+BBSERVERCGIURL="/hobbit/hobbit-cgi" # The URL for the Hobbit CGI scripts.
+BBSERVERSECURECGIURL="/hobbit/hobbit-seccgi" # The URL for the secured Hobbit CGI scripts.
+
+# BBLOCATION="foo" # The network location, makes bbtest-net test only hosts with NET:foo
+ # You only need to set this if you have multiple network test servers with
+ # a shared bb-hosts file.
+
+# Make sure the path includes the directories where you have fping, mail and (optionally) ntpdate installed,
+# as well as the BBHOME/bin directory where all of the Hobbit programs reside.
+PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/data/srv/hobbit/server/bin"
+
+# Some systems need extra settings e.g. to locate run-time libraries.
+# You can add these extra settings here:
+
+
+
+##### Normally you do not need to modify anything below this point #####
+
+# General settings
+BBPORT="1984" # Portnumber where hobbitd/bbd listens
+BBDISP="$BBSERVERIP" # IP of a single hobbit/bbd server
+BBDISPLAYS="" # IP of multiple hobbit/bbd servers. If used, BBDISP must be 0.0.0.0
+FQDN="TRUE" # Use fully-qualified hostnames internally. Keep it TRUE unless you know better.
+BBGHOSTS="1" # How to handle status messages from unknown hosts.
+ # 0=accept message, 1=discard message, 2=discard message and log the event
+BBLOGSTATUS="DYNAMIC" # Are HTML status logs statically or dynamically generated?
+ # Use DYNAMIC with Hobbit, unless you run hobbitd_filestore --status --html
+
+PINGCOLUMN="conn" # Column where the ping-test reports results.
+INFOCOLUMN="info" # Column where the info-pages are reported.
+TRENDSCOLUMN="trends" # Column where the RRD graphs are reported.
+
+BBMAXMSGSPERCOMBO="100" # How many individual messages to combine in a combo-message. 0=unlimited.
+BBSLEEPBETWEENMSGS="0" # Delay between sending each combo message, in milliseconds.
+
+
+# Specific to this host
+BBOSTYPE="$BBSERVEROS" # Hosttype (operating system). Not used by server-side, but clients use this.
+MACHINEDOTS="$BBSERVERHOSTNAME" # This systems hostname
+MACHINEADDR="$BBSERVERIP" # This systems IP-address
+
+# URL's generated/used by bbgen
+BBWEBHOST="http://$BBSERVERWWWNAME" # Just the host part of the URL - http://www.foo.com
+BBWEBHOSTURL="$BBWEBHOST$BBSERVERWWWURL" # Prefix for all static Hobbit pages - http://www.foo.com/bb
+BBWEBHTMLLOGS="$BBWEBHOSTURL/html" # Prefix for the Hobbit HTML logs (only if BBLOGSTATUS=STATIC)
+BBWEB="$BBSERVERWWWURL" # Hobbit URL prefix without the host part
+BBSKIN="$BBSERVERWWWURL/gifs" # Hobbit URL prefix for the GIF files
+BBHELPSKIN="$BBSERVERWWWURL/help" # Hobbit URL prefix for the online help files.
+BBNOTESSKIN="$BBSERVERWWWURL/notes" # Hobbit URL prefix for the online notes-files.
+BBMENUSKIN="$BBSERVERWWWURL/menu" # Hobbit URL prefix for the webpage menu files.
+BBREPURL="$BBSERVERWWWURL/rep" # Hobbit URL prefix for the Hobbit availability reports
+BBSNAPURL="$BBSERVERWWWURL/snap" # Hobbit URL prefix for the Hobbit snapshots
+BBWAP="$BBSERVERWWWURL/wml" # Hobbit URL prefix for the WAP/WML files.
+CGIBINURL="$BBSERVERCGIURL" # URL prefix for the Hobbit CGI-scripts - /cgi-bin
+SECURECGIBINURL="$BBSERVERSECURECGIURL" # URL prefix for the secured Hobbit CGI-scripts - /cgi-secure
+
+# Locations of system-wide files and directories
+BBHOME="/data/srv/hobbit/server" # The Hobbit server directory, where programs and configurations go.
+BBTMP="$BBHOME/tmp" # Directory used for temporary files.
+BBHOSTS="$BBHOME/etc/bb-hosts" # The bb-hosts file
+BB="$BBHOME/bin/bb" # The 'bb' client program
+BBGEN="$BBHOME/bin/bbgen" # The bbgen program
+
+# Server specific directories
+BBVAR="/data/srv/hobbit/var" # The bbvar directory holds all monitoring data
+BBACKS="$BBVAR/acks" # Acknowledge event info stored here (hobbitd_alert)
+BBDATA="$BBVAR/data" # Data files go here (hobbitd_filestore --data)
+BBDISABLED="$BBVAR/disabled" # Enabled/disabled flags are stored here (hobbitd_filestore --enadis)
+BBHIST="$BBVAR/hist" # History logs are stored here (hobbitd_history)
+BBHISTLOGS="$BBVAR/histlogs" # Historical detail status-loge are stored here (hobbitd_history)
+BBLOGS="$BBVAR/logs" # Status logs go here (hobbitd_filestore --status). Not needed by Hobbit.
+BBWWW="$BBHOME/www" # The directory for Hobbit webpage files.
+BBHTML="$BBWWW/html" # HTML status logs go here (hobbitd_filestore --status --html)
+BBNOTES="$BBWWW/notes" # For notes-files (hobbitd_filestore --notes)
+BBREP="$BBWWW/rep" # Top-level directory for Hobbit reports.
+BBSNAP="$BBWWW/snap" # Top-level directory for Hobbit snapshots.
+
+# For the hobbitd_history module
+BBALLHISTLOG="TRUE" # Save a common log of all events (used for the bb2 webpage)
+BBHOSTHISTLOG="TRUE" # Save a log of all events for a host (not used by any tool currently)
+SAVESTATUSLOG="TRUE" # Save the detailed status log each time the status changes.
+
+# For the hobbitd_alert module
+MAILC="mail" # Command used to send an e-mail with no subject
+MAIL="$MAILC -s" # Command used to send an e-mail with a subject
+SVCCODES="disk:100,cpu:200,procs:300,svcs:350,msgs:400,conn:500,http:600,dns:800,smtp:725,telnet:723,ftp:721,pop:810,pop3:810,pop-3:810,ssh:722,imap:843,ssh1:722,ssh2:722,imap2:843,imap3:843,imap4:843,pop2:809,pop-2:809,nntp:819,test:901"
+ALERTCOLORS="red,yellow,purple" # Colors that may trigger an alert message
+OKCOLORS="green,blue,clear" # Colors that may trigger a recovery message
+ALERTREPEAT="30" # The default interval between repeated alert-messages (in minutes)
+
+# For bbtest-net
+CONNTEST="TRUE" # Should we 'ping' hosts ?
+IPTEST_2_CLEAR_ON_FAILED_CONN="TRUE" # If TRUE, then failing network tests go CLEAR if conn-test fails.
+NONETPAGE="" # Network tests that go YELLOW upon failure
+FPING="hobbitping" # Path and options for the ping program.
+NTPDATE="ntpdate" # Path to the 'ntpdate' program
+TRACEROUTE="traceroute" # How to do traceroute on failing ping tests. Requires "trace" in bb-hosts.
+BBROUTERTEXT="router" # What to call a failing intermediate network device.
+NETFAILTEXT="not OK" # Text indicating a network test failed
+
+
+# Settings for the RRD graphs
+
+# Top level directory for the RRD files
+BBRRDS="$BBVAR/rrd"
+
+# Size of the generated graph images
+RRDHEIGHT="120"
+RRDWIDTH="576" # The RRD's contain 576 data points, so this is a good value
+NCV_storage="*:GAUGE"
+NCV_memmbe="*:GAUGE"
+NCV_memmfe="*:GAUGE"
+# TEST2RRD defines the status- and data-messages you want to collect RRD data
+# about. You will normally not need to modify this, unless you have added a
+# script to pick up RRD data from custom tests (the hobbitd_larrd --extra-script
+# and --extra-tests options).
+# Note that network tests defined in the bb-services file are automatically
+# included.
+# The format here is "COLUMN=RRDSERVICE". If you leave out the "=RRDSERVICE"
+# part, it is assumed to be the same as the COLUMN value.
+#
+# This is also used by the bb-hostsvc.cgi script to determine if the detailed
+# status view of a test should include a graph.
+TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,storage=ncv,memmbe=ncv,memmfe=ncv"
+
+# This defines which RRD files to include on the "trends" column webpage,
+# and the order in which they appear.
+GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,clock,lines,storage,memmbe,memmfe"
+
+# These two settings can be used to restrict what filesystems are being
+# tracked (i.e. have their utilisation graphed) by Hobbit.
+# NORRDDISKS="" # Filesystems that will NOT be tracked
+# RRDDISKS="" # Only track these filesystems
+
+
+############################################################
+# These determine some parts of how bbgen generates webpages
+############################################################
+BBGENOPTS="--recentgifs --subpagecolumns=2" # Standard options for bbgen.
+SUMMARY_SET_BKG="FALSE" # Do summaries affect the background color of the BB webpage ?
+BBMKBB2EXT="eventlog.sh acklog.sh" # What extensions to have on the BB2 page.
+DOTHEIGHT="16" # Height (in pixels) of the color GIF's
+DOTWIDTH="16" # Width (in pixels) of the color GIF's
+COLUMNDOCURL="$CGIBINURL/hobbitcolumn.sh?%s" # URL formatting string for column-links
+
+# HTML content
+HTMLCONTENTTYPE="text/html" # You can add charset options here.
+
+# Fonts and texts
+HOBBITLOGO="" # HTML inserted on all header pages at top-left corner.
+MKBBLOCAL="<B><I>Pages Hosted Locally</I></B>"
+MKBBREMOTE="<B><I>Remote Status Display</I></B>"
+MKBBSUBLOCAL="<B><I>Subpages Hosted Locally</I></B>"
+MKBBACKFONT="COLOR=\"#33ebf4\" SIZE=\"-1\"" # Size and color of the 'Current acknowledgement...' text in the html log.
+MKBBCOLFONT="COLOR=\"#87a9e5\" SIZE=\"-1\"" # Size and color of the column headings text
+MKBBROWFONT="SIZE=\"+1\" COLOR=\"#FFFFCC\" FACE=\"Tahoma, Arial, Helvetica\"" # Size,color,font of text in each row (hostname)
+MKBBTITLE="COLOR=\"#FFFFF0\" SIZE=\"+1\"" # Size and color of the BB titles (the old "ivory" is invalid HTML)
+BBDATEFORMAT="%a %b %d %H:%M:%S %Y" # Date format
+BBRSSTITLE="Hobbit Alerts" # Title for the RSS and WML outputs.
+ACKUNTILMSG="Next update at: %H:%M %Y-%m-%d" # strftime format for the acknowledgement status display.
+
+# For WML output
+WMLMAXCHARS="1500" # Max number of bytes in a WAP message
+
+# For BB reports
+BBREPWARN="97" # Default availability causing yellow status on availability report.
+BBREPGREEN="99.995" # Default availability causing green status on availability report.
+BBGENREPOPTS="$BBGENOPTS" # bbgen(1) options used when generating availability reports.
+BBREPEXT="" # What extensions to run on report pages.
+
+# For BB snapshots
+BBGENSNAPOPTS="$BBGENOPTS" # bbgen(1) options used when generating snapshots.
+
+# For the bb-hist CGI
+BBHISTEXT="" # What extensions to run on history pages.
+
+
+# The following defines a bunch of commands that BB extensions expect to be present.
+# Hobbit does not use them, but they are provided here so if you use BB extension
+# scripts, then they will hopefully run without having to do a lot of tweaking.
+
+UPTIME=""
+AWK="/bin/awk"
+CAT="/bin/cat"
+CP="/bin/cp"
+CUT="/bin/cut"
+DATE="/bin/date"
+EGREP="/bin/egrep"
+EXPR="/usr/bin/expr"
+FIND="/usr/bin/find"
+GREP="/bin/grep"
+HEAD="/usr/bin/head"
+ID="/usr/bin/id"
+LN="/bin/ln"
+LS="/bin/ls"
+MV="/bin/mv"
+RM="/bin/rm"
+SED="/bin/sed"
+SORT="/usr/bin/sort"
+TAIL="/usr/bin/tail"
+TOUCH="/bin/touch"
+TR="/bin/tr"
+UNIQ="/usr/bin/uniq"
+WHO="/usr/bin/who"
+TOP=""
+WC="/usr/bin/wc -l"
+WCC="/usr/bin/wc"
+# DF,DFCMD and PS are for compatibility only, NOT USED by the Hobbit client
+DF="/bin/df -Pk"
+DFCMD="/bin/df -Pk"
+PS="ps ax"
+
+MAXLINE="32768"
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg.diff b/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg.diff
new file mode 100644
index 0000000..7c829fe
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg.diff
@@ -0,0 +1,45 @@
+--- hobbitserver.cfg.orig 2008-01-08 15:25:34.000000000 +0000
++++ hobbitserver.cfg 2008-01-08 16:22:56.000000000 +0000
+@@ -105,7 +105,7 @@
+ CONNTEST="TRUE" # Should we 'ping' hosts ?
+ IPTEST_2_CLEAR_ON_FAILED_CONN="TRUE" # If TRUE, then failing network tests go CLEAR if conn-test fails.
+ NONETPAGE="" # Network tests that go YELLOW upon failure
+-FPING="/usr/sbin/fping" # Path and options for the ping program.
++FPING="hobbitping" # Path and options for the ping program.
+ NTPDATE="ntpdate" # Path to the 'ntpdate' program
+ TRACEROUTE="traceroute" # How to do traceroute on failing ping tests. Requires "trace" in bb-hosts.
+ BBROUTERTEXT="router" # What to call a failing intermediate network device.
+@@ -120,7 +120,9 @@
+ # Size of the generated graph images
+ RRDHEIGHT="120"
+ RRDWIDTH="576" # The RRD's contain 576 data points, so this is a good value
+-
++NCV_storage="*:GAUGE"
++NCV_memmbe="*:GAUGE"
++NCV_memmfe="*:GAUGE"
+ # TEST2RRD defines the status- and data-messages you want to collect RRD data
+ # about. You will normally not need to modify this, unless you have added a
+ # script to pick up RRD data from custom tests (the hobbitd_larrd --extra-script
+@@ -132,11 +134,11 @@
+ #
+ # This is also used by the bb-hostsvc.cgi script to determine if the detailed
+ # status view of a test should include a graph.
+-TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines"
++TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,storage=ncv,memmbe=ncv,memmfe=ncv"
+
+ # This defines which RRD files to include on the "trends" column webpage,
+ # and the order in which they appear.
+-GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,clock,lines"
++GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,clock,lines,storage,memmbe,memmfe"
+
+ # These two settings can be used to restrict what filesystems are being
+ # tracked (i.e. have their utilisation graphed) by Hobbit.
+@@ -158,7 +160,7 @@
+ HTMLCONTENTTYPE="text/html" # You can add charset options here.
+
+ # Fonts and texts
+-HOBBITLOGO="Hobbit" # HTML inserted on all header pages at top-left corner.
++HOBBITLOGO="" # HTML inserted on all header pages at top-left corner.
+ MKBBLOCAL="<B><I>Pages Hosted Locally</I></B>"
+ MKBBREMOTE="<B><I>Remote Status Display</I></B>"
+ MKBBSUBLOCAL="<B><I>Subpages Hosted Locally</I></B>"
diff --git a/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg.orig b/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg.orig
new file mode 100644
index 0000000..2ba56f5
--- /dev/null
+++ b/abs/mv-core/hobbitmon/diffs/hobbitserver.cfg.orig
@@ -0,0 +1,224 @@
+# NB : Even though it might look like a shell-script, it is NOT.
+#
+BBSERVERROOT="/data/srv/hobbit" # Where Hobbit is installed - holds the server and bbvar sub-dirs.
+BBSERVERLOGS="/var/log/hobbit" # Directory for server logs. The hobbit user must have write-access here.
+HOBBITCLIENTHOME="/data/srv/hobbit/client" # BBHOME directory for the client
+
+
+BBSERVERHOSTNAME="localhost" # The hostname of your server
+BBSERVERIP="127.0.0.1" # The IP-address of your server. Use the real one, not 127.0.0.1 .
+BBSERVEROS="linux" # The operating system of your server. linux,freebsd,solaris,hpux,aix,osf
+
+BBSERVERWWWNAME="localhost" # The name used for this hosts' webserver
+BBSERVERWWWURL="/hobbit" # The top URL for the Hobbit webpages
+BBSERVERCGIURL="/hobbit/hobbit-cgi" # The URL for the Hobbit CGI scripts.
+BBSERVERSECURECGIURL="/hobbit/hobbit-seccgi" # The URL for the secured Hobbit CGI scripts.
+
+# BBLOCATION="foo" # The network location, makes bbtest-net test only hosts with NET:foo
+ # You only need to set this if you have multiple network test servers with
+ # a shared bb-hosts file.
+
+# Make sure the path includes the directories where you have fping, mail and (optionally) ntpdate installed,
+# as well as the BBHOME/bin directory where all of the Hobbit programs reside.
+PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/data/srv/hobbit/server/bin"
+
+# Some systems need extra settings e.g. to locate run-time libraries.
+# You can add these extra settings here:
+
+
+
+##### Normally you do not need to modify anything below this point #####
+
+# General settings
+BBPORT="1984" # Portnumber where hobbitd/bbd listens
+BBDISP="$BBSERVERIP" # IP of a single hobbit/bbd server
+BBDISPLAYS="" # IP of multiple hobbit/bbd servers. If used, BBDISP must be 0.0.0.0
+FQDN="TRUE" # Use fully-qualified hostnames internally. Keep it TRUE unless you know better.
+BBGHOSTS="1" # How to handle status messages from unknown hosts.
+ # 0=accept message, 1=discard message, 2=discard message and log the event
+BBLOGSTATUS="DYNAMIC" # Are HTML status logs statically or dynamically generated?
+ # Use DYNAMIC with Hobbit, unless you run hobbitd_filestore --status --html
+
+PINGCOLUMN="conn" # Column where the ping-test reports results.
+INFOCOLUMN="info" # Column where the info-pages are reported.
+TRENDSCOLUMN="trends" # Column where the RRD graphs are reported.
+
+BBMAXMSGSPERCOMBO="100" # How many individual messages to combine in a combo-message. 0=unlimited.
+BBSLEEPBETWEENMSGS="0" # Delay between sending each combo message, in milliseconds.
+
+
+# Specific to this host
+BBOSTYPE="$BBSERVEROS" # Hosttype (operating system). Not used by server-side, but clients use this.
+MACHINEDOTS="$BBSERVERHOSTNAME" # This systems hostname
+MACHINEADDR="$BBSERVERIP" # This systems IP-address
+
+# URL's generated/used by bbgen
+BBWEBHOST="http://$BBSERVERWWWNAME" # Just the host part of the URL - http://www.foo.com
+BBWEBHOSTURL="$BBWEBHOST$BBSERVERWWWURL" # Prefix for all static Hobbit pages - http://www.foo.com/bb
+BBWEBHTMLLOGS="$BBWEBHOSTURL/html" # Prefix for the Hobbit HTML logs (only if BBLOGSTATUS=STATIC)
+BBWEB="$BBSERVERWWWURL" # Hobbit URL prefix without the host part
+BBSKIN="$BBSERVERWWWURL/gifs" # Hobbit URL prefix for the GIF files
+BBHELPSKIN="$BBSERVERWWWURL/help" # Hobbit URL prefix for the online help files.
+BBNOTESSKIN="$BBSERVERWWWURL/notes" # Hobbit URL prefix for the online notes-files.
+BBMENUSKIN="$BBSERVERWWWURL/menu" # Hobbit URL prefix for the webpage menu files.
+BBREPURL="$BBSERVERWWWURL/rep" # Hobbit URL prefix for the Hobbit availability reports
+BBSNAPURL="$BBSERVERWWWURL/snap" # Hobbit URL prefix for the Hobbit snapshots
+BBWAP="$BBSERVERWWWURL/wml" # Hobbit URL prefix for the WAP/WML files.
+CGIBINURL="$BBSERVERCGIURL" # URL prefix for the Hobbit CGI-scripts - /cgi-bin
+SECURECGIBINURL="$BBSERVERSECURECGIURL" # URL prefix for the secured Hobbit CGI-scripts - /cgi-secure
+
+# Locations of system-wide files and directories
+BBHOME="/data/srv/hobbit/server" # The Hobbit server directory, where programs and configurations go.
+BBTMP="$BBHOME/tmp" # Directory used for temporary files.
+BBHOSTS="$BBHOME/etc/bb-hosts" # The bb-hosts file
+BB="$BBHOME/bin/bb" # The 'bb' client program
+BBGEN="$BBHOME/bin/bbgen" # The bbgen program
+
+# Server specific directories
+BBVAR="/data/srv/hobbit/var" # The bbvar directory holds all monitoring data
+BBACKS="$BBVAR/acks" # Acknowledge event info stored here (hobbitd_alert)
+BBDATA="$BBVAR/data" # Data files go here (hobbitd_filestore --data)
+BBDISABLED="$BBVAR/disabled" # Enabled/disabled flags are stored here (hobbitd_filestore --enadis)
+BBHIST="$BBVAR/hist" # History logs are stored here (hobbitd_history)
+BBHISTLOGS="$BBVAR/histlogs" # Historical detail status-loge are stored here (hobbitd_history)
+BBLOGS="$BBVAR/logs" # Status logs go here (hobbitd_filestore --status). Not needed by Hobbit.
+BBWWW="$BBHOME/www" # The directory for Hobbit webpage files.
+BBHTML="$BBWWW/html" # HTML status logs go here (hobbitd_filestore --status --html)
+BBNOTES="$BBWWW/notes" # For notes-files (hobbitd_filestore --notes)
+BBREP="$BBWWW/rep" # Top-level directory for Hobbit reports.
+BBSNAP="$BBWWW/snap" # Top-level directory for Hobbit snapshots.
+
+# For the hobbitd_history module
+BBALLHISTLOG="TRUE" # Save a common log of all events (used for the bb2 webpage)
+BBHOSTHISTLOG="TRUE" # Save a log of all events for a host (not used by any tool currently)
+SAVESTATUSLOG="TRUE" # Save the detailed status log each time the status changes.
+
+# For the hobbitd_alert module
+MAILC="mail" # Command used to send an e-mail with no subject
+MAIL="$MAILC -s" # Command used to send an e-mail with a subject
+SVCCODES="disk:100,cpu:200,procs:300,svcs:350,msgs:400,conn:500,http:600,dns:800,smtp:725,telnet:723,ftp:721,pop:810,pop3:810,pop-3:810,ssh:722,imap:843,ssh1:722,ssh2:722,imap2:843,imap3:843,imap4:843,pop2:809,pop-2:809,nntp:819,test:901"
+ALERTCOLORS="red,yellow,purple" # Colors that may trigger an alert message
+OKCOLORS="green,blue,clear" # Colors that may trigger a recovery message
+ALERTREPEAT="30" # The default interval between repeated alert-messages (in minutes)
+
+# For bbtest-net
+CONNTEST="TRUE" # Should we 'ping' hosts ?
+IPTEST_2_CLEAR_ON_FAILED_CONN="TRUE" # If TRUE, then failing network tests go CLEAR if conn-test fails.
+NONETPAGE="" # Network tests that go YELLOW upon failure
+FPING="/usr/sbin/fping" # Path and options for the ping program.
+NTPDATE="ntpdate" # Path to the 'ntpdate' program
+TRACEROUTE="traceroute" # How to do traceroute on failing ping tests. Requires "trace" in bb-hosts.
+BBROUTERTEXT="router" # What to call a failing intermediate network device.
+NETFAILTEXT="not OK" # Text indicating a network test failed
+
+
+# Settings for the RRD graphs
+
+# Top level directory for the RRD files
+BBRRDS="$BBVAR/rrd"
+
+# Size of the generated graph images
+RRDHEIGHT="120"
+RRDWIDTH="576" # The RRD's contain 576 data points, so this is a good value
+
+# TEST2RRD defines the status- and data-messages you want to collect RRD data
+# about. You will normally not need to modify this, unless you have added a
+# script to pick up RRD data from custom tests (the hobbitd_larrd --extra-script
+# and --extra-tests options).
+# Note that network tests defined in the bb-services file are automatically
+# included.
+# The format here is "COLUMN=RRDSERVICE". If you leave out the "=RRDSERVICE"
+# part, it is assumed to be the same as the COLUMN value.
+#
+# This is also used by the bb-hostsvc.cgi script to determine if the detailed
+# status view of a test should include a graph.
+TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines"
+
+# This defines which RRD files to include on the "trends" column webpage,
+# and the order in which they appear.
+GRAPHS="la,disk,inode,qtree,files,processes,memory,users,vmstat,iostat,tcp.http,tcp,ncv,netstat,ifstat,mrtg::1,ports,temperature,ntpstat,apache,bind,sendmail,mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,clock,lines"
+
+# These two settings can be used to restrict what filesystems are being
+# tracked (i.e. have their utilisation graphed) by Hobbit.
+# NORRDDISKS="" # Filesystems that will NOT be tracked
+# RRDDISKS="" # Only track these filesystems
+
+
+############################################################
+# These determine some parts of how bbgen generates webpages
+############################################################
+BBGENOPTS="--recentgifs --subpagecolumns=2" # Standard options for bbgen.
+SUMMARY_SET_BKG="FALSE" # Do summaries affect the background color of the BB webpage ?
+BBMKBB2EXT="eventlog.sh acklog.sh" # What extensions to have on the BB2 page.
+DOTHEIGHT="16" # Height (in pixels) of the color GIF's
+DOTWIDTH="16" # Width (in pixels) of the color GIF's
+COLUMNDOCURL="$CGIBINURL/hobbitcolumn.sh?%s" # URL formatting string for column-links
+
+# HTML content
+HTMLCONTENTTYPE="text/html" # You can add charset options here.
+
+# Fonts and texts
+HOBBITLOGO="Hobbit" # HTML inserted on all header pages at top-left corner.
+MKBBLOCAL="<B><I>Pages Hosted Locally</I></B>"
+MKBBREMOTE="<B><I>Remote Status Display</I></B>"
+MKBBSUBLOCAL="<B><I>Subpages Hosted Locally</I></B>"
+MKBBACKFONT="COLOR=\"#33ebf4\" SIZE=\"-1\"" # Size and color of the 'Current acknowledgement...' text in the html log.
+MKBBCOLFONT="COLOR=\"#87a9e5\" SIZE=\"-1\"" # Size and color of the column headings text
+MKBBROWFONT="SIZE=\"+1\" COLOR=\"#FFFFCC\" FACE=\"Tahoma, Arial, Helvetica\"" # Size,color,font of text in each row (hostname)
+MKBBTITLE="COLOR=\"#FFFFF0\" SIZE=\"+1\"" # Size and color of the BB titles (the old "ivory" is invalid HTML)
+BBDATEFORMAT="%a %b %d %H:%M:%S %Y" # Date format
+BBRSSTITLE="Hobbit Alerts" # Title for the RSS and WML outputs.
+ACKUNTILMSG="Next update at: %H:%M %Y-%m-%d" # strftime format for the acknowledgement status display.
+
+# For WML output
+WMLMAXCHARS="1500" # Max number of bytes in a WAP message
+
+# For BB reports
+BBREPWARN="97" # Default availability causing yellow status on availability report.
+BBREPGREEN="99.995" # Default availability causing green status on availability report.
+BBGENREPOPTS="$BBGENOPTS" # bbgen(1) options used when generating availability reports.
+BBREPEXT="" # What extensions to run on report pages.
+
+# For BB snapshots
+BBGENSNAPOPTS="$BBGENOPTS" # bbgen(1) options used when generating snapshots.
+
+# For the bb-hist CGI
+BBHISTEXT="" # What extensions to run on history pages.
+
+
+# The following defines a bunch of commands that BB extensions expect to be present.
+# Hobbit does not use them, but they are provided here so if you use BB extension
+# scripts, then they will hopefully run without having to do a lot of tweaking.
+
+UPTIME=""
+AWK="/bin/awk"
+CAT="/bin/cat"
+CP="/bin/cp"
+CUT="/bin/cut"
+DATE="/bin/date"
+EGREP="/bin/egrep"
+EXPR="/usr/bin/expr"
+FIND="/usr/bin/find"
+GREP="/bin/grep"
+HEAD="/usr/bin/head"
+ID="/usr/bin/id"
+LN="/bin/ln"
+LS="/bin/ls"
+MV="/bin/mv"
+RM="/bin/rm"
+SED="/bin/sed"
+SORT="/usr/bin/sort"
+TAIL="/usr/bin/tail"
+TOUCH="/bin/touch"
+TR="/bin/tr"
+UNIQ="/usr/bin/uniq"
+WHO="/usr/bin/who"
+TOP=""
+WC="/usr/bin/wc -l"
+WCC="/usr/bin/wc"
+# DF,DFCMD and PS are for compatibility only, NOT USED by the Hobbit client
+DF="/bin/df -Pk"
+DFCMD="/bin/df -Pk"
+PS="ps ax"
+
+MAXLINE="32768"