The System configuration form holds the general settings of the device: its name, the date and time, the web server, the logs, the storage of remanent values, SSH and support access, and redundancy. Open the System page and click System configuration in the left menu. Only administrators see this form.
To change a setting, click the cog next to System configuration, edit the fields and confirm with the check mark. The cross cancels your changes.
Some changes need a restart of the web server, of the device software or of the whole device. The page tells you which one and asks you to confirm.
On Windows installations, Optimize memory, Enable SSH (port 22), the whole Disk / Logs group (logs, disk monitor, remanent storage, Grafana Loki) and the Datetime configuration are not shown.
Click the gear icon of the navigation bar to open the administration page (address /administration/system). Its left menu has five sections:
| Section | Entries | See |
|---|---|---|
| System | System home page, System logs, License configuration, System snapshots, Clusters configuration, System update, System configuration | This page, and the links in the table below. |
| Network | Network home page, Port forwarding, Static routes, TCP ↔ Serial, Serial ↔ TCP, DHCP Server, Network configuration. Linux devices only. | Network, Serial bridges |
| Gateways | The gateways of the device and their addresses. | Gateways, Addresses |
| Access | Access configuration (users and API keys), Role configuration (roles). | Users, roles and API keys |
| Loggers | The data loggers. | Logging and history |
The entries you see and the actions you can run depend on the rights of your account: see Users, roles and API keys.
| Entry | Content |
|---|---|
| System home page | State of the device, actions and sessions. See System home page. |
| System logs | Logs of the device software. See System logs. |
| License configuration | Licences of the device. See Product licences. |
| System snapshots | Snapshots of the device. See Backup, restore and snapshots. |
| Clusters configuration | See Gateway clusters. |
| System update | Software update of the device. See Software update. |
| System configuration | General settings of the device, described below. |
| Node Red | Shown on devices that support Node-RED, with start and stop buttons. |
The System home page is the first screen of the System page.
| Box | Content |
|---|---|
| System action | Backup, Manage snapshots, and for administrators Restore, Reboot and Factory reset. See Backup, restore and snapshots and, before a Factory reset, Reset and recovery. |
| CPU usage, Memory usage, Disk usage | Live gauges. With Activate disk monitor on, statistics shows which files are written to the storage. |
| Active sessions | Users and API clients connected now, with their address and connection time. Administrators can Remove a session to log the user out. |
| System informations | Device model, platform, software version and revision, kernel. |
| Terminal | The diagnostics terminal: see Network diagnostics. Hidden on Windows and for accounts without Terminal access. |
The menu icon (☰) of the System tab gives Import system configuration, Export system configuration and System reboot.
| Parameter | Description |
|---|---|
| System name | Name of the device. It is shown in the title of the browser tab. Default: Weble IoT gateway (Windows IOT gateway on Windows). |
| Optimize memory | Lowers the memory used by the device software, at the cost of some speed. Off by default. Changing it restarts the device software. |
| Enable SSH (port 22) | Linux devices; shown only to accounts with full rights (no restricted role). Lets SSH clients on the network connect to the device on port 22. On by default. Untick it to close SSH from the network; the Terminal of the System page keeps working. A confirmation is asked. |
Keep SSH closed when you do not need it. See Securing the device.
| Parameter | Description |
|---|---|
| Save logs on disk | Writes the logs of the device software to its storage. Off by default. |
| Activate disk monitor | Records which files the device software writes to the storage, and how much. Off by default. When it is on, the System home page shows the disk write statistics. The change applies at once. |
| Remanent value storage | Where the remanent values are stored. Remanent values are the address values kept across restarts. default: the internal storage of the device. usb: a removable storage device. custom: a folder of your choice. Which addresses keep their value is set per address with Store value: see Log and Store value policies. |
| Remanent USB device | Shown with usb. The storage device to use. Leave it empty to let the device find it. |
| Remanent dir | Shown with custom. Path of the folder. It cannot contain the characters : and =. |
Writing logs all the time wears flash storage (SD card, eMMC). Turn Save logs on disk on only while you look for a problem, and turn it off when you are done.
After a change of Remanent value storage, the device software must restart. The page asks you to confirm.
System › System logs shows the logs of the device software.
Without Save logs on disk, only the last lines kept in memory are available: reproduce the problem, then read the logs at once. Which log to read for which problem, and what to send to support: see Logs and diagnostics.
The device can send its logs to a Grafana Loki server. This works also when Save logs on disk is off.
| Parameter | Description |
|---|---|
| Grafana LOKI enable | Turns the sending of the logs on. |
| Host | URL of the Loki server. |
| Username | User name of the Loki account. |
| Password/Token | Password or token of the Loki account. |
| Application name | Value of the app label attached to the logs. Default: iot-gateway. |
The Datetime configuration section sets the time source and the time zone.
| Parameter | Description |
|---|---|
| Mode | Time source of the device. See the modes below. Default: NTP. |
| Timezone | Time zone of the device. After a change, the page asks you to reboot the device. |
| DateTime | Shown in defined mode. The date and time to set. |
| NTP Server 1 to NTP Server 4 | Shown in Custom NTP mode. Host names or IP addresses of your NTP servers. One server is enough. |
| NTP Server | When ticked, the device also answers the NTP requests of other equipment on the network (UDP port 123). Use it in NTP or Custom NTP mode. |
| NTP sync. interval (ms) | Time between two synchronisations, in milliseconds. Default: 14400000 (4 hours). |
| Mode | Description |
|---|---|
| NTP | The device synchronises with the Weble server through the VPN, and with the public servers 0.ch.pool.ntp.org to 3.ch.pool.ntp.org. |
| defined | You set the date and time by hand in DateTime. The device does not synchronise. |
| Custom NTP | The device synchronises with the servers entered in NTP Server 1 to NTP Server 4. |
| From DHCP | The device uses the NTP servers given by the DHCP server. |
In NTP and Custom NTP modes, the device must reach the servers on UDP port 123. Check the firewall of the site if the time drifts.
Two devices can work as a redundant pair. The full procedure is in Redundancy. The master is active. The slave stays on standby, copies the data of the master and takes over when the master stops. Redundancy needs a licence on the master: without it, choosing master shows Missing redundancy license.
| Parameter | Description |
|---|---|
| Role | off (default), master or slave. |
| Master host | Slave only. Address of the master. |
| Master sync (ms) | Slave only. Period of the full data copy, in milliseconds. 0 uses the default, 120000 (2 minutes). |
| Master port | Port of the redundancy link. Default: 9009. |
The standby device gives up the main address only if a Secondary address (with its netmask) is set on its Ethernet interface, in Network configuration (see Network). Without it, each device keeps its own address.
| Parameter | Description |
|---|---|
| Use HTTP | Serves the web interface and the API over HTTP. On by default. |
| HTTP Port | Port of the HTTP server. Default: 80 (8888 on Windows installations). |
| Use HTTPS | Serves the web interface and the API over HTTPS. Off by default. |
| HTTPS Port | Port of the HTTPS server. Default: 443. |
| HTTPS redirect HTTP | Sends the pages opened over HTTP to HTTPS. Use HTTPS must be on. Use it with the default ports 80 and 443. |
| Websocket compression | Compresses the live data exchanged with the browser. On by default. The interface shows it as Wesocket compression. |
| Custom certificates | Uses your own certificate for HTTPS. See below. |
| Allow token | Accepts token-based logins. Off by default. Leave it off unless Weble asks you to enable it. Changing it restarts the web server. |
| Web support access | Linux devices prepared with a support account; shown only to accounts with full rights (no restricted role). Lets Weble support log in with the support account, with full rights, until you untick it. Every support login is recorded; the tooltip of the label shows the state and the last login. |
Leave Web support access unticked. Tick it only while Weble support works on the device, and untick it after the intervention. See Securing the device.
At least one of Use HTTP and Use HTTPS must stay on. A port already used on the device is refused.
After a change in this section, the web server must restart. The page asks you to confirm, and you lose the page for a few seconds. If you changed the port or the protocol, open the device again with the new address.
Without your own certificate, HTTPS uses a self-signed certificate built into the device. The connection is encrypted, but the browser shows a warning.
To create a certificate or get one from your PKI, see TLS certificates and SCEP. To use your own certificate, tick Custom certificates and load the three files with the change button. The files are in PEM (text) format.
| Parameter | Description |
|---|---|
| Cert | Certificate of the device. |
| Key | Private key of the certificate. |
| Key passphrase | Passphrase of the private key. Leave it empty if the key has none. |
| CA | Certificate of the authority that signed the certificate. |
Cert, Key and CA are all required. If the device cannot load your certificate, it uses the built-in one.
Shown only when a screen with a graphical session is attached to the device (Linux).
| Parameter | Description |
|---|---|
| Default URL | Address of the page shown by the browser on the screen of the device. The browser restarts when you change it. |