1 | 31 | simandl | # Which kind of legend shall be used |
2 | | | # set STYLE="bytes" to display all values in bytes/s |
3 | | | # set STYLE="bits" to display all values in bits/s |
4 | | | # |
5 | | | STYLE="bits" |
6 | | | STYLETOTAL="bytes" |
7 | | | |
8 | | | # Shall input and output traffic be swaped ? |
9 | | | # (possible values for "yes" are: "yes" "true" "1") |
10 | | | # |
11 | | | SWAPIO="no" |
12 | | | |
13 | | | # Use fixed-scale or dynamically scaled graphs. This affects ALL diagrams! |
14 | | | # set SCALE="-1000" to use dynamically scaing with a minimum scale of |
15 | | | # 1000 bytes/s (default) |
16 | | | # set SCALE="12345" to set the fixed scale of the graphs to 12345 bytes/s |
17 | | | # |
18 | | | # If nothing is defined here, the defaults (dynamic scaling with a minimum |
19 | | | # scale of 1000 bytes/s) will be used |
20 | | | # |
21 | | | SCALE="-1000" |
22 | | | |
23 | | | # Configure one line for each device that shall be sampled: |
24 | | | # |
25 | | | # DEV=<device>,<max bytes/s input>,<max bytes/s output>,<description> |
26 | | | # |
27 | | | # <device> is the network-device you like to sample |
28 | | | # |
29 | | | # for SNMP queries the <device> entry has the following format: |
30 | | | # |
31 | | | # SNMP:<host>:<community>:<interface> |
32 | | | # |
33 | | | # <host> is the name or the IP of the host you want to query |
34 | | | # |
35 | | | # <community> self explaining (for newbies: the community acts almost |
36 | | | # like a "password" for SNMP) |
37 | | | # |
38 | | | # <interface> the name of the interface on the remote-host |
39 | | | # |
40 | | | # in var/modules/<host>.info is stored snmp protocol version |
41 | | | # |
42 | | | # RRCP:<host>:<authkey>:<interface> |
43 | | | # |
44 | | | # <host> is the MAC of the host you want to query |
45 | | | # |
46 | | | # <authkey> self explaining (for newbies: the authkey acts almost |
47 | | | # like a "password" for RRCP and default is 2379) |
48 | | | # |
49 | | | # <interface> the port number of the interface on the remote-host |
50 | | | # |
51 | | | # Examples: |
52 | | | # |
53 | | | # DEV="eth0,12500000,12500000,100 MBit ethernet" |
54 | | | # DEV="SNMP:192.168.1.1:public:eth0,12500000,12500000,100 MBit ethernet via SNMP" |
55 | | | # DEV="RRCP:6a.61.62.00.00.03:2379:25,125000000,125000000,1 Gbit eth via RRCP" |
56 | | | # |
57 | | | RTLBIN="/usr/local/bin/rtl83xx_repotec_g3224x" |
58 | | | # |
59 | | | DEV="eth00,125000000,125000000,1G " |
60 | | | DEV="eth01,125000000,125000000,1G " |
61 | | | DEV="eth02,1250000000,1250000000,10G " |
62 | | | DEV="eth03,1250000000,1250000000,10G " |
63 | | | DEV="eth04,1250000000,1250000000,10G " |
64 | | | DEV="eth05,1250000000,1250000000,10G " |