MSNM-S - Multivariate Statistical Network Monitoring-Sensor
[A pre-print release of the work is avilable at https://arxiv.org/abs/1907.13612]
MSNM-S is conceived to be extremely scalable and aseptic because just two parameters are sent among levels or devices in the monitored network or system. Additionally, the MSNMSensor is able to manage multiple and heterogeneous type data sources at each monitored devices thanks to the FCParser (Feature as a Counter Parser) feature engineering approach.
Installation
Requirements
MSNSensor runs with python 2.7 and has been successfully tested on Ubuntu from 16.04 version and above. Also, the following dependencies has to be installed.
- numpy >= 1.14
- scipy >=1.0
- pyyaml >= 3.12
- IPy >= 0.83
- pandas >= 0.22
- watchdog >= 0.8.3
- FCParser (Feature as a Counter Parser) == 1.0.0
How to install
Creating a python execution environment is, probably the better way to run the application. So I recommend you to create one before doing the requeriments installation. Anaconda environment can help you and, if you decide to use it, run the following commands:
$ conda create -n py27 python=2.7
$ conda activate py27
Running the previous command will install everything needed.(py27) $ pip install -r requirements.txt
How to run an example
Please see instructions at examples or download the pre-configured VM at MSNM-S-UBUNTU. We recommend you to use the VM. Remember to pull the repository to get the MSNM-S project updated. In the following, you can see the necessary steps to run the pre-configure experiment in the VM:
Running the MSNM-Ss (backend)
Open a terminal window and activate netflow daemon and collector.
$ cd ~/msnm-sensor/scripts/netflow/
$ sudo ./activateNetflow.sh (pass: msnm1234)
Wait for 5 minutes to get netflow records. Run and deploy the MSNM-Ss in example/scenario_4 example:$ cd ~/msnm-sensor/scripts/
$ conda activate py27
$ ./start_experiment.sh ../examples/scenario_4/
$ ps -ef | grep msnmsensor (just to check if all the four MSNM-Ss are running)
$ tail -500f ~/msnm-sensor/examples/scenario_4/borderRouter/logs/msnm.log (another way to see how the MSNM-S is working. Replace the name of the MSNM-S if you want to see the others.)
Running the dashboard (frontend):Open a new terminal window.
$ cd ~/msnm-sensor/dashboard/
$ conda activate msnm-dashboard
$ ln -s ../examples examples
$ python manage.py runserver
Browse to http://localhost:8000Authors and license
MSNM Sensor - GNU GPL - Roberto Magán-Carrión, José Camacho and Gabriel Maciá-Fernández
MSNM-S - Multivariate Statistical Network Monitoring-Sensor
Reviewed by Zion3R
on
5:08 PM
Rating: