Redhive Research Laboratories: RRDTool Scripts pedram amini ### ### What is this? Upon discovering the existence of RRDTool it became an obsession of mine to record data on everything. This is a collection of the first set of scripts I wrote to do just that, reading through and customizing these would be an excellent way to break the learning curve on this tool. The following is a brief description of the files found in this package: *_commands.txt contains command to setup the RRD databases. *_graphs.sh shell script used in creating the graphs. *_recorder.pl perl script used in collecting the data. cron_script the cron script used to coordinate everything. conntrack number of connection currently being tracked through iptables, uses /proc. latency network latency determined by periodically pinging your gateway. memory memory usage. uses /proc. net_device Rx and Tx traffic on your various network interfaces. uses /proc. temperature inside and outside temperature. you need the appropriate 1-wire ibuttons for this. users number of users logged into system. ### ### How do I set it up? This is not going to work "out of the box". Your going to have to go through these scripts and customize them for usage on your system. Furthermore, some of these scripts have requirements. Such as the temperatures series, I use two 1-wire temperature ibuttons, a slightly modified version of the sensor reader, and my own perl wrapper script that ensures a good read and some minor parsing. If you wish to use my perl script you have to modify the temperature reader to output it the following format: (ID:Celsius:Fahrenheit) 9C0008002E3BA410:14.8:58.5 4E0008002E47E110:19.4:66.9 The rest is up to you.