Update diag.sh

This commit is contained in:
jfontaine35 2025-02-04 10:31:07 +01:00 committed by GitHub
parent 1edd65ab02
commit 43061d46d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 15 deletions

30
diag.sh
View File

@ -264,21 +264,6 @@ generate_html_report() {
<body> <body>
<h1>Rapport de Monitoring Samba AD DC - $SERVER_NAME - $(date '+%d/%m/%Y %H:%M:%S')</h1> <h1>Rapport de Monitoring Samba AD DC - $SERVER_NAME - $(date '+%d/%m/%Y %H:%M:%S')</h1>
<h2>Synchronisation de l'heure</h2>
<table>
$(check_time_sync)
</table>
<h2>État des ports UFW</h2>
<table>
$(check_ufw_ports)
</table>
<h2>État de la Base de Données AD</h2>
<table>
$(check_database_consistency)
</table>
<h2>Processus Samba AD</h2> <h2>Processus Samba AD</h2>
<table> <table>
$(check_samba_processes) $(check_samba_processes)
@ -298,6 +283,21 @@ generate_html_report() {
<table> <table>
$(check_dns) $(check_dns)
</table> </table>
<h2>Synchronisation de l'heure</h2>
<table>
$(check_time_sync)
</table>
<h2>État des ports UFW</h2>
<table>
$(check_ufw_ports)
</table>
<h2>État de la Base de Données AD</h2>
<table>
$(check_database_consistency)
</table>
</body> </body>
</html> </html>
EOF EOF