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)
- System and service monitoring
- Data collection
- Data storage and optimization
- Data visualization
- Monitoring alarm
- Alarm handling
- Backstage management
- Python 3.6.5
- Django
- Redis
- Centos 7.4/Mac
- 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
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
- Available under Mac and Linux, not tested in Windows environment
Licensed under the MIT license




