Soucis Ntop

Résolu/Fermé
morgan_xd Messages postés 46 Date d'inscription mardi 18 mai 2010 Statut Membre Dernière intervention 14 octobre 2010 - 19 mai 2010 à 10:15
Xella60 Messages postés 65 Date d'inscription jeudi 3 juin 2010 Statut Membre Dernière intervention 25 février 2011 - 12 janv. 2011 à 14:06
Bonjour,

J'essaye de configurer Ntop mais il ne veut pas se lancer :

[root@localhost ~]# /etc/init.d/ntop start
Démarrage de ntop : Processing file /etc/ntop.conf for parameters...
Wed May 19 11:07:57 2010 NOTE: Interface merge enabled by default
Wed May 19 11:07:57 2010 Initializing gdbm databases
FATAL ERROR: Unrecognized/unprocessed ntop options...
, --user ntop, , --db-file-path /var/ntop, , , , --use-syslog=facility, , , , , , ,

run ntop --help for usage information

Common problems:
-B "filter expressions" (quotes are required)
--use-syslog=facilty (the = is required)

D'après ce message mon fichier n'est pas bien configuré mais je n'y ai pas touché, le voici :

[root@localhost ~]# vi /etc/ntop.conf ### You should copy this file to it's normal location, /etc/etc/ntop.conf
### and edit it to fit your needs.
###
### ntop is easily launched with options by referencing this file from
### a command line like this:
###
### ntop @/etc/ntop.conf
###
### Remember, options may also be listed directly on the command line, both
### before and after the @/etc/ntop.conf.
###
### For switches that provide values, e.g. -i, the last one matters.
### For switches just say 'do things', e..g -M, if it's ANYWHERE in the
### commands, it will be set. There's no unset option.
###
### You can use this to your advantage, for example:
### ntop @/etc/ntop.conf -i none
### Overrides the -i in the file.

### Sets the user that ntop runs as.
### NOTE: This should not be root unless you really understand the security risks.
--user ntop
### You should copy this file to it's normal location, /etc/etc/ntop.conf
### and edit it to fit your needs.
###
### ntop is easily launched with options by referencing this file from
### a command line like this:
###
### ntop @/etc/ntop.conf
###
### Remember, options may also be listed directly on the command line, both
### before and after the @/etc/ntop.conf.
###
### For switches that provide values, e.g. -i, the last one matters.
### For switches just say 'do things', e..g -M, if it's ANYWHERE in the
### commands, it will be set. There's no unset option.
###
### You can use this to your advantage, for example:
### ntop @/etc/ntop.conf -i none
### Overrides the -i in the file.

### Sets the user that ntop runs as.
### NOTE: This should not be root unless you really understand the security risks.
--user ntop

### Sets the directory that ntop runs from.
--db-file-path /var/ntop

### Interface(s) that ntop will capture on (default: eth0)
#--interface eth0

### Configures ntop not to trust MAC addrs. This is used when port mirroring or SPAN
#--no-mac

### Logging messages to syslog (instead of the console):
### NOTE: To log to a specific facility, use --use-syslog=local3
### NOTE: The = is REQUIRED and no spaces are permitted.
--use-syslog=facility

### Tells ntop to track only local hosts as specified by the --local-subnets option
#--track-local-hosts

### Sets the port that the HTTP webserver listens on
### NOTE: --http-server 3000 is the default
#--http-server 3000

### Sets the port that the optional HTTPS webserver listens on
#--https-server 3001

### Sets the networks that ntop should consider as local.
### NOTE: Uses dotted decimal and CIDR notation. Example: 192.168.0.0/24
### The addresses of the interfaces are always local and don't need to be specified.
#--local-subnets xx.xx.xx.xx/yy

### Sets the domain. ntop should be able to determine this automatically.
#--domain mydomain.com

### Sets program to run as a daemon
### NOTE: For more than casual use, you probably want this.
#--daemon

Merci pour votre aide !

3 réponses

morgan_xd Messages postés 46 Date d'inscription mardi 18 mai 2010 Statut Membre Dernière intervention 14 octobre 2010 2
19 mai 2010 à 10:20
Je viens de me rendre compte que le début du fichier est en double !

Maintenant j'ai :

FATAL ERROR: @command in file ... nesting is not permitted!
0
morgan_xd Messages postés 46 Date d'inscription mardi 18 mai 2010 Statut Membre Dernière intervention 14 octobre 2010 2
19 mai 2010 à 12:38
J'ai réussi a faire fonctionner ntop, tout est ok

Par contre j'ai un vlan et une adresse ip par client, est ce que je peut avoir les graphs du détail de la conso de chaque client en bande passante ?

Les données sont archivées sur une base rrd, comment faire pour consulter les vieilles données ?
0
Xella60 Messages postés 65 Date d'inscription jeudi 3 juin 2010 Statut Membre Dernière intervention 25 février 2011 3
12 janv. 2011 à 14:06
Je rencontre le même problème actuellement. Comment avais-tu fais ?
0