]>
Commit | Line | Data |
---|---|---|
345ab6bf | 1 | ############################################################################### |
2 | # # | |
3 | # This file, ntop.conf.sample is a sample of an ntop configuration file. # | |
4 | # # | |
5 | # You should copy this file to it's normal location, /etc/ntop.conf # | |
6 | # and edit it to fit your needs. # | |
7 | # # | |
8 | # ntop is easily launched with options by referencing this file from # | |
9 | # a command line like this: # | |
10 | # # | |
11 | # ntop @/etc/ntop.conf # | |
12 | # # | |
13 | # Remember, options may also be listed directly on the command line, both # | |
14 | # before and after the @/etc/ntop.conf. # | |
15 | # # | |
16 | # For switches that provide values, e.g. -i, the last one matters. # | |
17 | # For switches just say 'do things', e..g -M, if it's ANYWHERE in the # | |
18 | # commands, it will be set. There's no unset option. # | |
19 | # # | |
20 | # You can use this to your advantage, for example: # | |
21 | # ntop @/etc/ntop.conf -i none # | |
22 | # Overrides the -i in the file. # | |
23 | # # | |
24 | ############################################################################### | |
25 | # # | |
26 | # Initial version by Burton M. Strauss III (Burton@ntopsupport.com) # | |
27 | # # | |
28 | # Updates and documentation courtesy of # | |
29 | # Joseph Ezerski (jezerski@broadcom.com) (04-2003) # | |
30 | # # | |
31 | ############################################################################### | |
32 | ||
33 | # Sets the user that ntop runs as. | |
34 | # NOTE: This should not be root unless you really understand the security risks. | |
35 | ||
36 | --user ntop | |
37 | ||
e86f047b JB |
38 | # Sets the directory that ntop runs from |
39 | # (but please set this in /etc/sysconfig/ntop, not here). | |
40 | #--db-file-path /var/lib/ntop | |
345ab6bf | 41 | |
42 | # interface(s) that ntop will capture on | |
43 | # DEFAULT: The 1st ethernet device, e.g. eth0 | |
44 | ||
45 | #--interface eth0 | |
46 | ||
47 | # Configures ntop not to trust MAC addrs. This is used when port mirroring or SPAN | |
48 | #--no-mac | |
49 | ||
50 | # Logging messages to syslog (instead of the console): | |
51 | # NOTE: To log to a specific facility, use --use-syslog=local3 | |
52 | # NOTE: The = is REQUIRED and no spaces are permitted. | |
53 | ||
54 | #--use-syslog | |
55 | ||
56 | # Tells ntop to track only local hosts as specified by the --local-subnets option | |
57 | ||
58 | #--track-local-hosts | |
59 | ||
60 | # Sets the port that the HTTP webserver listens on | |
61 | # NOTE: --http-server 3000 is the default | |
62 | ||
63 | #--http-server 3000 | |
64 | ||
65 | # Sets the port that the optional HTTPS webserver listens on | |
66 | ||
67 | #--https-server 3001 | |
68 | ||
69 | # Sets the networks that ntop should consider as local. | |
70 | # NOTE: Uses dotted decimal and CIDR notation. Example: 192.168.0.0/24 | |
71 | # The addresses of the interfaces are always local and don't need to be specified. | |
72 | ||
73 | #--local-subnets 192.168.0.0/24 | |
74 | ||
75 | # Sets the domain. ntop should be able to determine this automatically. | |
76 | ||
77 | #--domain mydomain.com | |
78 | ||
79 | # Allows rrd to reuse graphics (reduces cpu usage) if the data has not changed. | |
80 | ||
81 | #--reuse-rrd-graphics | |
82 | ||
83 | #Sets program to run as a daemon | |
84 | # NOTE: For more than casual use, you probably want this. | |
b7470479 JB |
85 | # but it's already passed by init script, so don't uncomment as it would |
86 | # disallow running foreground ntop with this config file (e.g. for debugging) | |
87 | # --daemon |