# django_monitor **Repository Path**: tdwei163/django_monitor ## Basic Information - **Project Name**: django_monitor - **Description**: django监控工具,类似阿里云监控。 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2018-11-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README django监控工具,类似阿里云监控。 Language: python Django version: 2.0.1 Author: 朱启玉 Time: 2018/06/20 This is a monitor system # INSTALL python3 -m pip install -r requirement.txt # or pip install -r requirement.txt # settings.py please set this args 1. DEBUG # default True 2. ALLOWED_HOSTS # default 127.0.0.1 3. DATABASES # you need set your database 4. other # Logic ----/monitor/ ----- settings # this is settings ----- urls # this is url ----/static/ ----- css --- # this is css dir ----- fonts --- # this is fonts dir ----- img --- # this is image dir ----- js --- # this is js dir ----/templates/ ---- master --- # this is module html dir ----/ad/ ---- templatetags # this is module method dir ---- migrations # this is databases migrations recode dir ---- Authcode # this is authenticate code ---- forms # this is django forms ---- models # this is django databases models ---- urls # this is ad apps urls ---- views # this is django views # server chmod +x monitor_check.py chmod +x monitor.py vim monitor.py vim monitor_check.py cat crontab >> /etc/crontab # client chmod +x monitor.py pip install psutil pymysql yum install sysstat vim monitor.py python monitor.py 效果图见 index_img/ 目录