- 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:
2025-08-05 15:35:42 +02:00
parent 5c7ea9f3fc
commit 44dc7a22c0
4 changed files with 259 additions and 2 deletions

View File

@@ -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 "&nbsp;<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>&nbsp;";
echo "<span class='badge rounded-pill bg-secondary text-light fs-5'>BackupType : ".$backup[0]['BackupType']."</span>&nbsp;";
echo "<span class='badge rounded-pill bg-secondary text-light fs-5'>Media : ".$backup[0]['Location']."</span>";
}
?>
<!-- End of main content -->
</div>
</div>