Giter Site home page Giter Site logo

ned-server-monitor-demo-'s Introduction

Ned Server Monitoring System (Demo)

Output Output

This is a demo with sample data. to get the full code go to https://github.com/mremigio331/Ned-Server-Monitor Go to https://share.streamlit.io/mremigio331/ned-server-monitor-demo-/ned.py for an interactive demo.

Ned is a server monitoring code that allows you to see what IPs have successfully and unsuccessfully connected to your servers. Ned uses Streamlit for it's GUI.

To install all dependencies needed:

$ pip install -r requirements.txt

To run the code input the following:

$ streamlit run ned.py

Steps To Connecting To Server

Creating SSH Keys You will first need to create SSH Keys for your server. After the keys are connected to the server, place the SSH keys in the Keys directory within the code

SSH_Config Settings

In order for the code to work properly you will need to change a setting in your ssh_config file.

To access the file, connect to your server

Navigate to the sshd_config file which is located in /etc/ssh/sshd_config
Unhash the Loglevel and change from INFO to VERBOSE

It is also recommended to change your SSH port

Connecting Ned To Your Server

To connect Ned to your server, open the Server Settings page and enter in your server details. If you need to change any settings you can do so by selecting Edit Server in the Server Settings Page.

	Server Name = Name of your server

	IP = The IP address of your server

	Username = The username used to connect to the server. For now root is the only user that can be used

	Port = The SSH port

To confirm you have access to your server you can select Server Status in the Server Settings page

Grabbing Information From Your Server

To get the authentication logs from your server navigate to the Home Page and select Load Data. Below the maps notifications will appear to indicate if proper connections were made.

Home Page

Output

The home page is the default page once opening Ned. This page displays by default the last 7 days worth of information. It includes two different data frames (Successful Authentications and Failed Authentications) as well as maps that connect to them.

To gather information, select the Load Data option in the side bar. The code will SCP the authentication logs from your server, add it to the Ned Database, sort the relevant information, and delete the authentication log SCPed.

This page also has a map with a heat map to display which areas in the world have successfully and unsuccessfully connected to your servers.

Server Settings Page

The Server Settings Page is where you add, edit, delete and see the status of your servers.

Output

Statistics Page

The statistics page is where you can find statistical data regarding successful and unsuccessful access to your servers.

Output Output Output

Information Page

The Information Page describes the steps needed to connect a server.

Looking Forward

I will be working on the following things to add to this code:

Displaying on the Home Page data that has been transferred to and from the servers.

Have an option to continuously pull authentication logs from servers rather than manually requesting them via the Load Data button.

Option of identifying not just the SSH port but all ports in order to detect new attack vectors.

Option to create SSH Keys within Ned rather than creating them outside Ned via a terminal. 

ned-server-monitor-demo-'s People

Contributors

mremigio331 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.