Does this Flowview setup look correct to you?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
kdsmith
Posts: 10
Joined: Tue Dec 27, 2011 5:15 pm

Does this Flowview setup look correct to you?

Post by kdsmith »

I installed this last month and am just now getting around to troubleshooting the install.

Here is one of the directories that my flows have gone:

/var/netflow/flows/Router/2012/2012-02/2012-02-03

Here is my listener setup:
Router /Router /YYYY/YYYY-MM/YYYY-MM-DD 0 2055 NetFlow version 5 0 15 Minutes 2 Days

The console settings all show [OK: DIR FOUND] so I don't think that is it.

Do I need the "/" on the Router directory on the listener settings? Does the rest look okay? The sub-directory settings seem to match what is on the server. Yet, I'm not seeing anything on the Cacti page. And when I click on one of the "bar" boxes, I get:

Open Flash Chart

JSON Parse Error [Syntax Error]
Error at character 0, line 1:

0:

I believe that is just because it isn't seeing the data.

What am I missing on this?

Thanks,
Kevin
kdsmith
Posts: 10
Joined: Tue Dec 27, 2011 5:15 pm

Re: Does this Flowview setup look correct to you?

Post by kdsmith »

Anybody have any suggestions on this (other than using my belt for a noose)?

Thanks,
Kevin
chrism01
Posts: 13
Joined: Thu Dec 01, 2011 11:47 pm

Re: Does this Flowview setup look correct to you?

Post by chrism01 »

I sympathise: I reckon I've got the setup running & data is being stored, but I get that JSON error, but can't find a soln on google.
Anyone got the answer please..

Cheers
Chris
Cheers
Chris
mikeocean
Posts: 2
Joined: Tue May 22, 2012 6:22 am

Re: Does this Flowview setup look correct to you?

Post by mikeocean »

chrism01 wrote:I sympathise: I reckon I've got the setup running & data is being stored, but I get that JSON error, but can't find a soln on google.
Anyone got the answer please..

Cheers
Chris

+1
mikygee
Cacti User
Posts: 88
Joined: Thu Jul 30, 2009 3:13 am

Re: Does this Flowview setup look correct to you?

Post by mikygee »

Hello,

This plugin is working nicely although I think it has some (feature) drawbacks. I would like to thank the author anyway.

To debug please

Start flow-capture

Code: Select all

# flow-capture -w /somepath/cacti/netflow/ -S5 -V5 -n  96 127.0.0.1/0/12345
And check

Code: Select all

# flow-cat -p /somepath/cacti/netflow/2011/2011-12/2011-12-09/ft-v05.2011-12-09.231815+0100 | flow-stat -f8
Create the listener

Code: Select all

Directory = /
The root is considered regarding the Flows directory that you have configured in settings (Configuration > Settings > Misc)

Also, you have checked
- Where the flow tools are installed and configured Flow Tools Binary Path (Configuration > Settings > Misc) accordingly
- Configured a Flow Tools Work Directory such as /tmp
- that the .sql script plugin_flowview_ports.sql has been imported

Hopefully this will help you
Some info about my system
- Cacti: 0.8.8g / OpenBSD 6.6
- Third Party: Nginx 1.16.1 / PHP 7.3.10 / MariaDB 10.3.18v1 / NET-SNMP version 5.8p2 / RRDTool 1.7.2
- Plugins: Weathermap 0.97c / Settings 0.71 / Thold 0.5 / Flowview 1.1 / Realtime 0.5.2 / Predict 1.0
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests