摘要:
from websocket import create_connection # 建立一个websocket连接 ws = create_connection("ws://{}:7505/realtime/logs".format(server_ip)) # 对websocket客户端发送一个请求 print task_id ws.send('{{"type":"1","taskId":{}," 阅读全文
摘要:
监控数据参见: 阅读全文
摘要:
# coding=utf8 import smtplib import os from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import sys import pymysql sender = '' # 发件人邮箱登录账号 sender_pass = '' # 发件人邮箱登录密 阅读全文