Skip to content
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

Flowview top tab missing? #68

Closed
whitty opened this issue Sep 16, 2021 · 5 comments
Closed

Flowview top tab missing? #68

whitty opened this issue Sep 16, 2021 · 5 comments

Comments

@whitty
Copy link

whitty commented Sep 16, 2021

Apologies if this is PEBCAK - i saw #45 which sounds similar, but is based on older versions.

Describe the bug
After installing and enabling flowview plugin and enabling a listener, verifying flowcollector service is running and listener reports Status == "Up" I was expecting to be able to configure or visualise flows - or something.

According to this video https://youtu.be/eIpoK0nFgR8?t=372 I saw there is a "FlowView" tab in the top - I do not see anything. I have the flowview entry in the "console" at left, but not at the top..

image

Its probably something I don't understand - I've used cacti for about 3 days at this point.

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Install cacti and flowview plugin according to these instructions https://github.com/QuantumObject/docker-cacti (also exposing port 2055 UDP)
  2. Enable the plugin
  3. Configure the listener as global (defaults - listening on 0.0.0.0:2055)
  4. Start the flow-capture service /usr/bin/php -q /var/www/html/cacti/plugins/flowview/service/flow-capture start
  5. Verify global listener is up
  6. Ensure router is configured to direct flowview to cacti IP address (Ubiquiti EdgeRouter Lite)
  7. Look around for any way to see flowview do anything?

Alternate step 4
4.1 Check the listener ID on the flow_collector.php and start flow_collector.php --debug --listener-id=<id> manually to get debug info
4.2 Verify that packets are being received and processed -eg:

-----------------------------------------------
Flow: Sleep Time: 0.00
Flow: Packet from: 192.168.1.1:46932 v10 - Len: 500
Flow: Processing v10/IPFIX Data, Len: 500
Flow: Data Found, Processing
Flow: Writing Records: 8
Flow: Cycle Time: 0.01

Expected behavior

Either - A FlowView tab will be visible at the top of the screen like in the video above

OR - there would be some other way to visualise or or preview the incoming data from the router. Or create reports, or anything? I may have missed where the data would be made available.

All I can see is in the "console" at left the ability to configure "Filters" and "Schedules" but adding one or the other doesn't suddednly show a new data source or graph source, or device or any other way to start visualising anything.

Screenshots

I was expecting a tab at the top - but there is nothing:

image

Plugin (please complete the following information):

  • Version: 3,2
  • Source: github /develop branch
  • Identifer: c099333

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser Firefox
  • Version 91.0.2

Additional context

Cacti version: Version 1.2.16

Server is running from docker image QuantumObject/docker-cacti:
https://github.com/QuantumObject/docker-cacti/blob/master/Dockerfile

Modified to run flow-capture service under runit. Also verified by manually starting flow_collector.php --debug

@TheWitness
Copy link
Member

Ensure you user has the flow viewer permission.

@whitty
Copy link
Author

whitty commented Sep 16, 2021

Thanks for the response - I am admin, and I assume this is right:

image

@whitty
Copy link
Author

whitty commented Sep 17, 2021

Sorry - if last response wasn't clear - the permission was already set.

@TheWitness
Copy link
Member

See it the plugin is enabled.

@whitty
Copy link
Author

whitty commented Sep 19, 2021

I'm so sorry to waste your time - you are correct - I believe my confusion was twofold:

image

  1. The red looked like a disablement, so I hit it. It turned green.
  2. I assumed that was enabled right because I was able to get the listener into the up state, and the configuration was available.

(PS I work on a media player and we have a similar problem with play/pause - if its a button/touchable you show Play when paused and Pause when playing. If its an indicator you reverse it).

@whitty whitty closed this as completed Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants