diff --git a/html/includes/collectd/config.php b/html/includes/collectd/config.php
index fb724db338..f65db26e83 100644
--- a/html/includes/collectd/config.php
+++ b/html/includes/collectd/config.php
@@ -63,6 +63,6 @@ $config['error_font'] = '/usr/share/fonts/corefonts/arial.ttf';
/*
* Constant defining full path to rrdtool
*/
-define('RRDTOOL', '/usr/bin/rrdtool');
+define('RRDTOOL', $config['rrdtool']);
?>