[Bug]: Multiple - Disk-Include and Proxmox VE Agent Install Command
Describe the bug
2 Issues:
1. --disk-include / PULSE_DISK_INCLUDE
I mentioned this in #1730 however I cannot get this working. I have evidence to suggest this is a bug so I wanted to raise it for help/resolution.
I am using log2ram on all my hosts/LXCs plus a couple of tempfs mounts for transient data on a couple (e.g. Plex transcoding on a tempfs ramdisk). I have attempted to add these on multiple hosts and they do not seem to be picked up. The logs (included later) show other file paths being ignored by the default filepath filters but mine are nowhere to be found in the debug logs at all.
To reproduce
I have both documented methods to enable this; neither works:
- Confirm the file path of the log2ram/tempfs volume (/var/log):
╰─❯ df -h
Filesystem Size Used Avail Use% Mounted on
udev 15G 0 15G 0% /dev
tmpfs 3.2G 3.2M 3.2G 1% /run
efivarfs 192K 124K 64K 67% /sys/firmware/efi/efivars
rpool/ROOT/pve-1 814G 11G 803G 2% /
tmpfs 16G 54M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
rpool/var-lib-vz 807G 3.7G 803G 1% /var/lib/vz
rpool 803G 128K 803G 1% /rpool
rpool/ROOT 803G 128K 803G 1% /rpool/ROOT
rpool/data 803G 128K 803G 1% /rpool/data
rpool/data/subvol-102-disk-0 4.0G 2.7G 1.4G 67% /rpool/data/subvol-102-disk-0
tmpfs 16G 0 16G 0% /tmp
log2ram 512M 387M 126M 76% /var/log
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
/dev/fuse 128M 60K 128M 1% /etc/pve
tmpfs 1.0M 0 1.0M 0% /run/credentials/[email protected]
tmpfs 3.2G 4.0K 3.2G 1% /run/user/02a. Edit the systemd .service file to include the parameter in the ExecStart line:
ExecStart=/usr/local/bin/pulse-agent --url https://pulse.apps.example.net --interval 30s --token-file /var/lib/pulse-agent/token --enable-host --enable-proxmox --proxmox-type pve --insecure --enable-commands --state-dir /var/lib/pulse-agent --disk-include /var/log --log-level debugor
2b. Add the environment variables to the .service file:
[Service]
Environment="PULSE_DISK_INCLUDE=/var/log"
Environment="LOG_LEVEL=debug"- Reload systemctl
systemctl daemon-reload - Restart service
systemctl restart pulse-agent.service - Verify options and included in live service file
systemctl cat pulse-agent.service - Examine journal debug logs
journalctl -b -f -u pulse-agent.service - Look for volumes in Pulse console
Expected behavior
I would expect the added volumes to be visible in the appropriate location in the Pulse console:
- Proxmox Nodes
- Proxmox > Overview > Storage
- Proxmox > Storage
- Docker hosts
- Docker > Overview > Host > Disk
- Host Agent nodes
- Machines > Host > Disk
Also in the alerts tab (the primary reason I want to add these volumes in here, so I can alert on them without another monitoring tool).
Additional actionable topics
2. Proxmox VE Agent Install Command
On the latest version, the installation command for Proxmox VE host agent installs seems to be broken; this is an example of a command (this is from a fresh docker container with nothing added yet, just after first logon but the issue is the same if I add additional Proxmox nodes):
token_file=$(mktemp) && chmod 600 "$token_file" && printf %s '[token_ID]' > "$token_file" && curl -fsSL 'http://pulse.apps.example.net/install.sh' | { if [ "$(id -u)" -eq 0 ]; then bash -s -- \
--url 'http://pulse.apps.example.net' \
--enable-proxmox \
--token-file "$token_file" \
--insecure \
--proxmox-type 'pve' \
--enable-commands; elif command -v sudo >/dev/null 2>&1; then sudo bash -s -- \
--url 'http://pulse.apps.example.net' \
--enable-proxmox \
--token-file "$token_file" \
--insecure \
--proxmox-type 'pve' \
--enable-commands; else echo "Root privileges required. Run as root (su -) and retry." >&2; exit 1; fi; }; rc=$?; rm -f "$token_file"; exit $rcI have a couple of issues with this:
- why is the
--insecureoption now included by default? ticking/unticking the boxes for "Verify SSL Certificate" (on by default) or "skip TLS certificate verification..." makes no difference to the command. In my opinion this should not be set to insecure by default. I have also verified that this is flowing through to the agent itself in the systemd service (see code block below). Note: this is not set by default in the standard host agent install page, and the checkboxes do affect the install commands provided. - why is
--enable-commandsnow also included by default with no way to disable it? I have no requirement to use the Patrol nor the Docker-in-LXC functionality (I want the additional host monitoring on my LXC hosting Docker). I have no problem with it being on by default, but there should be slider to disable it; I don't believe this was enabled in earlier versions from a month or so ago. I can of course remove the offending parameter manually from the command before I run it on the Proxmox node but I still have to then go and remove the extra permissions auto-added to the API token. Note: Again, this is a slider/option on the standard host agent install page and does affect the install commands provided. - Why does the Proxmox VE install page not include the "Connection URL" field present on the plain host agent install page? This means I have to manually edit the install command each time I use it to modify the Pulse server URL. A minor thing I know, but why does one page have it and another not?
Here is the pulse-agent.service ExecStart line for a fresh install on the latest version, showing the --insecure and --enable-commands options:
ExecStart=/usr/local/bin/pulse-agent --url https://pulse.apps.example.net --interval 30s --token-file /var/lib/pulse-agent/token --enable-host --enable-proxmox --proxmox-type pve --insecure --enable-commands --state-dir /var/lib/pulse-agentPulse version
v6.4.1
Agent version
v6.4.1
Image tag or digest
rcourtman/pulse:latest
Installation type
Docker
Relevant logs or diagnostics
I've included some snippets of the debug logs from the agents; not everything is included (e.g. temperature sensors/docker containers are not relevant). I've included a couple of turns for each.
proxmox01 - not included; not enough space. Similar to proxmox02 but without additional ZFS volume "tank"
proxmox02 (looking for /var/log):
╰─❯ journalctl -b -f -u pulse-agent.service
Sep 03 00:51:57 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"agent","hostname":"proxmox02","platform":"linux","time":"2026-09-03T00:51:57+01:00","message":"Unified Agent report sent"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"remote_config_client","action":"resolve_agent_id_success","hostname":"proxmox02","requested_agent_id":"75884fd0-7447-44ee-b8cb-962bd545a581","resolved_agent_id":"75884fd0-7447-44ee-b8cb-962bd545a581","time":"2026-09-03T00:52:25+01:00","message":"Remote config agent lookup resolved agent ID"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"remote_config","action":"refresh_applied","settings_count":0,"commands_enabled_present":false,"time":"2026-09-03T00:52:25+01:00","message":"Applied refreshed remote config"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","count":43,"time":"2026-09-03T00:52:25+01:00","message":"disk: discovered partitions"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool/ROOT/pve-1","mount":"/","total":783776350208,"used":11085807616,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool","mount":"/rpool","total":772690673664,"used":131072,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool/var-lib-vz","mount":"/var/lib/vz","total":793928400896,"used":21237858304,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","dataset":"tank","mount":"/mnt/bindmounts/tank","total":2718135877632,"used":262144,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool/ROOT","mount":"/rpool/ROOT","total":772690673664,"used":131072,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool/data","mount":"/rpool/data","total":772690673664,"used":131072,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","dataset":"tank/docker","mount":"/mnt/bindmounts/tank/docker","total":2746238107648,"used":28102492160,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","dataset":"tank/vm_disks","mount":"/mnt/bindmounts/tank/vm_disks","total":3336769896448,"used":618634280960,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","dataset":"tank/mediaserver","mount":"/mnt/bindmounts/tank/mediaserver","total":10608680108032,"used":7890544492544,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","dataset":"tank/timemachine","mount":"/mnt/bindmounts/tank/timemachine","total":2932860518400,"used":214724902912,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","dataset":"tank/gallery","mount":"/mnt/bindmounts/tank/gallery","total":2806524674048,"used":88389058560,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","dataset":"tank/music","mount":"/mnt/bindmounts/tank/music","total":2833592483840,"used":115456868352,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool/data/subvol-103-disk-0","mount":"/rpool/data/subvol-103-disk-0","total":4294967296,"used":1746665472,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool/data/subvol-105-disk-0","mount":"/rpool/data/subvol-105-disk-0","total":42949672960,"used":24190779392,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool/ROOT/pve-1","mount":"/var/hdd.log","total":783776350208,"used":11085807616,"time":"2026-09-03T00:52:25+01:00","message":"disk: collected zfs dataset"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","mount":"/var/lib/lxcfs","device":"lxcfs","fstype":"fuse.lxcfs","time":"2026-09-03T00:52:25+01:00","message":"disk: skipping partition with zero total"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","datasetCount":15,"pools":["rpool","tank"],"time":"2026-09-03T00:52:25+01:00","message":"zfs: summarizing pools"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","dataset":"rpool/var-lib-vz","mount":"/var/lib/vz","total":793928400896,"used":21237858304,"time":"2026-09-03T00:52:25+01:00","message":"zfs: best dataset for pool"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","dataset":"tank/mediaserver","mount":"/mnt/bindmounts/tank/mediaserver","total":10608680108032,"used":7890544492544,"time":"2026-09-03T00:52:25+01:00","message":"zfs: best dataset for pool"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","path":"/usr/sbin/zpool","time":"2026-09-03T00:52:25+01:00","message":"zfs: found zpool at hardcoded path"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","path":"/usr/sbin/zpool","args":["list","-Hp","-o","name,size,allocated,free","rpool","tank"],"time":"2026-09-03T00:52:25+01:00","message":"zfs: executing zpool list"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","outputBytes":100,"time":"2026-09-03T00:52:25+01:00","message":"zfs: zpool list succeeded"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","zpoolStatsCount":2,"time":"2026-09-03T00:52:25+01:00","message":"zfs: using zpool stats"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","hasZpoolStats":true,"zpoolSize":979252543488,"zpoolAlloc":176230940672,"zpoolFree":803021602816,"dsTotal":793928400896,"dsUsed":21237858304,"mount":"/","time":"2026-09-03T00:52:25+01:00","message":"zfs: processing pool"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","usableTotal":942265035596,"usableFree":772690542592,"zpoolSize":979252543488,"zpoolFree":803021602816,"dsFree":772690542592,"time":"2026-09-03T00:52:25+01:00","message":"zfs: computed usable capacity from free-space ratio"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"rpool","totalBytes":942265035596,"usedBytes":169574493004,"freeBytes":772690542592,"usage":17.99647515274097,"time":"2026-09-03T00:52:25+01:00","message":"zfs: emitting disk entry"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","hasZpoolStats":true,"zpoolSize":14001593384960,"zpoolAlloc":10609363247104,"zpoolFree":3392230137856,"dsTotal":10608680108032,"dsUsed":7890544492544,"mount":"/mnt/bindmounts/tank","time":"2026-09-03T00:52:25+01:00","message":"zfs: processing pool"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","usableTotal":11219235755418,"usableFree":2718135615488,"zpoolSize":14001593384960,"zpoolFree":3392230137856,"dsFree":2718135615488,"time":"2026-09-03T00:52:25+01:00","message":"zfs: computed usable capacity from free-space ratio"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","pool":"tank","totalBytes":11219235755418,"usedBytes":8501100139930,"freeBytes":2718135615488,"usage":75.7725421343842,"time":"2026-09-03T00:52:25+01:00","message":"zfs: emitting disk entry"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","zfsDatasets":15,"zfsDisks":2,"regularDisks":1,"time":"2026-09-03T00:52:25+01:00","message":"disk: collection summary"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","count":11,"time":"2026-09-03T00:52:25+01:00","message":"diskio: collected devices"}
Sep 03 00:52:25 proxmox02 pulse-agent[1774957]: {"level":"debug","count":4,"time":"2026-09-03T00:52:25+01:00","message":"network: collected interfaces"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"agent","arrayCount":1,"time":"2026-09-03T00:52:26+01:00","message":"Collected RAID array data"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/loop0","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/loop1","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/loop2","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/loop3","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/loop4","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/loop5","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/loop6","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/loop7","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/md0","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/zd0","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/zd112","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/zd16","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/zd32","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/zd48","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
Sep 03 00:52:26 proxmox02 pulse-agent[1774957]: {"level":"debug","component":"smartctl_collector","action":"skip_virtual_device","device":"/dev/zd64","reason":"virtual/logical device prefix","time":"2026-09-03T00:52:26+01:00","message":"Skipping non-physical device for SMART collection"}
SSource: rcourtman/Pulse