Changes for version 1.44
- Fixed some small typos in the POD.
- Added "on_missing_ds" parameter to the new() constructor method to detemine what action should be taken when the user tries to update or insert new data point values in an RRD for a data source name that does not exist.
- Added "tmpdir" parameter to the new() constructor method to force any temporary files to be created in the specified directory. This is only used in the add_source() / _modify_source code.
- Added a number of additional TRACE() statements in the code to aid debugging with the DEBUG=1 environment variable.
- Changed graph() so that there is no longer an AVERAGE VDEF vname generated for each data source by default. See the updated example on drawing average lines in RRD::Simple::Examples.
- Changed graph() method to allow undef or '' (empty) values to be passed in for the sources parameter. This is useful if you do not want to draw and data source values directly on the graph but instead only want to plot CDEF values. As a result and requirement of this change, the DEF statements for each and every data source in the RRD file are always defined early on in the commands passed on to RRDs.pm.
- Added a new example to RRD::Simple::Examples to show how to generate predictive graphs to provide basic capacity planning. See examples/mem_usage-monthly.png for the example output.
- Added a new "periods" parameter to the graph() method to restrict which graphs will be generated. For example, "weekly, month" could be specified to only generate those two graphs. This is useful if you want to use the SHIFT command to produce a capacity planning graph based on the last 6 months projecting in to the next 6 months in an annual graphing period.
- Updated version of rrd.me.uk in the examples sub-directory of this distribution, inside the "rrd-server" directory.
Documentation
Examples using RRD::Simple
Modules
Simple interface to create and store data in RRD files
Examples
- examples/ApacheAccessLogActivity.pl
- examples/ColloquyBotLogParser.pl
- examples/README
- examples/df.pl
- examples/disk-capacity-daily.png
- examples/example_apache_monitoring.png
- examples/foo.pl
- examples/graph.pl
- examples/graph2-daily.png
- examples/graph2.pl
- examples/hddtemp-daily.png
- examples/hddtemp.pl
- examples/iostat-hda-daily.png
- examples/iostat.pl
- examples/loadavg.pl
- examples/mem_usage-monthly.png
- examples/meminfo-daily.png
- examples/meminfo.pl
- examples/mod_perl.pl
- examples/network.pl
- examples/processes.pl
- examples/rrd-server/README
- examples/rrd-server/bin/rrd-client-infrant.pl
- examples/rrd-server/bin/rrd-client-mta-traffic.pl
- examples/rrd-server/bin/rrd-client-nagios-perfdata.pl
- examples/rrd-server/bin/rrd-client-switches.pl
- examples/rrd-server/bin/rrd-client.pl
- examples/rrd-server/bin/rrd-server.pl
- examples/rrd-server/bin/snmp.sh
- examples/rrd-server/bin/spider.sh
- examples/rrd-server/cgi-bin/by_graph.tmpl
- examples/rrd-server/cgi-bin/by_host.tmpl
- examples/rrd-server/cgi-bin/devel/RRDBrowseCommon.pm
- examples/rrd-server/cgi-bin/devel/edit_include.tmpl
- examples/rrd-server/cgi-bin/devel/error.tmpl
- examples/rrd-server/cgi-bin/devel/export.tmpl
- examples/rrd-server/cgi-bin/devel/foo.tmpl
- examples/rrd-server/cgi-bin/devel/rrd-export.cgi
- examples/rrd-server/cgi-bin/footer.tmpl
- examples/rrd-server/cgi-bin/header.tmpl
- examples/rrd-server/cgi-bin/host.tmpl
- examples/rrd-server/cgi-bin/index.tmpl
- examples/rrd-server/cgi-bin/instructions.tmpl
- examples/rrd-server/cgi-bin/list_graphs.tmpl
- examples/rrd-server/cgi-bin/list_hosts.tmpl
- examples/rrd-server/cgi-bin/rrd-browse.cgi
- examples/rrd-server/cgi-bin/rrd-server.cgi
- examples/rrd-server/cgi-bin/templates/cisco-include.html
- examples/rrd-server/cgi-bin/templates/netbsd-include.html
- examples/rrd-server/cgi-bin/templates/rhel-include.html
- examples/rrd-server/cgi-bin/templates/solaris-include.html
- examples/rrd-server/cgi-bin/templates/theme-cyan.css
- examples/rrd-server/cgi-bin/templates/theme-green.css
- examples/rrd-server/cgi-bin/templates/theme-magenta.css
- examples/rrd-server/cgi-bin/templates/theme-red.css
- examples/rrd-server/cgi-bin/templates/theme-ubuntu.css
- examples/rrd-server/cgi-bin/templates/theme-yellow.css
- examples/rrd-server/cgi-bin/templates/ubuntu-include.html
- examples/rrd-server/cgi-bin/templates/windows-include.html
- examples/rrd-server/etc/create.defs
- examples/rrd-server/etc/graph.defs
- examples/rrd-server/etc/rrd-httpd.conf
- examples/rrd-server/etc/rrd.me.uk.conf
- examples/rrd-server/etc/xinetd-rrd-client.conf
- examples/statlogs.pl
- examples/vmstat-cpu-daily.png
- examples/vmstat.pl