mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2024-11-21 23:55:15 -05:00
Merge pull request #4 from dustindauncey/master
Improved unity in labels and made more general for users
This commit is contained in:
commit
d329cc43a9
@ -8,9 +8,9 @@
|
||||
},
|
||||
"ping": {
|
||||
"hosts": [
|
||||
"free.fr",
|
||||
"orange.fr",
|
||||
"google.com"
|
||||
"facebook.com",
|
||||
"google.com",
|
||||
"yahoo.com"
|
||||
]
|
||||
},
|
||||
"last_login": {
|
||||
@ -18,24 +18,34 @@
|
||||
},
|
||||
"services": [
|
||||
{
|
||||
"name": "Web Server (Apache)",
|
||||
"name": "Web Server",
|
||||
"host": "localhost",
|
||||
"port": 80
|
||||
},
|
||||
{
|
||||
"name": "FTP Server (ProFTPd)",
|
||||
"name": "Email Server (incoming)",
|
||||
"host": "localhost",
|
||||
"port": 993
|
||||
},
|
||||
{
|
||||
"name": "Email Server (outgoing)",
|
||||
"host": "localhost",
|
||||
"port": 587
|
||||
},
|
||||
{
|
||||
"name": "FTP Server",
|
||||
"host": "localhost",
|
||||
"port": 21
|
||||
},
|
||||
{
|
||||
"name": "Databases (MySQL)",
|
||||
"name": "Database Server",
|
||||
"host": "localhost",
|
||||
"port": 3306
|
||||
},
|
||||
{
|
||||
"name": "SSH",
|
||||
"name": "SSH Service",
|
||||
"host": "localhost",
|
||||
"port": 22
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
26
index.php
26
index.php
@ -97,7 +97,7 @@ $update = $Config->checkUpdate();
|
||||
<td id="system-current_users"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Server datetime</td>
|
||||
<td>Server date & time</td>
|
||||
<td id="system-server_date"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -149,15 +149,15 @@ $update = $Config->checkUpdate();
|
||||
<td id="cpu-model"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cores #</td>
|
||||
<td>Cores</td>
|
||||
<td id="cpu-num_cores"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CPU Speed</td>
|
||||
<td>Speed</td>
|
||||
<td id="cpu-frequency"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cache L2</td>
|
||||
<td>Cache</td>
|
||||
<td id="cpu-cache"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -240,19 +240,19 @@ $update = $Config->checkUpdate();
|
||||
<table class="firstBold">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="w20p">Used RAM</td>
|
||||
<td class="w20p">Used</td>
|
||||
<td><div class="progressbar-wrap"><div class="progressbar" style="width: 0%;">0%</div></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w20p">Used RAM</td>
|
||||
<td class="w20p">Used</td>
|
||||
<td id="memory-used"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w20p">Free RAM</td>
|
||||
<td class="w20p">Free</td>
|
||||
<td id="memory-free"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w20p">Total RAM</td>
|
||||
<td class="w20p">Total</td>
|
||||
<td id="memory-total"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -272,19 +272,19 @@ $update = $Config->checkUpdate();
|
||||
<table class="firstBold">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="w20p">Used Swap</td>
|
||||
<td class="w20p">Used</td>
|
||||
<td><div class="progressbar-wrap"><div class="progressbar" style="width: 0%;">0%</div></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w20p">Used Swap</td>
|
||||
<td class="w20p">Used</td>
|
||||
<td id="swap-used"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w20p">Free Swap</td>
|
||||
<td class="w20p">Free</td>
|
||||
<td id="swap-free"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w20p">Total Swap</td>
|
||||
<td class="w20p">Total</td>
|
||||
<td id="swap-total"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -358,4 +358,4 @@ $update = $Config->checkUpdate();
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user