# cedricz-ctrl/script-bash architecture

> Architecture diagram of the GitHub repository cedricz-ctrl/script-bash, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cedricz-ctrl/script-bash
- Repository: https://github.com/cedricz-ctrl/script-bash

## Overview

This is a small Bash administration and monitoring toolkit, not a single application with a shared runtime pipeline. Users select and execute individual scripts for administration or system checks. The README documents these broad purposes and how to run scripts, but no source excerpts were provided, so relationships among scripts and their detailed behavior cannot be verified.

Main entry points: [`Administration/CheckNetwork.sh`](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/CheckNetwork.sh) (Network Check), [`Administration/Install_Samba.sh`](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Install_Samba.sh) (Samba Install), [`Administration/Manage_storage_proxmox.sh`](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Manage_storage_proxmox.sh) (Proxmox Storage), [`Administration/Restart_Service.sh`](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Restart_Service.sh) (Service Restart)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_administration["Administration"]
  node_network_check["Network Check<br/>[CheckNetwork.sh]"]
  node_samba_install["Samba Install<br/>[Install_Samba.sh]"]
  node_storage_management["Proxmox Storage"]
  node_service_restart["Service Restart<br/>[Restart_Service.sh]"]
  node_hypervisor_management["Hypervisor Management"]
  node_user_management["User Management<br/>[addUser.sh]"]
end

subgraph group_monitoring["Monitoring"]
  node_cpu_disk_check["CPU and Disk Check"]
  node_system_check["System Check<br/>[check_system.sh]"]
end

node_operator(("Administrator"))

node_operator -->|"executes"| node_network_check
node_operator -->|"executes"| node_samba_install
node_operator -->|"executes"| node_storage_management
node_operator -->|"executes"| node_service_restart
node_operator -->|"executes"| node_hypervisor_management
node_operator -->|"executes"| node_user_management
node_operator -->|"executes"| node_cpu_disk_check
node_operator -->|"executes"| node_system_check

click node_network_check "https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/CheckNetwork.sh"
click node_samba_install "https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Install_Samba.sh"
click node_storage_management "https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Manage_storage_proxmox.sh"
click node_service_restart "https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Restart_Service.sh"
click node_hypervisor_management "https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/ScriptManagementHyperviser.sh"
click node_user_management "https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/addUser.sh"
click node_cpu_disk_check "https://github.com/cedricz-ctrl/script-bash/blob/main/Monitoring/Check_Cpu_and_Disk.sh"
click node_system_check "https://github.com/cedricz-ctrl/script-bash/blob/main/Monitoring/check_system.sh"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_network_check,node_samba_install,node_storage_management,node_service_restart,node_hypervisor_management,node_user_management toneBlue
class node_cpu_disk_check,node_system_check toneAmber
class node_operator toneIndigo
```

## Components

### Administration

- [Network Check](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/CheckNetwork.sh): `Administration/CheckNetwork.sh`
- [Samba Install](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Install_Samba.sh): `Administration/Install_Samba.sh`
- [Proxmox Storage](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Manage_storage_proxmox.sh): `Administration/Manage_storage_proxmox.sh`
- [Service Restart](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/Restart_Service.sh): `Administration/Restart_Service.sh`
- [Hypervisor Management](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/ScriptManagementHyperviser.sh): `Administration/ScriptManagementHyperviser.sh`
- [User Management](https://github.com/cedricz-ctrl/script-bash/blob/main/Administration/addUser.sh): `Administration/addUser.sh`

### Monitoring

- [CPU and Disk Check](https://github.com/cedricz-ctrl/script-bash/blob/main/Monitoring/Check_Cpu_and_Disk.sh): `Monitoring/Check_Cpu_and_Disk.sh`
- [System Check](https://github.com/cedricz-ctrl/script-bash/blob/main/Monitoring/check_system.sh): `Monitoring/check_system.sh`

### Other components

- **Administrator**

## Connections

- Administrator → Network Check: executes (evidence: `README.md`)
- Administrator → Samba Install: executes (evidence: `README.md`)
- Administrator → Proxmox Storage: executes (evidence: `README.md`)
- Administrator → Service Restart: executes (evidence: `README.md`)
- Administrator → Hypervisor Management: executes (evidence: `README.md`)
- Administrator → User Management: executes (evidence: `README.md`)
- Administrator → CPU and Disk Check: executes (evidence: `README.md`)
- Administrator → System Check: executes (evidence: `README.md`)
