p-alik / nfsen

Attention! This repository contains inofficial copy of NfSen. The official site of the NfSen project: http://nfsen.sourceforge.net/
Other
17 stars 10 forks source link

Error Creating Graph! #12

Closed pk8523 closed 4 years ago

pk8523 commented 5 years ago

I’m having an issue getting the graphs to show data. In the live Profile on the details tab all graphs just show “Error Creating Graph!”. I can’t seem to find any log file referencing any issues and I see data in Statistics Table and netflow processing. Thanks

p-alik commented 5 years ago

https://sourceforge.net/p/nfsen/mailman/message/36486692/

Sounds like a permissions issue in your graphs/www data.

pk8523 commented 5 years ago

Any Idea what folder I’m looking for? Everything under /data/nfsen is owned by www-data with 0775 permissions including /data/nfsen/profiles-data/live and all sub folders. Is there a different account that the graphs would be using to access the rrd files located there or is the permissions issue somewhere else that I’m not finding?

pk8523 commented 5 years ago

the /var/www/nfsen is owned by www-data with 0775 permissions. Im not finding any directory that would indicate where the graphs are reading the data from other than /data/nfsen/profiles-data/live

pk8523 commented 5 years ago

I figured it out I named my router with dashes apparently that's a bad Idea. I took the dashes out and the graphs are now showing data.

luitzifa commented 5 years ago

I got the same error and my devices are named with dashes too. But for me this was not the cause of the problem. My problem was that i had a color with just 5 digits e.g. "#8f0e2". After fixing the colors it works, also with dashes in my devicenames.

p-alik commented 5 years ago

@pk8523, @luitzifa thanks to both of you for sharing your experienced solutions. If you have recommendation with regard to improvement, please share it. Otherwise I'll close the issue.