Skip to content

Commit

Permalink
release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygd committed Sep 29, 2024
1 parent 9ab359d commit 22e9ede
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion beszel/version.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package beszel

const (
Version = "0.4.0"
Version = "0.5.0"
AppName = "beszel"
)
21 changes: 13 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ Use `./beszel update` and `./beszel-agent update` to update to the latest versio

### Hub

| Name | Default | Description |
| ----------------------- | ------- | -------------------------------- |
| `DISABLE_PASSWORD_AUTH` | false | Disables password authentication |
| Name | Default | Description |
| ----------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `CSP` | unset | Adds a [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) header with this value. |
| `DISABLE_PASSWORD_AUTH` | false | Disables password authentication. |

### Agent

Expand All @@ -110,8 +111,10 @@ Use `./beszel update` and `./beszel-agent update` to update to the latest versio
| `EXTRA_FILESYSTEMS` | unset | See [Monitoring additional disks / partitions](#monitoring-additional-disks--partitions) |
| `FILESYSTEM` | unset | Device, partition, or mount point to use for root disk stats. |
| `KEY` | unset | Public SSH key to use for authentication. Provided in hub. |
| `LOG_LEVEL` | info | Logging level. Valid values: "debug", "info", "warn", "error". |
| `NICS` | unset | Whitelist of network interfaces to monitor for bandwidth chart. |
| `PORT` | 45876 | Port or address:port to listen on. |
| `SENSORS` | unset | Whitelist of temperature sensors to monitor. |

<!-- | `SYS_SENSORS` | unset | Overrides the sys location for sensors. | -->

Expand Down Expand Up @@ -151,15 +154,17 @@ Visit the "Auth providers" page to enable your provider. The redirect / callback

</details>

## Monitoring additional disks / partitions
## Monitoring additional disks, partitions, or remote mounts

You can configure the agent to monitor the usage and I/O of more than one disk or partition. The approach differs depending on the deployment method.
The method for adding additional disks differs depending on your deployment method.

Use `lsblk` to find the names and mount points of your partitions. If you have trouble, check the agent logs.

> Note: The charts will use the name of the device or partition if available, and fall back to the folder name. You will not get I/O stats for network mounted drives.
### Docker

Mount a folder from the partition's filesystem in the container's `/extra-filesystems` directory, like the example below. The charts will use the name of the device or partition, not the name of the folder.
Mount a folder from the target filesystem in the container's `/extra-filesystems` directory. For example:

```yaml
volumes:
Expand All @@ -169,10 +174,10 @@ volumes:
### Binary
Set the `EXTRA_FILESYSTEMS` environment variable to a comma-separated list of devices or partitions to monitor. For example:
Set the `EXTRA_FILESYSTEMS` environment variable to a comma-separated list of devices, partitions, or mount points to monitor. For example:

```bash
EXTRA_FILESYSTEMS="sdb,sdc1,mmcblk0"
EXTRA_FILESYSTEMS="sdb,sdc1,mmcblk0,/mnt/network-share"
```

## REST API
Expand Down

0 comments on commit 22e9ede

Please sign in to comment.