Collectd

What is collectd ?
Collectd is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD files. Website

Collectd config for OpenSim
As stated here : Monitoring Module, we can get region statistics using the url : http://sim:port/monitorstats/UUID of the region or region name. We can use the collectd curl_xml plugin to get xml values and store them in a rrd file. To do this, we need to enable the curl_xml plugin and define some dataset types.


 * Create a file /etc/collectd/my_types.db
 * Edit the file and add inside (i have put only generic limits but feel free to edit this page and adjust the ranges) :


 * Save the file and uncomment the line :

in /etc/collectd/collectd.conf


 * Add the plugin options in /etc/collectd/collectd.conf :


 * Save the file and restart collectd