NFSen Tab does not appear

Hi all,
I have a problem: I’ve installed NFSen (I think well, because it’s running) but I cannot see the NF tab in my LibreNMS’home page.
I have edited only /opt/librenms/include/

This is my

// NFSen RRD dir.
$config[‘nfsen_enable’] = 1;
$config[‘nfsen_split_char’] = “_”;
$config[‘nfsen_rrds’] = “/data/nfsen/profiles-stat/live/”;
$config[‘nfsen_rrds’] = “/data/nfsen/profiles-stat/live/”;
$config[‘nfsen_suffix’] = “”;

Where am I wrong? thanks a lot!!!

What do the files look like in those directories?

The config should be: $config['nfsen_rrds'][] = “/data/nfsen/profiles-stat/live/”;. You can remove one of the nfsen_rrds

I correct it, but without any improvement. I thought that at least a tab with “Netflow” should appear enabling NFSen, but it is not present


I could be wrong but I thought that was supposed to be in config.php

No, now it is changed and every kind of information is written on On config.php there are no lines like those ones I posted

you have to add them into config.php

I did it and I reboot the web server with “sudo shutdown -r now”, but no tab appears there, do you know if there should be a new tab or something integrated in another page?

I believe so in the device itself. when you click on the device then tab called Netflow.

I have only these tabs

then im guessing that something is not set correctly in config.php


If you look in html/pages/ you can find the code where it tries to convert librenms device hostname to a nfsen rrd file. It does this in three steps on the hostname:
1- regex replace any “.” with the nfsen_split_char
2- strstr to strip off the nfsen_suffix from the end
3- add $config[‘nfsen_rrds’] the the beginning and “.rrd” to the end

Since you seem to be saying that your nfsen rrd files have your domain name (_example_net), I think your nfsen_suffix should = “”. But you tried that.

These are the lines in html/pages/ about nfsen

    if ($config['nfsen_enable']) {
        if (!is_array($config['nfsen_rrds'])) {
            $config['nfsen_rrds'] = array($config['nfsen_rrds']);

        foreach ($config['nfsen_rrds'] as $nfsenrrds) {
            if ($nfsenrrds[(strlen($nfsenrrds) - 1)] != '/') {
                $nfsenrrds .= '/';

            $nfsensuffix = '';
            if ($config['nfsen_suffix']) {
                $nfsensuffix = $config['nfsen_suffix'];

            if (isset($config['nfsen_split_char']) && !empty($config['nfsen_split_char'])) {
                $basefilename_underscored = preg_replace('/\./', $config['nfsen_split_char'], $device['hostname']);
            } else {
                $basefilename_underscored = $device['hostname'];

            $nfsen_filename           = preg_replace('/'.$nfsensuffix.'/', '', $basefilename_underscored);
            if (is_file($nfsenrrds.$nfsen_filename.'.rrd')) {
                $nfsen_rrd_file = $nfsenrrds.$nfsen_filename.'.rrd';
    }//end if

I don’t know where to modify

and your config.php?

It’s only composed by DB config, authentication model and those lines I copied from your suggestion

only lines I suggested were copied straight from you – so they could be wrong - double check in the doc.

Yes, but enabling nfs (with $config[‘nfsen_enable’] = 1; ) I think it should enabling the tab, isn’t it?

Don’t change, you need to put the config you’ve changed into config.php

Can you show an example of the files in the directory you’ve pointed to?

1 Like

Was this issue ever resolved?

was it? I’m having a similar issue, Netflow tab not appearing?