Check a value, not just "is it up": JSON value checks on web endpoints
A web check can read a value out of a JSON answer (power.now, state, data.result[0].value[1]) and judge it: below, above, equal to, contains, is there. The value read is shown on the Endpoints page, charted under History, exported as homelab_endpoint_value and in the read API. A check can also send one header (a token), stored encrypted, never returned, and not forwarded to another host on a redirect. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e114567d64
commit
3cb3e4988f
21 files changed
+6804
-47
No files matched your search
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE `endpoint_checks` ADD `value_path` text;--> statement-breakpoint
|
||||
ALTER TABLE `endpoint_checks` ADD `value_op` text;--> statement-breakpoint
|
||||
ALTER TABLE `endpoint_checks` ADD `value_expected` text;--> statement-breakpoint
|
||||
ALTER TABLE `endpoint_checks` ADD `value_unit` text;--> statement-breakpoint
|
||||
ALTER TABLE `endpoint_checks` ADD `header_name` text;--> statement-breakpoint
|
||||
ALTER TABLE `endpoint_checks` ADD `header_value` text;--> statement-breakpoint
|
||||
ALTER TABLE `endpoint_checks` ADD `last_value` text;--> statement-breakpoint
|
||||
ALTER TABLE `endpoint_results` ADD `value` real;
|
||||
Reference in new issue
Block a user