# ghaithrb/fibre_optic_project_project- architecture

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

- Interactive diagram: https://gitdiagram.com/ghaithrb/fibre_optic_project_project-
- Repository: https://github.com/ghaithrb/fibre_optic_project_project-

## Overview

This repository is a deployment and simulation blueprint for a fibre-optic network, not an application runtime. Its main workflow is to import the GNS3 topology, configure routers, switches and firewall, deploy an Ubuntu Zabbix server and client agents, then monitor devices and send alerts. The README documents these capabilities and relationships; source excerpts were not provided, so links reflect documented behavior only.

Main entry points: [`configs/zabbix_install.sh`](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/zabbix_install.sh) (Ubuntu Zabbix Server), [`routers/R1.cfg`](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/routers/R1.cfg) (Cisco Routers), [`configs/zabbix_alerts.txt`](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/zabbix_alerts.txt) (Alert Configuration), [`switche IOU 1/SW-Core.cfg`](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/switche%20IOU%201/SW-Core.cfg) (Core and Access Switches)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_network["Network Infrastructure"]
  node_routers["Cisco Routers<br/>[R1.cfg]"]
  node_switches["Core and Access Switches<br/>[SW-Core.cfg]"]
end

subgraph group_hosts["Hosts and Security"]
  node_firewall["OPNsense Firewall"]
  node_windows["Windows Clients<br/>[windows_steps.txt]"]
end

subgraph group_monitoring["Monitoring and Alerts"]
  node_ubuntu["Ubuntu Zabbix Server<br/>[zabbix_install.sh]"]
  node_netplan["Ubuntu Networking<br/>[netplan.yaml]"]
  node_zabbixdb[("MySQL Database<br/>[zabbix_install.sh]")]
  node_snmprouters["Router SNMPv3<br/>[snmp_router.txt]"]
  node_snmpswitches["Switch SNMPv3<br/>[snmp_switch.txt]"]
  node_agents["Client Zabbix Agents<br/>[windows_steps.txt]"]
  node_alerts["Alert Configuration<br/>[zabbix_alerts.txt]"]
end

subgraph group_simulation["Lab Simulation"]
  node_gns3["GNS3 Topology<br/>[fibre projet.gns3]"]
end

node_operator(("Network Operator"))
node_email["Email Service"]
node_telegram["Telegram"]

node_operator -->|"imports topology"| node_gns3
node_operator -->|"restores configuration"| node_routers
node_operator -->|"restores configuration"| node_switches
node_operator -->|"deploys firewall"| node_firewall
node_operator -->|"configures server"| node_ubuntu
node_routers -->|"trunks VLANs"| node_switches
node_routers -->|"routes traffic"| node_firewall
node_firewall -->|"provides DHCP"| node_windows
node_operator -->|"installs agent"| node_windows
node_operator -->|"configures networking"| node_netplan
node_ubuntu -->|"initializes database"| node_zabbixdb
node_routers -->|"enables SNMPv3"| node_snmprouters
node_switches -->|"enables SNMPv3"| node_snmpswitches
node_ubuntu -->|"monitors devices"| node_snmprouters
node_ubuntu -->|"monitors devices"| node_snmpswitches
node_ubuntu -->|"monitors clients"| node_agents
node_windows -->|"runs agent"| node_agents
node_ubuntu -->|"configures alerts"| node_alerts
node_alerts -->|"sends email"| node_email
node_alerts -->|"sends alerts"| node_telegram

