Giter Club home page Giter Club logo

Comments (6)

newerit avatar newerit commented on September 5, 2024 1

manual https://blog.remontti.com.br/7610

from nfsen-ng.

mbolli avatar mbolli commented on September 5, 2024

Seems like there is a level too much: It should be 2022\12\13 instead of 2022\12\13\23 (see readme). Can you try that?

from nfsen-ng.

rohanrajnv avatar rohanrajnv commented on September 5, 2024

I have checked the readme file and i am sorry i am not able to change the folder structure.
i run the following command it automatically creates the folders
sudo nfcapd -z -w -D -T all -l /var/nfdump/profiles-data/live/source1/ -I any -S 2 -p 9995

from nfsen-ng.

rohanrajnv avatar rohanrajnv commented on September 5, 2024

i have checked the folder issue
/var/nfdump/profiles-data/live/source1/
├── [4.0K] 2022
│   └── [4.0K] 12
│   └── [4.0K] 14
│   ├── [406K] nfcapd.202212141920
│   └── [525K] nfcapd.202212141925
└── [ 276] nfcapd.current.75297

I changed the command to
sudo nfcapd -z -w -D -T all -l /var/nfdump/profiles-data/live/source1/ -I any -S 1 -p 9995

and i changed the configuration in the settings.php
$nfsen_config = array(
'general' => array(
'ports' => array(
80, 22, 53,
),
'sources' => array(
'source1', 'source2',
),
'db' => 'RRD',
'processor' => 'NfDump',
),
'frontend' => array(
'reload_interval' => 60,
'defaults' => array(
'view' => 'graphs', // graphs, flows, statistics
'graphs' => array(
'display' => 'sources', // sources, protocols, ports
'datatype' => 'flows', // flows, packets, bytes
'protocols' => array('any'), // any, tcp, udp, icmp, others (multiple possible if display=protocols)
),
'flows' => array(
'limit' => 50,
),
'statistics' => array(
'order_by' => 'bytes',
),
),
),
'nfdump' => array(
'binary' => '/usr/bin/nfdump',
'profiles-data' => '/var/nfdump/profiles-data',
'profile' => 'live',
'max-processes' => 5, // maximum number of concurrently running nfdump processes
),
'db' => array(
'Akumuli' => array(
//'host' => 'localhost',
//'port' => 8282,
),
'RRD' => array()
),
'log' => array(
'priority' => LOG_INFO, // LOG_DEBUG is very talkative!
)
);

but i am getting a error in gui

Got 400 - Bad Request. rrd_xport failed. opening '/var/www/html/nfsen-ng/backend/datasources/data/source2.rrd': No such file or directory

image

from nfsen-ng.

jult avatar jult commented on September 5, 2024

oh and also:

# ./install.pl etc/nfsen-dist.conf
Check for required Perl modules: All modules found.
Setup NfSen:
Version: 1.3.10: install.pl 2022-12-19

Perl to use: [/usr/bin/perl]
nfdump tools installation error: 'nfcapd' not found in '/usr/local/bin' at ./install.pl line 195, <STDIN> line 1.

from nfsen-ng.

Dona21 avatar Dona21 commented on September 5, 2024

@jult you are mixing things up. nfsen-ng is not nfdump, it is just using it. Therefore, as mentioned more than once, for any nfdump suite tools you should ask that directly there https://github.com/phaag/nfdump

from nfsen-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.