MonitorServer 监控主机资源,包括CPU,内存,硬盘大小及数据库定时任务 python pip3 install pymongo pip3 install psutil 在linux主机中使用conrtab做定时任务,定时执行python脚本收集信息