上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: def setmailinfo(self, receiveUser, cc, subject, text, text_type, *attachmentFilePaths): # 设置邮件的基本信息(收件人,抄送,主题,正文,附件,可变参数附件路径列表) self.msg['From'] = sel 阅读全文
posted @ 2020-05-21 09:46 进击的pythoner 阅读(238) 评论(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 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 核心文件3千多行,谁受得了.改 阅读全文
posted @ 2020-05-11 17:24 进击的pythoner 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 名称: Action-Email默认接收人: 故障{TRIGGER.STATUS},服务器:{HOSTNAME1}发生: {TRIGGER.NAME}故障!默认信息: 告警主机:{HOSTNAME1} 告警时间:{EVENT.DATE} {EVENT.TIME} 告警等级:{TRIGGER.SEVE 阅读全文
posted @ 2020-05-08 21:46 进击的pythoner 阅读(955) 评论(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 阅读(879) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-04-20 16:52 进击的pythoner 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-04-20 16:48 进击的pythoner 阅读(204) 评论(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 阅读(318) 评论(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 阅读(214) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-import jenkinsclass TestJenkins(object): def __new__(cls, *args, **kwargs): server = 'http://1.1.1.1:8080/jenkins' username = ' 阅读全文
posted @ 2019-09-29 15:42 进击的pythoner 阅读(1836) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页