click node_gns3 "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/gns3/fibre%20projet.gns3"
click node_routers "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/routers/R1.cfg"
click node_switches "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/switche%20IOU%201/SW-Core.cfg"
click node_firewall "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/firewall/opnsense-backup.xml"
click node_windows "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/windows_steps.txt"
click node_ubuntu "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/zabbix_install.sh"
click node_netplan "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/linux/ubuntu/netplan.yaml"
click node_zabbixdb "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/zabbix_install.sh"
click node_snmprouters "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/snmp_router.txt"
click node_snmpswitches "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/snmp_switch.txt"
click node_agents "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/windows_steps.txt"
click node_alerts "https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/zabbix_alerts.txt"

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_routers,node_switches toneBlue
class node_firewall,node_windows toneAmber
class node_ubuntu,node_netplan,node_zabbixdb,node_snmprouters,node_snmpswitches,node_agents,node_alerts toneMint
class node_gns3 toneRose
class node_operator,node_email,node_telegram toneIndigo
```

## Components

### Network Infrastructure

- [Cisco Routers](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/routers/R1.cfg): `routers/R1.cfg`
- [Core and Access Switches](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/switche%20IOU%201/SW-Core.cfg): `switche IOU 1/SW-Core.cfg`

### Hosts and Security

- [OPNsense Firewall](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/firewall/opnsense-backup.xml): `firewall/opnsense-backup.xml`
- [Windows Clients](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/windows_steps.txt): `configs/windows_steps.txt`

### Monitoring and Alerts

- [Ubuntu Zabbix Server](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/zabbix_install.sh): `configs/zabbix_install.sh`
- [Ubuntu Networking](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/linux/ubuntu/netplan.yaml): `linux/ubuntu/netplan.yaml`
- [MySQL Database](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/zabbix_install.sh): `configs/zabbix_install.sh`
- [Router SNMPv3](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/snmp_router.txt): `configs/snmp_router.txt`
- [Switch SNMPv3](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/snmp_switch.txt): `configs/snmp_switch.txt`
- [Client Zabbix Agents](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/windows_steps.txt): `configs/windows_steps.txt`
- [Alert Configuration](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/configs/zabbix_alerts.txt): `configs/zabbix_alerts.txt`

### Lab Simulation

- [GNS3 Topology](https://github.com/ghaithrb/fibre_optic_project_project-/blob/main/gns3/fibre%20projet.gns3): `gns3/fibre projet.gns3`

### Other components

- **Network Operator**
- **Email Service**
- **Telegram**

## Connections

- Network Operator → GNS3 Topology: imports topology (evidence: `Readme.md`)
- Network Operator → Cisco Routers: restores configuration (evidence: `Readme.md`)
- Network Operator → Core and Access Switches: restores configuration (evidence: `Readme.md`)
- Network Operator → OPNsense Firewall: deploys firewall (evidence: `Readme.md`)
- Network Operator → Ubuntu Zabbix Server: configures server (evidence: `Readme.md`)
- Cisco Routers → Core and Access Switches: trunks VLANs (evidence: `Readme.md`)
- Cisco Routers → OPNsense Firewall: routes traffic (evidence: `Readme.md`)
- OPNsense Firewall → Windows Clients: provides DHCP (evidence: `Readme.md`)
- Network Operator → Windows Clients: installs agent (evidence: `Readme.md`)
- Network Operator → Ubuntu Networking: configures networking (evidence: `Readme.md`)
- Ubuntu Zabbix Server → MySQL Database: initializes database (evidence: `Readme.md`)
- Cisco Routers → Router SNMPv3: enables SNMPv3 (evidence: `Readme.md`)
- Core and Access Switches → Switch SNMPv3: enables SNMPv3 (evidence: `Readme.md`)
- Ubuntu Zabbix Server → Router SNMPv3: monitors devices (evidence: `Readme.md`)
- Ubuntu Zabbix Server → Switch SNMPv3: monitors devices (evidence: `Readme.md`)
- Ubuntu Zabbix Server → Client Zabbix Agents: monitors clients (evidence: `Readme.md`)
- Windows Clients → Client Zabbix Agents: runs agent (evidence: `Readme.md`)
- Ubuntu Zabbix Server → Alert Configuration: configures alerts (evidence: `Readme.md`)
- Alert Configuration → Email Service: sends email (evidence: `Readme.md`)
- Alert Configuration → Telegram: sends alerts (evidence: `Readme.md`)
