mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-15 17:51:39 +01:00
Preliminary BSD support
This commit is contained in:
@@ -74,11 +74,11 @@
|
||||
<td class=" ">
|
||||
{{server.Freeram}}
|
||||
</td>
|
||||
<td {% if server.AlertHDD > 0 %} class="bg-danger" {% endif %}>
|
||||
<td{% if server.AlertHDD > 0 %} class="bg-danger" {% endif %}>
|
||||
{{server.HDDFastStats | raw}}
|
||||
</td>
|
||||
|
||||
<td {% if server.SInactive > 0 %} class="bgcolor-warn" {%endif%}>
|
||||
<td{% if server.SInactive > 0 %} class="bgcolor-warn" {%endif%}>
|
||||
Monitorizando: {{server.SEnabled}}
|
||||
{% if server.SEnabled > 0 %}<br>Funcionando: {{server.SActive}} {% endif %}
|
||||
{% if server.SInactive > 0 %}<br>Parados: {{server.SInactive}} {% endif %}
|
||||
@@ -86,11 +86,11 @@
|
||||
</td>
|
||||
<td>{{server.Uptime}}</td>
|
||||
{% if server.Enabled == 1 %}
|
||||
<td {% if server.Ping > -1 %}class="bgcolor-ok"{%else%}class="bgcolor-warn"{%endif%}>{{server.Ping}}ms</td>
|
||||
<td{% if server.Ping > -1 %} class="bgcolor-ok"{%else%} class="bgcolor-warn"{%endif%}>{{server.Ping}}ms</td>
|
||||
{% else %}
|
||||
<td></td>
|
||||
{% endif %}
|
||||
<td class=" last"><a class="btn btn-success" href="admin.php?page=servers&id_serv={{server.ID_SERV}}">Ver</a>
|
||||
<td class="last"><a class="btn btn-success" href="admin.php?page=servers&id_serv={{server.ID_SERV}}">Ver</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
@@ -55,6 +55,9 @@
|
||||
<label class="btn btn-default {%if server.SO == 'LINUX' %} active {%endif%}" data-toggle-class="btn-primary" data-toggle-passive-class="btn-default" data-toggle="tooltip" data-placement="top" title="Sistemas Linux. Soporta Systemd y service, y como fallback por procesos">
|
||||
<input type="radio" name="so" value="LINUX" {%if server.SO == 'LINUX' %} checked="checked" {%endif%}> Linux
|
||||
</label>
|
||||
<label class="btn btn-default {%if server.SO == 'BSD' %} active {%endif%}" data-toggle-class="btn-primary" data-toggle-passive-class="btn-default" data-toggle="tooltip" data-placement="top" title="Sistemas BSD. Soporta FreeBSD, FreeNAS,..., Usa procesos para saber el estado de un servicio">
|
||||
<input type="radio" name="so" value="BSD" {%if server.SO == 'BSD' %} checked="checked" {%endif%}> BSD
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user