上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 全网独家 x=$(curl -s -X POST -H "Content-Type":application/json-rpc --data '{"jsonrpc":"2.0", "method":"user.login", "id":1, "auth":null, "params":{"user" 阅读全文
posted @ 2020-05-21 10:38 进击的pythoner 阅读(222) 评论(0) 推荐(0)
摘要: def setmailinfo(self, receiveUser, cc, subject, text, text_type, *attachmentFilePaths): # 设置邮件的基本信息(收件人,抄送,主题,正文,附件,可变参数附件路径列表) self.msg['From'] = sel 阅读全文
posted @ 2020-05-21 09:46 进击的pythoner 阅读(253) 评论(0) 推荐(0)
摘要: import requests LOGIN_URL = "http://mydjangosite.com/accounts/login/"ENDPOINT_URL = 'http://mydjangosite.com/myendpoint/' '''Create a session.A sessio 阅读全文
posted @ 2020-05-19 14:27 进击的pythoner 阅读(338) 评论(0) 推荐(0)
摘要: 核心文件3千多行,谁受得了.改 阅读全文
posted @ 2020-05-11 17:24 进击的pythoner 阅读(234) 评论(0) 推荐(0)
摘要: 名称: Action-Email默认接收人: 故障{TRIGGER.STATUS},服务器:{HOSTNAME1}发生: {TRIGGER.NAME}故障!默认信息: 告警主机:{HOSTNAME1} 告警时间:{EVENT.DATE} {EVENT.TIME} 告警等级:{TRIGGER.SEVE 阅读全文
posted @ 2020-05-08 21:46 进击的pythoner 阅读(1014) 评论(0) 推荐(0)
摘要: 1) Import the provided template. - TEMPLATE.VMWARE_ESXi_6.0_CIM.xml 2) Install Dependencies: # yum -y install sblim-wbemcli.x86_64 pywbem.noarch pytho 阅读全文
posted @ 2020-05-08 21:28 进击的pythoner 阅读(909) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-04-20 16:52 进击的pythoner 阅读(103) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-04-20 16:48 进击的pythoner 阅读(210) 评论(0) 推荐(0)
摘要: Correct, if you use items with type "Zabbix agent" (so called passive checks). They will not work.Still older agents (prior to 4.0) work well with 4.0 阅读全文
posted @ 2020-04-16 12:12 进击的pythoner 阅读(332) 评论(0) 推荐(0)
摘要: 在项目中会用到argparse这个模块,相关demo代码如下: parser = argparse.ArgumentParser(description='File compare and upload ftp server')parser.add_argument('-path', metavar 阅读全文
posted @ 2020-04-08 11:58 进击的pythoner 阅读(220) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 下一页