{"id":29953749,"url":"https://github.com/bocaletto-luca/systemauditdashboard","last_synced_at":"2025-09-17T15:51:08.148Z","repository":{"id":301056267,"uuid":"1008026738","full_name":"bocaletto-luca/SystemAuditDashboard","owner":"bocaletto-luca","description":"SystemAuditDashboard is a centralized Linux system monitoring dashboard implemented in Python using Tkinter. It provides a real-time overview of key system information including:  Kernel Version Operating System Details Logged-in User Number of Active Processes Number of Open Ports Load Average (1 min, 5 min, 15 min) Available Memory (in MB)...","archived":false,"fork":false,"pushed_at":"2025-07-06T00:36:48.000Z","size":42,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T01:30:35.860Z","etag":null,"topics":["admin-tool","bocaletto-luca","gui","linux","python","security","security-tool","system-audit","system-audit-dashboard","system-tool","tkinter"],"latest_commit_sha":null,"homepage":"https://bocaletto-luca.github.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bocaletto-luca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-24T23:05:41.000Z","updated_at":"2025-07-06T00:36:51.000Z","dependencies_parsed_at":"2025-06-25T00:29:46.574Z","dependency_job_id":null,"html_url":"https://github.com/bocaletto-luca/SystemAuditDashboard","commit_stats":null,"previous_names":["bocaletto-luca/systemauditdashboard"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bocaletto-luca/SystemAuditDashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSystemAuditDashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSystemAuditDashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSystemAuditDashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSystemAuditDashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bocaletto-luca","download_url":"https://codeload.github.com/bocaletto-luca/SystemAuditDashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FSystemAuditDashboard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268563878,"owners_count":24270662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin-tool","bocaletto-luca","gui","linux","python","security","security-tool","system-audit","system-audit-dashboard","system-tool","tkinter"],"created_at":"2025-08-03T15:11:06.857Z","updated_at":"2025-09-17T15:51:03.106Z","avatar_url":"https://github.com/bocaletto-luca.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SystemAuditDashboard\n#### Author: Bocaletto Luca\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue?style=for-the-badge\u0026logo=gnu)](LICENSE) [![Language: Python](https://img.shields.io/badge/Language-Python-blue?style=for-the-badge\u0026logo=python)](https://www.python.org/) [![Linux-Compatible](https://img.shields.io/badge/Linux-Compatible-blue?style=for-the-badge\u0026logo=linux)](https://www.kernel.org/) [![Status: Complete](https://img.shields.io/badge/Status-Complete-brightgreen?style=for-the-badge)](https://github.com/bocaletto-luca/Directory-Monitor)\n\nSystemAuditDashboard is a centralized Linux system monitoring dashboard implemented in Python using Tkinter. It provides a real-time overview of key system information including:\n\n- **Kernel Version**  \n- **Operating System Details**  \n- **Logged-in User**  \n- **Number of Active Processes**  \n- **Number of Open Ports**  \n- **Load Average (1 min, 5 min, 15 min)**  \n- **Available Memory (in MB)**  \n- **Disk Usage (percentage on the root partition)**  \n\nAdditionally, the dashboard features an interactive bar chart (via Matplotlib) to visualize the load average, and it supports a configurable update interval. Data collection is executed in a separate thread to ensure that the GUI remains responsive during periodic updates.\n\n## Features\n\n- **Threaded Data Collection:**  \n  System information is gathered in a separate thread, ensuring a responsive and non-blocking GUI.\n\n- **Configurable Update Interval:**  \n  The update interval (in seconds) can be set by the user via the dashboard interface.\n\n- **Real-Time Monitoring:**  \n  The dashboard provides live system metrics, including load average, which are dynamically displayed within the GUI.\n\n- **Interactive Graph:**  \n  A Matplotlib bar chart visualizes the load average values for 1 min, 5 min, and 15 min, updating automatically with each refresh.\n\n- **Comprehensive Logging:**  \n  All operations and potential errors are logged to `sys_audit_dashboard.log` for troubleshooting and auditing.\n\n## Requirements\n\n- **Python 3.x**\n- **Linux System (Designed for Linux)**\n- Standard libraries and the following Python packages:\n  - **Tkinter** (usually included with Python on Linux)\n  - **Matplotlib**\n\nTo install Matplotlib (if not already installed), run:\n\n```bash\npip install matplotlib\n```\n\n## Installation\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/bocaletto-luca/SystemAuditDashboard.git\n   cd SystemAuditDashboard\n   ```\n\n2. **Configure (Optional):**  \n   You may change the default update interval by entering a new value (in seconds) in the dashboard interface.\n\n## Usage\n\nThere are two versions available:\n- **main_eng.py** – The English version.\n- **main_ita.py** – The Italian version.\n\nTo run the English version, execute:\n\n```bash\npython3 main_eng.py\n```\n\n*Note:* It is recommended to run this tool with appropriate privileges (e.g., as root) to ensure complete access to all system information.\n\n## How It Works\n\nSystemAuditDashboard gathers various system metrics by executing common Linux commands and Python system calls. It then updates the GUI with the following information:\n- The kernel version is obtained via `uname -r`.\n- OS details are provided by Python’s platform module.\n- The logged-in user is retrieved using `getpass.getuser()`.\n- Active processes are counted using `ps aux`.\n- Open ports are determined using `netstat` or `ss`.\n- Load averages are acquired with `os.getloadavg()`.\n- Available memory is extracted from the output of `free -m`.\n- Disk usage is determined via `df -h /`.\n\nThe dashboard periodically refreshes using Tkinter’s `after()` method and displays updated values along with an interactive load average graph.\n\n## Contributing\n\nContributions are welcome! If you find a bug, have an improvement suggestion, or want to add new features, feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the GNU General Public License (GPL). See the [LICENSE](LICENSE) file for more details.\n\n## Contact\n\nFor questions, issues, or further collaboration, please open an issue in the [GitHub Issues](https://github.com/bocaletto-luca/SystemAuditDashboard/issues) section or contact me.\n\n---\n\nHappy Monitoring and Secure Coding!\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fsystemauditdashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbocaletto-luca%2Fsystemauditdashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fsystemauditdashboard/lists"}