Du2rrd is a tool designed for monitoring disk space usage over a long period of time. It helps users keep track of disk space utilization and plan for additional storage needs.
Before you start using du2rrd, it's worth noting that the configuration process involves supplying all the relevant configuration information on the command line while calling it. For instance, you can track the home directories that live in the same tree by executing the following command: du -k /home | du2rrd --rrd_root=/var/lib/du2rrd 'Home=/home/{Users}'. Additionally, if you're running a server with several home partitions, you can use du2rrd to create two different views of the data. Simply execute this command: du -k /home-* | du2rrd --rrd_root=/var/lib/du2rrd 'Users=/*/{User}' 'Partitions=/{Partition}/{User}'.
Du2rrd comprises two parts, including the du parser (du2rrd) and the web interface that consists of a large chunk of Javascript and the du2rrd.cgi rpc service. To get started, you need to ensure perl, rrdtool perl bindings, and a web server are installed on your machine. Moreover, you must know how to configure your web server to execute CGI scripts. After downloading and unpacking the du2rrd archive, create a crontab entry to run the software once a day, feed it input from du and set up the CGIs on your web server. Finally, edit the du2rrd.cgi to point it to the du2rrd data store. With that, you'll be ready to start using du2rrd's powerful monitoring features to streamline your disk space management.
Version 0.0.3: N/A