Lightweight server monitoring with historical data, docker stats, and alerts.
60 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .goreleaser.yml | 181 | # summary: 'Agent for Beszel, a lightweight server monitoring platform.' |
| LOW | internal/tests/api.go | 21 | |
| LOW | internal/tests/api.go | 61 | |
| LOW | internal/tests/api.go | 81 | // map[string]int{ "*": 0 } // no hook events were fired |
| LOW | internal/tests/api.go | 101 | // Method: http.MethodGet, |
| LOW | internal/tests/api.go | 121 | }) |
| LOW | internal/alerts/alerts_cache_test.go | 181 | // defer hub.Cleanup() |
| LOW | internal/alerts/alerts_cache_test.go | 201 | // assert.Len(t, cache.Get(system1.Id), 1) |
| LOW | internal/site/src/components/ui/chart.tsx | 21 | // config: ChartConfig |
| LOW | internal/site/src/components/ui/chart.tsx | 61 | ) |
| LOW | internal/site/src/components/ui/alert.tsx | 1 | import * as React from "react" |
| LOW | …src/components/systemd-table/systemd-table-columns.tsx | 41 | }, |
| LOW | …/src/components/routes/system/charts/sensor-charts.tsx | 121 | dataKey: dataKeys[key], |
| LOW | internal/site/src/lib/utils.ts | 301 | // if (uptimeSeconds < 3600) { |
| LOW | internal/hub/api_test.go | 621 | "min": 10, |
| LOW | internal/entities/smart/smart.go | 41 | // ID int `json:"id"` |
| LOW | internal/entities/smart/smart.go | 61 | // Value int `json:"value"` |
| LOW | internal/entities/smart/smart.go | 101 | GpLoggingSupported bool `json:"gp_logging_supported"` |
| LOW | internal/entities/smart/smart.go | 301 | |
| LOW | internal/entities/smart/smart.go | 341 | // Wwn WwnInfo `json:"wwn"` |
| LOW | internal/entities/smart/smart.go | 441 | // Bytes uint64 `json:"bytes"` |
| LOW | internal/entities/container/container.go | 21 | // Type string |
| LOW | agent/connection_manager.go | 121 | } |
| LOW | supplemental/docker/agent/docker-compose.yml | 21 | TOKEN: "<token>" |
| LOW | supplemental/scripts/install-hub.sh | 21 | cat <<'EOF' |
| LOW | supplemental/scripts/install-agent.sh | 101 | # PROVIDE: beszel_agent |
| LOW | supplemental/kubernetes/beszel-hub/charts/values.yaml | 41 | annotations: {} |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | supplemental/scripts/install-hub.sh | 144 | # Check if running as root and re-execute with sudo if needed |
| LOW | supplemental/scripts/install-hub.sh | 380 | # Check if service started successfully |
| LOW | supplemental/scripts/install-hub.sh | 436 | # Check if the service is running |
| LOW | supplemental/scripts/install-agent-brew.sh | 50 | # Check if brew is installed, prompt to install if not |
| LOW | supplemental/scripts/install-agent.sh | 40 | # Check if SELinux is enabled and in enforcing or permissive mode |
| LOW | supplemental/scripts/install-agent.sh | 278 | # Check if running as root and re-execute with sudo if needed |
| LOW | supplemental/scripts/install-agent.sh | 318 | # Check if there's a value after the = sign |
| LOW | supplemental/scripts/install-agent.sh | 341 | # Check if there's a value after the = sign |
| LOW | supplemental/scripts/install-agent.sh | 490 | # Check if a package is installed |
| LOW | supplemental/scripts/install-agent.sh | 583 | # Check if beszel is already in docker group |
| LOW | supplemental/scripts/install-agent.sh | 787 | # Check if service started successfully |
| LOW | supplemental/scripts/install-agent.sh | 933 | # Check if service started successfully |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | supplemental/scripts/install-hub.sh | 302 | # Create a dedicated user for the service if it doesn't exist |
| MEDIUM | supplemental/scripts/install-hub.sh | 314 | # Create the directory for the Beszel Hub |
| MEDIUM | supplemental/scripts/install-hub.sh | 366 | # Create the rc service file |
| MEDIUM | supplemental/scripts/install-agent.sh | 555 | # Create a dedicated user for the service if it doesn't exist |
| MEDIUM | supplemental/scripts/install-agent.sh | 628 | # Create the directory for the Beszel Agent |
| MEDIUM | supplemental/scripts/install-agent.sh | 917 | # Create the rc service file if it doesn't exist |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/alerts/alerts_api_test.go | 401 | adminUser, err := beszelTests.CreateUserWithRole(hub, "admin@example.com", "password123", "admin") |
| LOW | internal/hub/api_test.go | 41 | adminUser, err := beszelTests.CreateUserWithRole(hub, "admin@example.com", "password123", "admin") |
| LOW | internal/hub/agent_connect_test.go | 75 | "email": "test@test.com", |
| LOW | internal/hub/config/config_test.go | 72 | user, err := tests.CreateUser(testHub.App, "admin@example.com", "testtesttest") |
| LOW | internal/hub/config/config_test.go | 92 | - "admin@example.com" |
| LOW | internal/hub/config/config_test.go | 119 | - "admin@example.com"`, |
| LOW | internal/hub/config/config_test.go | 197 | user, err := tests.CreateUser(testHub.App, "admin@example.com", "testtesttest") |
| LOW | internal/hub/config/config_test.go | 219 | - "admin@example.com"` |
| LOW | internal/hub/heartbeat/heartbeat_test.go | 220 | user, err := beszeltests.CreateUser(app.App, "admin@example.com", "password123") |
| LOW | internal/hub/systems/systems_test.go | 29 | user, err := tests.CreateUser(hub, "test@test.com", "testtesttest") |
| LOW | internal/hub/systems/systems_test.go | 141 | _, err = tests.CreateUser(hub, "test@test.com", "testtesttest") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/site/src/components/ui/chart.tsx | 378 | function getPayloadConfigFromPayload(config: ChartConfig, payload: unknown, key: string) { |
| LOW | internal/site/src/components/ui/icons.tsx | 190 | export function SquareArrowRightEnterIcon(props: SVGProps<SVGSVGElement>) { |
| LOW | …src/components/systems-table/systems-table-columns.tsx | 83 | function getMeterStateByThresholds(value: number, warn = 65, crit = 90): MeterState { |
| LOW | …/site/src/components/routes/settings/notifications.tsx | 179 | function showTestNotificationError(msg: string) { |