Repository navigation
The dashboard gave every card the same weight and left you to find what was wrong, and watch check inspected a docker target added with --unit by a name that was not its container; the dashboard now opens with what needs attention and follows the system theme, and watch check inspects the unit.
Two things to check before upgrading. A docker target added with --unit is now reported and recorded under its unit by watch check and watch_check, the first check after upgrading sets a new baseline for it, and rolling back to 1.9.0 afterwards can report one spurious incident for each such target. And on the dashboard a running container's Restart and Stop, and a running guest's Reboot and Shut down, have moved behind the ⋯ button on its row; nothing in the API changed.
⚠️ Behavior changes
watch checkinspects a docker target added with--unitby its unit, and records its incidents under the unit (#419). It used to inspect the namewatch listshows, which for such a target is not a container at all, so it either warnedno such containeron every run or checked a different container of that name;watch startalready watched the unit. Incidents fromwatch checknow carry the container's real name incontainerand in their ID, the same as the daemon's, sowatch check --jsonandwatch_checkprint the unit where they printed the listed name, and flapping counts both monitors' incidents for the container together. Targets that share a unit are inspected once and a restart of it is one incident, where it was one per target. The first check after upgrading sets a new baseline for such a target instead of comparing against the other container's state. Incidents an earlierwatch checkrecorded under the listed name were about the container of that name, not the unit, and stay so: they are found by that name only. Rolling back to 1.9.0 afterwards is not clean: its first check compares the container of the listed name against the state this release recorded for the unit, and reports one spurious incident for each such target whose listed name is also a containerwatch history --containerandwatch_historygiven a docker target's listed name now also return the incidents recorded under its unit, wherewatch starthas always recorded them andwatch checknow does, aswatch show --containeralready did (#419). The name matches its target ignoring case, as the incident filter always has. An incident is counted under the unit only when a docker monitor could have recorded it: not a Proxmox incident, and not one that does not record its kind while a systemd or pm2 target has the unit's name, whichwatch show --containernow skips too. When the watch list cannot be read,watch historysays so on stderr and filters by the name alone;watch_historyanswers with a bare list, so it filters by the name alone without saying so
✨ Features
- The web dashboard follows the system's light or dark setting, and opens with what needs attention. A sentence at the top counts what the new Needs attention card lists: servers that are not answering or refused the connection, thresholds at warning or critical on the picked server, and a Proxmox endpoint or node that is not current, each in one sentence with the
homebutler trustcommand where the host key is the problem. It says it is still checking until every card it counts has answered, lists a card that could not be read as not checked rather than as fine, counts every Proxmox endpoint and not only the one on screen, and when nothing needs you says so plainly and names what it checked. Stopped containers are not on it: the dashboard cannot tell one stopped on purpose from one that died, and the Report tab judges that against a snapshot. Every tab is restyled on one layout, and a running container's Restart and Stop, and a running guest's Reboot and Shut down, sit behind a ⋯ button on the row. The confirmations are the same three tiers, now a dialog, or a sheet from the bottom on a phone, and a refusal from the server is said inside it. Nothing in the API changed (#425)
🐛 Fixes
- A dashboard without a token showed Wake buttons and Save a snapshot, and both answered
no such endpoint: without a token those routes are not registered. They are now offered only with a token, like every other action, and the card says how to get one (#425) - A failed wake replaced the dashboard's whole Wake-on-LAN list with its error until the page was reloaded. The error is now said under the list, naming the device (#425)
- Removing a Wake-on-LAN device on the Config tab that the server refused said nothing: the device stayed on screen with no reason given. The refusal is now shown on the card (#425)
- A systemd unit that restarted and died again between two polls was recorded with
curr_started_atset to the start of the run that died, soincident_contextplaced its window before the crash (#419). The monitor now also readsExecMainExitTimestamp, and when the unit is anything butactiveorreloading(failed, inactive, or activating towards its nextRestart=attempt) and its last exit is at or after its start,curr_started_atis empty. Incidents already recorded keep the value: nothing in them says when the run exited, and the error is at most one poll interval watch show --containerandincident_contextcould warn that an incident file "could not be read" when they caughtwatch startwriting it (#419). Incidents are now written to a temporary file and renamed into place, with the mode a new file got before (0644 under the umask) or the one the file already had. A temp file left by a crash mid-write is removed by the next save once it is an hour old