Änderungen von Dokument Servermeldungen (SaaS)
Zuletzt geändert von MACH ProForms GmbH am 22.07.2024
Von Version 17.1
bearbeitet von MACH ProForms GmbH
am 22.07.2024
am 22.07.2024
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 1.1
bearbeitet von fweise
am 24.06.2024
am 24.06.2024
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Zusammenfassung
-
Seiteneigenschaften (2 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.Dokumentation1 +XWiki.fweise - Inhalt
-
... ... @@ -1,120 +5,5 @@ 1 -= Erreichbarkeit und Wartung der Services = 2 - 3 -Hier finden unsere SaaS-Kunden und Benutzer eine dynamische Anzeige der Uptime der Services und die geplanten Wartungsintervalle. 4 - 5 5 {{html}} 6 - <style> 7 - .status-up { 8 - color: rgb(3, 133, 3); /* Green text color for "UP" status */ 9 - } 10 - .status-down { 11 - color: rgb(187, 9, 9); /* Red text color for "DOWN" status */ 12 - } 13 - .status-maintenance { 14 - color: gold; /* Gold text color for "Under Maintenance" status */ 15 - } 16 - </style> 17 -<!-- Servers Status --> 18 -<div> 19 - <h2>Überblick Status</h2> 20 - 21 - <h3>Primärsysteme</h3> 22 - <ul class="productive-systems-list ikiss-unordered-list"></ul> 23 - 24 - <h3>Sekundärsysteme</h3> 25 - <ul class="customer-systems-list ikiss-unordered-list"></ul> 26 -</div> 27 - 28 -<!-- System Update --> 29 -<div> 30 - <h2>System-Updates</h2> 31 - <p> 32 - Updates der MACH formsolutions Plattform werden grundsätzlich Montags zwischen 02:00 Uhr und 03:00 Uhr eingespielt. 33 - </p> 34 - <h3>Nächster Updatetermin</h3> 35 - <div> 36 - <ul> 37 - <li><strong><span id="plannedUpdate"></span></strong></li> 38 - </ul> 39 - </div> 40 -</div> 41 - 42 -<!-- System Maintenance --> 43 -<div> 44 - <h2>System-Wartung</h2> 45 - <p> 46 - Wartungen an unserem System finden regelmäßig am letzten Donnerstag eines Monats zwischen 22:00 Uhr und 24:00 Uhr statt. 47 - </p> 48 - <h3>Nächster Wartungstermin</h3> 49 - <div> 50 - <ul> 51 - <li><strong><span id="plannedMaintenance"></span></strong></li> 52 - </ul> 53 - </div> 54 -</div> 55 - 56 56 <script type="text/javascript"> 57 - function fetchData() { 58 - fetch('https://mpf-serversstatus.azurewebsites.net/api/http_serversstatus_trigger') 59 - .then(response => response.json()) 60 - .then(data => { 61 - const productiveSystemsList = document.querySelector('.productive-systems-list'); 62 - const customerSystemsList = document.querySelector('.customer-systems-list'); 63 - 64 - data.hostStatus.forEach(host => { 65 - const listItem = document.createElement('li'); 66 - listItem.innerHTML = `<span class="host-name">${host.host}:</span> <span class="status-${getStatusColor(host.status)}"><strong>${getStatusText(host.status)}</strong></span>`; 67 - 68 - if (host.host === "pdf.form-solutions.net" || host.host === "onlinedienste.form-solutions.de") { 69 - productiveSystemsList.appendChild(listItem); 70 - } else { 71 - customerSystemsList.appendChild(listItem); 72 - } 73 - }); 74 - 75 - const plannedUpdate = document.getElementById('plannedUpdate'); 76 - plannedUpdate.textContent = data.plannedUpdate; 77 - 78 - const plannedMaintenance = document.getElementById('plannedMaintenance'); 79 - plannedMaintenance.textContent = data.plannedMaintenance; 80 - }) 81 - .catch(error => { 82 - console.error('Error fetching data:', error); 83 - }); 84 - } 85 - 86 - // Function to get the appropriate status text 87 - function getStatusText(status) { 88 - switch (status) { 89 - case 'Up': 90 - return 'Verfügbar'; 91 - case 'Down': 92 - return 'Beeinträchtigung'; 93 - case 'Under Maintenance': 94 - return 'Wartung'; 95 - default: 96 - return ''; 97 - } 98 - } 99 - 100 - // Function to get the appropriate status color class 101 - function getStatusColor(status) { 102 - switch (status) { 103 - case 'Up': 104 - return 'up'; 105 - case 'Down': 106 - return 'down'; 107 - case 'Under Maintenance': 108 - return 'maintenance'; 109 - default: 110 - return ''; 111 - } 112 - } 113 - 114 - window.addEventListener('load', fetchData); 3 +alert("hello world"); 115 115 </script> 116 116 {{/html}} 117 - 118 -= Kontakt = 119 - 120 -Bei Fragen oder Hilfestellungen zu unseren Diensten können Sie uns über den [[MACH ProForms Support>>doc:Main.10_Hilfe.WebHome]] erreichen.