aktaliosieren
This commit is contained in:
23
db/init.sql
23
db/init.sql
@@ -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')
|
||||
Reference in New Issue
Block a user