Skip to content

Web-app for control and monitoring switch ports with SNMP and pexpect

License

Notifications You must be signed in to change notification settings

leichgardt/sauronport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SauronPort

Port Monitoring on Switches with Flask and pysnmp into WEB-app (python-flask-uwsgi).

Installation

Install dependencies

$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get install liblzma-dev lzma
$ sudo apt-get install libpcre3 libpcre3-dev python3.8 python3.8-dev

And then clone the project

$ git clone [email protected]:leichgardt/sauronport.git
$ cd billeach
$ python3.8 -m venv venv
$ source venv/bin/activate

Starting

If everything was done correctly, check it by running flask

$ flask run

uWSGI runs by script (without venv are possible)

$ uwsgi --ini uwsgi.ini