File: bandwidthd-pgsql.conf.template

package info (click to toggle)
bandwidthd 2.0.1%2Bcvs20090917-13
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 1,308 kB
  • sloc: sh: 3,008; ansic: 2,752; php: 1,263; yacc: 216; makefile: 159; lex: 36; sql: 27
file content (56 lines) | stat: -rw-r--r-- 1,618 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
####################################################
# Bandwidthd.conf
# 
# Commented out options are here to provide
# documentation and represent defaults

# Subnets to collect statistics on.  Traffic that 
# matches none of these subnets will be ignored.
# Syntax is either IP Subnet Mask or CIDR

#DEBCONF_SUBNETS#

# Device to listen on
# Bandwidthd listens on the first device it detects
# by default.  Run "bandwidthd -l" for a list of 
# devices. 

#DEBCONF_DEVS#

###################################################
# Options for postgresql database logging.

# Standard postgres connect string, just like php, see postgres docs for
# details
#pgsql_connect_string "user = someuser dbname = mydb host = localhost"

#DEBCONF_PGSQL#

# Arbitrary sensor name, I recommend the sensors fully qualified domain
# name
#sensor_id "sensor1.localhost.localdomain"

#DEBCONF_SENSORID#

# Tells Bandwidthd to keep no data and preform no graphing locally
graph false
# If this is set to true Bandwidthd will try to recover the daily log
# into the database.  If you set this true on purpose only do it once.
# Bandwidthd does not track the fact that it has already transferred
# certain records into the database.
recover_cdf false


###################################################
# Options that don't usually get changed

#Put interface in promiscuous mode to score to traffic
#that may not be routing through the host machine.
#promiscuous true

#DEBCONF_PROMISC#

#Libpcap format filter string used to control what bandwidthd see's
#Please always include "ip" in the string to avoid strange problems
#filter "ip"