Line 43: |
Line 43: |
| and wait for your db to start collecting data (at least 3 minutes) | | and wait for your db to start collecting data (at least 3 minutes) |
| | | |
− | ===DB command=== | + | ===Configuration with db command=== |
− | there is no panel yet you can manage the contrib by the db configuration, it is quite simple
| + | There is no server manager panel, you can easily configure the contrib with a db command (see examples below) |
| | | |
− | # config show bandwidthd | + | To display current settings |
| + | config show bandwidthd |
| + | Which will show something like |
| bandwidthd=service | | bandwidthd=service |
| DbName=bandwidthd | | DbName=bandwidthd |
Line 56: |
Line 58: |
| | | |
| | | |
− | Available options are below: | + | Available settings showing the db key property and value are listed below: |
| + | |
| + | ie in the first example subnet is a property and disabled is a value, note that a default property & value is not listed in the database entry, but is in effect. |
| + | |
| | | |
| * 'subnet' : default is "disabled", you can put there a subnet that is not your LAN or WAN or authorized SME network | | * 'subnet' : default is "disabled", you can put there a subnet that is not your LAN or WAN or authorized SME network |
Line 84: |
Line 89: |
| | | |
| | | |
− | After changing one of these settings, you need to apply it: | + | To change a setting use the following db command syntax |
| + | db configuration setprop bandwidthd property value |
| + | or in the special case only for the configuration db, this can be abbreviated to |
| + | config setprop bandwidthd property value |
| + | where property and value are obtained from the list of options above. |
| + | |
| + | eg to change webaccess |
| + | config setprop bandwidthd webaccess public |
| + | eg to change login page name |
| + | config setprop bandwidthd Name 'My Monitoring Login Page' |
| + | |
| + | After changing any setting, you need to apply it: |
| signal-event conf-bandwidthd | | signal-event conf-bandwidthd |
| | | |