|
|
| Linha 130: |
Linha 130: |
|
| |
|
| </div> | | </div> |
|
| |
|
| |
| <!-- SCRIPT NOC DINÂMICO -->
| |
| <script>
| |
| async function atualizarStatus(host, elementId) {
| |
| try {
| |
| const response = await fetch('/mediawiki/noc/status.php?host=' + host);
| |
| const data = await response.json();
| |
| let el = document.getElementById(elementId);
| |
|
| |
| if (!el) return;
| |
|
| |
| if (data.status === "online") {
| |
| el.innerHTML = '<span class="status-dot status-green"></span> Operacional';
| |
| } else if (data.status === "offline") {
| |
| el.innerHTML = '<span class="status-dot status-red status-blink"></span> Offline';
| |
| } else {
| |
| el.innerHTML = '<span class="status-dot status-yellow"></span> Indefinido';
| |
| }
| |
|
| |
| } catch (error) {
| |
| document.getElementById(elementId).innerHTML =
| |
| '<span class="status-dot status-yellow"></span> Erro';
| |
| }
| |
| }
| |
|
| |
| function atualizarTodos() {
| |
| atualizarStatus("web01","web01-status");
| |
| atualizarStatus("web02","web02-status");
| |
| atualizarStatus("web03","web03-status");
| |
| atualizarStatus("web04","web04-status");
| |
| atualizarStatus("ns1","ns1-status");
| |
| atualizarStatus("ns2","ns2-status");
| |
| }
| |
|
| |
| atualizarTodos();
| |
| setInterval(atualizarTodos, 30000);
| |
| </script>
| |
📚 WIKI NETNEWS
Central oficial de documentação, operações e infraestrutura
🖥 Status dos Servidores (NOC)
NS1 - PowerDNS
IP: 192.168.110.103
NS2 - PowerDNS
IP: 192.168.110.104
🖥 Infraestrutura
Servidores, DataCenter, Monitoramento
➡ Acessar
📦 Produtos & Soluções
Yeastar, 3CX, Câmeras, Serviços
➡ Acessar
⚙ Operações
Clientes, Backup, Suporte
➡ Acessar
🚨 Incidentes
Histórico e análise de problemas
➡ Acessar