Integrate Nfsen from a different server

I am trying to setup Nfsen from a different server. I have Nfsen working and collecting flows. How can point LibreNMS to the rrds on the Nfsen folder? I have been looking everywhere an I am not seeing anything that addresses this directly. Is this possible using samba share or something? Any advice would be greatly appreciated.

If I enable Nfsen from the WebUI in LibreNMS nothing changes. I check the config and nothing was put in for NfSen. I tried adding the lines and keeps erroring out on ./validate.

Sample of what I put in config.php
//$config[‘nfsen_enable’] = 1;
//$config[‘nfsen_split_char’] = ‘_’;
//$config[‘nfsen_rrds’][] = ‘\IPADDRESS\sharename’;
//$config[‘nfsen_suffix’] = “_yourdomain_com”

After I save and run ./validate I get the following error


Component Version
LibreNMS 21.8.0-13-g676bb8c5a
DB Schema Not Connected (0)
PHP 7.4.3
Python 3.8.10
RRDTool 1.7.2


[FAIL] Syntax error in config.php

Parse error: syntax error, unexpected ‘$config’ (T_VARIABLE) in config.php on line 24
Errors parsing config.php
[OK] Composer Version: 2.1.6
[OK] Dependencies up-to-date.

Line 24 in my config.php is:
//$config[‘nfsen_suffix’] = “_yourdomain_com”

Please let me know if there is something I am missing. Nfsen is working and so is LibreNMS I just need LibreNMS to access the rrds from Nfsen on a different server.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.