aktaliosieren

This commit is contained in:
ChK
2026-03-11 08:27:05 +01:00
parent 68c2db11d0
commit 98c2485f88
8 changed files with 448 additions and 5 deletions

View File

@@ -26,3 +26,26 @@ VALUES
('Google HTTP', 'script', 'Prüft google.com', NULL),
('Postgres Container Running', 'docker_container', 'Ist Postgres Container aktiv?', 'info-postgres'),
('Default Network contains Postgres', 'docker_network', 'Ist Postgres im default Netzwerk?', 'bridge');
UPDATE checks
SET script_name = 'check_http_google.sh'
WHERE name = 'Google HTTP';
UPDATE checks
SET target = 'appServer_InfoDB'
WHERE name = 'Postgres Container Running';
UPDATE checks
SET target = 'appserver_default,appServer_InfoDB'
WHERE name = 'Default Network contains Postgres';
ALTER TABLE checks
ADD COLUMN display_id TEXT;
UPDATE checks
SET display_id = id
WHERE name = 'Google HTTP';
INSERT INTO checks (name, type, description, target, script_name, display_id)
VALUES
('schooltech.ch erreichbar', 'script', 'Prüft schooltech.ch', NULL, 'check_http_schooltech.sh', '1.1')