Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.39 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.39 KB

Malware Analysis Live

How to install Graphite

$ apt-get install graphite-web graphite-carbon mysql-server python-mysqldb python-pymysql apache2 libapache2-mod-wsgi apt-transport-https ssl-cert

How to install Grafana

Docs : http://docs.grafana.org/installation/debian/
Install : https://statusengine.org/tutorials/Grafana-Bionic/

How to install Python-Diamond

$ git clone https://github.com/python-diamond/Diamond.git && cd Diamond && python setup.py install 
&& apt-get install python-pip -y && pip install diamond && pip install configobj && apt install -y supervisor
$ cp /etc/diamond/diamond.conf.example /etc/diamond/diamond.conf

We should add config file config-diamond.

$ nano /etc/diamond/diamond.conf

Add supervisor settings :

$ sudo nano /etc/supervisor/conf.d/diamond.conf

[program:diamond]
#directory = /etc/init.d/
command = diamond
autostart=true
autorestart=true

$ sudo systemctl restart supervisor && systemctl enable supervisor

Testing:

tail -f /var/log/diamond/archive.log