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