Dependencies beyond servers, web push, inventory auto-fill with QR labels, Windows agent health
- Dependencies: servers and integrations can depend on each other; alerts are folded under the root cause, and a failure explained by something down isn't announced - Web push: hand-written VAPID and RFC 8291 encryption, per-device subscriptions, a fifth notification channel, service worker handlers - Inventory: maker/model/serial from the agents fill blank fields, "Refresh from agent", QR label printing and ?asset= deep links - Windows agent (v4) reports failed services, disk health, Storage Spaces pools and hardware identity; Linux agent (v5) reports hardware identity Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5cc51c57de
commit
ec9c2f73f0
55 files changed
+12553
-65
No files matched your search
@@ -52,7 +52,21 @@ const healthSchema = z.object({
|
||||
.catch(undefined),
|
||||
});
|
||||
|
||||
// What the machine is. Each part is optional and a malformed one is dropped, like the rest.
|
||||
const hardwareSchema = z.object({
|
||||
manufacturer: text(100).optional().catch(undefined),
|
||||
model: text(150).optional().catch(undefined),
|
||||
serial: text(100).optional().catch(undefined),
|
||||
});
|
||||
|
||||
const systemSchema = z.object({
|
||||
hardware: z
|
||||
.unknown()
|
||||
.optional()
|
||||
.transform((h) => {
|
||||
const parsed = hardwareSchema.safeParse(h);
|
||||
return parsed.success && Object.values(parsed.data).some((v) => typeof v === "string" && v.trim()) ? parsed.data : undefined;
|
||||
}),
|
||||
health: z
|
||||
.unknown()
|
||||
.optional()
|
||||
|
||||
Reference in new issue
Block a user