Great! but what if we can use it to show the access graphically?! We love the graphical interface because it is very attractive and it does not lead to run the python script repeatedly since we use a scheduler!
This use case aims to generates automatically the topology of the entreprise showing if there is an access to the network devices. It leverages the modules Flask, APScheduler and Diagrams with Genie/pyATS framework.
In summary, this project :
The function Check_Access is scheduled in background with APScheduler and excecuted periodically in order to retrieve the actual topology access state of the devices.
A Flask route that retrieve and display the topology access state with legend indicating the access state according to the color : Red device in case No Access and Blue device in case Access Ok. There is two templates: Auto Access State and On demand Access State. In both cases, there is a GIF animation indicating that the topology access state is on process in the case that this latter is not previusly generated or deleted in some reason by the admin.
Auto Access : Retrieve periodically the topology access state with auto refreshing the web page. Feel free to change the period time in index_auto_refresh_state.html
On-demand Access : The admin can retrieve the actual topology access state of the devices using a botton.
* Serving Flask app 'graphical_check_access' (lazy loading) * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: on * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) * Restarting with stat * Debugger is active! * Debugger PIN: 615-503-771
CASE 1. Auto Access
We use index_auto_refresh_state.html template to automatically show the access state of the devices periodically.
Is there a way to extract the Event and Alarm logs from vManage for a long period like last 6 months? When i extract from the vManage, I get logs for a very short time since the row limit for the extract is 10000 and it is filled within very short time.
I wantto use language python Netmiko to add some commands to 400 router cisco !!
for me it the first time i use pyhon Netmiko
i have switch layer 2 2960 cisco have username admin and password admin123...
I'm trying to run simple monitoring with Telemetry, by looking at this video: https://www.youtube.com/watch?v=erTyK0WDsT0&t=2556sI've configured everything, but Cisco device doesn't send any packet to the receiver. The server side uses Influxdb +...