RRDTool, RRDCached Server, Netflow Integration and absolute path error: absolute path names not allowed when talking to a remote daemon

ok, provided a summary of what i’ve been able to do to get graphing working in an environment whereby RRDCached servers are in a separate VM to the Pollers:

  • map nfsen profiles-stat folder (where RRD files are) on the LibreNMS RRDCached server
  • map nfsen profiles-stat folder (where RRD files are) on the LibreNMS Poller server(s)
  • symlink (if required) the nfsen mount (on the LibreNMS RRDCached server) to your librenms rrdcached folder (for eg ln -s /u01/nfsen/profiles-stat/librenms /u01/rrdcached/librenms/netflow)
  • modify librenms/includes/html/graphs/device/nfsen_common.inc.php to store relative path for nfsen rrd files on LibreNMS RRDCached server ( search and replace with $rrd_filename=‘netflow/’.$nfsen_filename.’.rrd’; )
  • modify librenms/includes/html/graphs/device/nfsen_channel_common.inc.php to store relative path for nfsen rrd files on LibreNMS RRDCached server ( search and replace with $rrd_filename=‘netflow/’.$nfsenHostname.’/’.$vars[‘channel’].’.rrd’; )

the last 2 bullet points needs to be tweaked though.