Skip to content

đŸ’» A distributed monitoring system developed based on Django

License

Notifications You must be signed in to change notification settings

Topaz1618/FoxMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A distributed monitoring system developed based on Django, with reference to Zabbix, Open-Falcon architecture, to achieve front-end, back-end, monitoring plug-ins, drawing, data optimized storage, etc. By Topaz(Website|Blog)

Chinese README

Features

  • System and service monitoring
  • Data collection
  • Data storage and optimization
  • Data visualization
  • Monitoring alarm
  • Alarm handling
  • Backstage management

Environment

  • Python 3.6.5
  • Django
  • Redis
  • Centos 7.4/Mac

Installation

Server side installation

  1. Download FoxMonitor
 git clone https://github.com/Topaz1618/FoxMonitor.git
 cd FoxMonitor/

2.Install dependencies

 pip3 install -r requirements.txt

3.Create user & sync data

 // Synchronize the database
 python manage.py migrate

 // Create admin user
 python manage.py createsuperuser

4.Modify configuration

 $cd MyMonitor
 $vim settings.py
  REDIS_CONN = {
      'HOST':'10.0.0.129',
      'PORT':6379,
      'DB':0,
 }

5.Run

 python3 manage.py runserver 0.0.0.0:9000  // Start the web side of the monitoring service

 python3 MonitorServer.py start  // Start the monitoring main program

 python3 MonitorServer.py trigger_watch  // Start the alarm listener program

Client side installation

1.Install dependencies

 yum install gcc python-devel
 pip3  install  psutil

2.Configuration

 $cd AgentMonitor/
 $vim  conf/settings.py
 configs = {
   	'HostID':1,                  // The clinet end id must be unique
   	'ServerIp':'192.168.43.136',	// Server Ip
   	'ServerPort':'8007',		 // Server Port
 }

3.Run

 python bin/CrazyAgent.py start

Screenshots

【Main Page】

【List Of All Hosts】

【Monitoring Chart】

Precautions

  • Available under Mac and Linux, not tested in Windows environment

License

Licensed under the MIT license

About

đŸ’» A distributed monitoring system developed based on Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published