-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am unable to get Netflow Stats but the graphs work just fine. I get a grey bar when I hit process but no data. #14187
Comments
Did you configured rrdcached correctly to allow access to your nfsen rrds? |
Absolutely.
Configured on two separate systems following the instructions both times.
I spent many hours double and triple checking my settings and
unfortunately I always removed the settings from the config.php because I'm
a fan of a GuI and prefer them when I am presented with one.
It shows exactly the same as it does when I manually put it in the gui or I
set it in the config.
Something is wrong with the Web page entry system.
I'm not sure what setting it is and I can try and circle back to isolate
it, but I spent SOOOO much time (every day... Including weekends for 3
weeks. And yes I must not be that smart) on trying to get past this that I
fell behind on other things which include simply getting things into the
system.
…On Sun, Aug 7, 2022 at 7:25 AM Tony Murray ***@***.***> wrote:
Did you configured rrdcached correctly to allow access to your nfsen rrds?
—
Reply to this email directly, view it on GitHub
<#14187 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG7CVNKQ5CR3LX4M6A2MFLVX7BOHANCNFSM55YGYFBA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
$config['nfdump'] = '/media/nfdump/nfdump';
path to nfdump |
I figured this out but I think it's a bug. The directions tell you to make entries in the config.php. But then when you go into the gui it talks about removing the configuration from the config.php to enable the enable disable button and even some of the other buttons.
The problem with this is that it will only work if the config is in the config.php. Some of the other settings seem ok and I'm not sure exactly which one does it, but if you don't have the enable line or the rrd lines and the seperator in the config then the stats don't come in when you hit process. It's actually the /opt/librenms/includes/html/pages/device/nfsen/stats.inc.php file that calls the command for nfdump the portion that gets the host fails and the command is incomplete.
So since there isn't any big red letters saying "Don't remove your config" than I would think this is unintended behavior.
Man I was obsessed with this thing and although I have a much better sense of how things work, I have been obsessed with this. I have gone so far down the rabbit hole just to find that it would have worked if I had just followed along with my crayons.
Anyway.. There is a bug so there is that. ;-)
The problem
I am trying to get the netflow statistics to work. I have been at this for what seems to be ages.
The netflow graphs work just fine.
I run nfsen on the same server and have it setup with apache on 8080 and that works fine. The main site is running with nginx. I have had to do a few patches to get the errors to go away like Backend and Frontend mismatch errors. But I can get past all that.
I have tried every sym link I can think of to try to get the info and again graphs are just fine.
When click the stats link I get the bar that allows me to select what I'm searching for.
After I click process, it almost immediately puts a thin bar below that (like it was creating the space to put stuff) and I get a quick bar going across the top.
I have set the environment to debug. I have checked all the logs in librenms that I can find. Access log shows that it's doing topn and shows some parameters but I can never find were it's calling nfdump which I'm assuming it's doing .
I have recently tried making nfsen run as librenms and changed all the ownership to librenms and I just can't get it.
I have two installs.. both Unbuntu 22.04 One at work and one at home that working on.
I'm not sure where to look to get what might be failing because nothing is complaining.
Any help would be greatly appreciated.. Please just tell me what you need from me to look at.
Output of ./validate.php
What was the last working version of LibreNMS?
No response
Anything in the logs that might be useful for us?
The text was updated successfully, but these errors were encountered: