{"id":32862032,"url":"https://github.com/emomeni/cisco_switch_monitor_dashboard","last_synced_at":"2026-04-11T12:46:48.787Z","repository":{"id":322248839,"uuid":"1088680059","full_name":"emomeni/cisco_switch_monitor_dashboard","owner":"emomeni","description":"A Flask-based web application for monitoring Cisco switch ports status with real-time updates and basic authentication.","archived":false,"fork":false,"pushed_at":"2025-11-03T12:28:43.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-03T13:19:01.365Z","etag":null,"topics":["automation","cisco","cisco-it-networking","css","flask","html","javascript","network-automation","network-automation-dev","network-automation-python","python","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emomeni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-03T10:04:24.000Z","updated_at":"2025-11-03T12:28:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/emomeni/cisco_switch_monitor_dashboard","commit_stats":null,"previous_names":["emomeni/cisco_switch_monitor_dashboard"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/emomeni/cisco_switch_monitor_dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomeni%2Fcisco_switch_monitor_dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomeni%2Fcisco_switch_monitor_dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomeni%2Fcisco_switch_monitor_dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomeni%2Fcisco_switch_monitor_dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emomeni","download_url":"https://codeload.github.com/emomeni/cisco_switch_monitor_dashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emomeni%2Fcisco_switch_monitor_dashboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283424651,"owners_count":26833720,"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-11-08T02:00:06.281Z","response_time":57,"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":["automation","cisco","cisco-it-networking","css","flask","html","javascript","network-automation","network-automation-dev","network-automation-python","python","sqlite"],"created_at":"2025-11-08T22:01:13.053Z","updated_at":"2025-11-08T22:02:08.919Z","avatar_url":"https://github.com/emomeni.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network Monitoring Dashboard\n\nA Flask-based web application for monitoring Cisco switch ports status with real-time updates and basic authentication.\n\n## Features\n\n- Real-time monitoring of switch port status\n- Basic authentication system with login/logout\n- Auto-refresh functionality (60-second intervals)\n- Responsive design using Bootstrap\n- Color-coded status indicators\n- Port details including VLAN, speed, and duplex settings\n\n## Project Structure\n\n```\n├── app.py                 # Main Flask application\n├── main.py                # Entry point\n├── models.py              # Database models\n├── forms.py               # Form definitions\n├── switch_manager.py      # Switch port status management\n├── pyproject.toml         # Python project’s metadata and dependencies in a standardised way\n├── static/\n│   ├── css/\n│   │   └── custom.css     # Custom styles\n│   └── js/\n│       └── dashboard.js   # Dashboard functionality\n└── templates/\n    ├── base.html          # Base template\n    ├── login.html         # Login page\n    └── dashboard.html     # Main dashboard\n```\n\n## Requirements\n\n- Python 3.11+\n- Flask and extensions:\n  - flask-login\n  - flask-sqlalchemy\n  - flask-wtf\n- PostgreSQL (or SQLite for development)\n- Additional packages listed in requirements.txt\n\n## Setup\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/cisco_switch_monitor_dashboard.git\ncd cisco_switch_monitor_dashboard\n```\n\n2. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n3. Set environment variables:\n```bash\nexport SESSION_SECRET=\"your-secret-key\"\nexport DATABASE_URL=\"postgresql://user:password@localhost/dbname\"  # Optional, defaults to SQLite\n```\n\n4. Run the application:\n```bash\npython main.py\n```\n\nThe application will be available at `http://localhost:5000`\n\n## Default Login\n\n- Username: admin\n- Password: admin\n\n## Features\n\n### Authentication\n- Secure login system with password hashing\n- Session management\n- Protected routes\n\n### Dashboard\n- Real-time port status display\n- VLAN assignments\n- Port speed and duplex settings\n- Port descriptions\n- Auto-refresh functionality\n\n### Responsive Design\n- Bootstrap-based layout\n- Mobile-friendly interface\n- Clean and modern UI\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Example Dashboard\n\nHere is an example of the dashboard showing interface status:\n\n![Dashboard screenshot](images/dashboard.png)\n\nand this is the Login Page:\n\n![Port detail screenshot](images/login-page.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femomeni%2Fcisco_switch_monitor_dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femomeni%2Fcisco_switch_monitor_dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femomeni%2Fcisco_switch_monitor_dashboard/lists"}