Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Document persistent agent log level control
pulse-triage[bot]88da3e05c906
diff --git a/docs/UNIFIED_AGENT.md b/docs/UNIFIED_AGENT.mdindex b67659f549..2c1e1b9e16 100644--- a/docs/UNIFIED_AGENT.md+++ b/docs/UNIFIED_AGENT.md@@ -332,6 +332,39 @@ health/metrics endpoint over the network. Use `--health-addr ""` or**Token resolution order**: `--token` → `--token-file` → `PULSE_TOKEN` → `/var/lib/pulse-agent/token`.+### Agent log level++The default `info` level records normal lifecycle and connection messages.+Use `warn` to retain warnings and errors while suppressing routine messages;+log level does not change collection, reporting, alerts, or notifications.++For an agent installed as a Linux systemd service, use a persistent drop-in+instead of editing the generated unit (which an agent update may replace):++```bash+sudo systemctl edit pulse-agent+```++Add the following content, then save and exit:++```ini+[Service]+Environment="LOG_LEVEL=warn"+```++Apply and verify the change:++```bash+sudo systemctl daemon-reload+sudo systemctl restart pulse-agent+sudo journalctl -u pulse-agent --since "5 minutes ago"+```++Set the value to `debug` temporarily when collecting diagnostics, then restore+`info` or `warn`. For a container agent, set `LOG_LEVEL=warn` in the container+environment and recreate the container. Pro installations can also manage+`log_level` with an [agent configuration profile](CENTRALIZED_MANAGEMENT.md).+## Observer destinationsObserver destinations receive the same already-collected host, Docker/Podman,@@ -767,7 +800,9 @@ If your Docker Swarm cluster isn't being detected:5. **Enable debug logging**: For more detail:```bash- LOG_LEVEL=debug journalctl -u pulse-agent -f+ # Set the service to debug as described under "Agent log level", restart it,+ # then follow the service journal.+ journalctl -u pulse-agent -f```### PVE Backups Not Showing (Recovery)diff --git a/frontend-modern/public/docs/UNIFIED_AGENT.md b/frontend-modern/public/docs/UNIFIED_AGENT.mdindex b67659f549..2c1e1b9e16 100644--- a/frontend-modern/public/docs/UNIFIED_AGENT.md+++ b/frontend-modern/public/docs/UNIFIED_AGENT.md@@ -332,6 +332,39 @@ health/metrics endpoint over the network. Use `--health-addr ""` or**Token resolution order**: `--token` → `--token-file` → `PULSE_TOKEN` → `/var/lib/pulse-agent/token`.+### Agent log level++The default `info` level records normal lifecycle and connection messages.+Use `warn` to retain warnings and errors while suppressing routine messages;+log level does not change collection, reporting, alerts, or notifications.++For an agent installed as a Linux systemd service, use a persistent drop-in+instead of editing the generated unit (which an agent update may replace):++```bash+sudo systemctl edit pulse-agent+```++Add the following content, then save and exit:++```ini+[Service]+Environment="LOG_LEVEL=warn"+```++Apply and verify the change:++```bash+sudo systemctl daemon-reload+sudo systemctl restart pulse-agent+sudo journalctl -u pulse-agent --since "5 minutes ago"+```++Set the value to `debug` temporarily when collecting diagnostics, then restore+`info` or `warn`. For a container agent, set `LOG_LEVEL=warn` in the container+environment and recreate the container. Pro installations can also manage+`log_level` with an [agent configuration profile](CENTRALIZED_MANAGEMENT.md).+## Observer destinationsObserver destinations receive the same already-collected host, Docker/Podman,@@ -767,7 +800,9 @@ If your Docker Swarm cluster isn't being detected:5. **Enable debug logging**: For more detail:```bash- LOG_LEVEL=debug journalctl -u pulse-agent -f+ # Set the service to debug as described under "Agent log level", restart it,+ # then follow the service journal.+ journalctl -u pulse-agent -f```### PVE Backups Not Showing (Recovery)diff --git a/scripts/release_control/documentation_currentness_test.py b/scripts/release_control/documentation_currentness_test.pyindex db6889cbd7..66f12d61b7 100644--- a/scripts/release_control/documentation_currentness_test.py+++ b/scripts/release_control/documentation_currentness_test.py@@ -228,6 +228,18 @@ class DocumentationCurrentnessTest(unittest.TestCase):self.assertIn("Version and outdated", upgrade_doc)self.assertIn("only after the agent has successfully reported", upgrade_doc)+ def test_agent_log_level_guidance_changes_the_service_environment(self) -> None:+ for rel in (+ "docs/UNIFIED_AGENT.md",+ "frontend-modern/public/docs/UNIFIED_AGENT.md",+ ):+ content = read(rel)+ prose = normalize_prose(content)+ self.assertIn("sudo systemctl edit pulse-agent", content)+ self.assertIn('Environment="LOG_LEVEL=warn"', content)+ self.assertIn("log level does not change collection, reporting, alerts, or notifications", prose)+ self.assertNotIn("LOG_LEVEL=debug journalctl", content)+def test_api_token_docs_explain_primary_token_and_revocation_safety(self) -> None:config_doc = read("docs/CONFIGURATION.md")public_config_doc = read("frontend-modern/public/docs/CONFIGURATION.md")