added sample configuration files
[bwmon.git] / monitors.sample.cfg
blob11beb0c9366ab169b4da48c6ed8c09b693ac5f6d
2 # bwmon - configuration file for monitoring processes
4 # Specify monitors that measure used bandwidth
6 # [Monitor Name]
7 # monitor=<monitor-type>
8 # <parameter>=<value>
11 # Monitor Name        is used to label the monitoring compoinent
13 # monitor-type        can be either monitor or pipe
14 #                     monitor tracks used bandwidth by analyzing /proc files
15 #                     pipe tracks bandwidth that is passed through it
16 #                     refer to the documentation for detailled explanations
18 # Parameters
20 # for "monitor"
21 # * include           will monitor only processes with a commandline that matches
22 #                     the given regular expression; other processes are ignored
24 # * exclude           will exclude processes with a commandline that matches
25 #                     the given regular expression
27 # for "pipe"
28 # * port              port that the pipe will listen on
29 # * newhost           host to which the pipe will connect
30 # * newport           port at newhost to which the pipe will connect
31 # * shape_threshold   bandwidth in kB/s at which the pipe will shape the traffic
35 [General]
36 monitor="monitor"
37 exclude="ssh.+khan.\thpinfo\.com"
39 [SSH]
40 monitor="pipe"
41 port=2222
42 newhost=khan.thpinfo.com
43 newport=22
44 shape_threshold=100