- Add detailed HTTP error handling in web.config
- Update comments in `Server-Detail.php` to reflect current tools - Introduce AIX/Linux backup details in `Server-Detail.php` - Add `/X/inventory.php` for AIX/Linux server inventory display functionality - Update `navbar.html` to include link to the new server inventory page
This commit is contained in:
@@ -252,7 +252,7 @@
|
||||
?>
|
||||
<hr>
|
||||
|
||||
<!-- Last boot, last rollup, next rollup -->
|
||||
<!-- Zabbix, Sentinel1, Nessus -->
|
||||
<?php
|
||||
if(is_array($Qw)){
|
||||
if(strpos($Qw[0]['zabbix'], '.')){
|
||||
@@ -291,8 +291,20 @@
|
||||
echo " <span class='badge rounded-pill bg-warning text-dark fs-5'>Nessus : Not Installed</span>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
?>
|
||||
<hr>
|
||||
|
||||
<!-- Backup for AIX, Linux -->
|
||||
<?php
|
||||
if(is_array($Qx)){
|
||||
$backup = Invoke_Infra("select * from X_cmdb_Backupsys where HOSTNAME='$server'");
|
||||
echo "<span class='badge rounded-pill bg-secondary text-light fs-5'>LastBackup : ".explode(".",$backup[0]['LastBackup'])[0]."</span> ";
|
||||
echo "<span class='badge rounded-pill bg-secondary text-light fs-5'>BackupType : ".$backup[0]['BackupType']."</span> ";
|
||||
echo "<span class='badge rounded-pill bg-secondary text-light fs-5'>Media : ".$backup[0]['Location']."</span>";
|
||||
}
|
||||
|
||||
?>
|
||||
<!-- End of main content -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user