摘要: 需求: 需要配置zabbix监控,使得zabbix服务器可以监控到另一台服务器上运行的第三方服务的状态,当状态异常时发送告警邮件。 限制:被监控的服务器不允许安装任意客户端,且该台服务器不能联通外网 对zabbix的各种监控方式研究分析后,尝试用通过外部脚本检测的方式完成对第三方服务的监控。 即通过 阅读全文
posted @ 2018-08-10 17:18 blitheG 阅读(823) 评论(0) 推荐(0)
摘要: tar 加密打包 压缩 tar -czvf /path/to/file.tar.gz file 解压 tar -xzvf /path/to/file.tar.gz /path/to 加密压缩 tar -czvf - file | openssl des3 -salt -k password -out 阅读全文
posted @ 2018-07-25 09:56 blitheG 阅读(948) 评论(0) 推荐(0)
摘要: 一、集群介绍 共3台主机,ip 为193.168.0.93 193.168.0.94 193.168.0.95 集群对应master和segment如下,193.168.0.93为master节点。193.168.0.94 193.168.0.95为segment节点,每个segment节点配置两个 阅读全文
posted @ 2018-07-05 10:34 blitheG 阅读(1383) 评论(0) 推荐(0)
摘要: 转载自:https://www.douban.com/note/330962457/ 问:PPT模板是什么含义? 答: 先假定你们要的是这种网上到处泛滥成灾的主题PPT吧,下面请耐心看到最后,秋叶老师放各种大招,十款绝招总有一招震惊你。看完这篇文章,如果你还找不到PPT模板,我就彻底服了你!第一招: 阅读全文
posted @ 2018-06-03 13:05 blitheG 阅读(621) 评论(0) 推荐(0)
摘要: 转载自: http://www.cnblogs.com/junrong624/p/5278457.html https://www.cnblogs.com/fanghao/p/7745356.html 一、JPype简述 1.JPype是什么? JPype是一个能够让 python 代码方便地调用 阅读全文
posted @ 2018-05-02 14:41 blitheG 阅读(2853) 评论(0) 推荐(0)
摘要: re模块 re 模块使 Python 语言拥有全部的正则表达式功能。 compile 函数根据一个模式字符串和可选的标志参数生成一个正则表达式对象。该对象拥有一系列方法用于正则表达式匹配和替换。 re 模块也提供了与这些方法功能完全一致的函数,这些函数使用一个模式字符串做为它们的第一个参数。 re. 阅读全文
posted @ 2018-03-15 19:38 blitheG 阅读(437) 评论(0) 推荐(0)
摘要: 学习参考网址:https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 Git是目前世界上最先进的分布式版本控制系统。 Git区分与其他版本控制系统,主要有两个优点:一、不必联网;二、强大的 阅读全文
posted @ 2018-02-26 17:28 blitheG 阅读(254) 评论(0) 推荐(0)
摘要: 学习参考网址:https://www.appinn.com/markdown/index.html # **gitskill** ## 标题 ># 这是 H1 >## 这是 H2 >###### 这是 H6 ## 区块引用 Blockquotes > This is a blockquote with two paragraphs. Lorem ipsum dolor sit a... 阅读全文
posted @ 2018-02-25 15:14 blitheG 阅读(126) 评论(0) 推荐(0)
摘要: 转载自:https://www.cnblogs.com/leomei91/p/7680954.html 该模块用来访问平台相关属性。 常见属性和方法 平台架构 返回平台架构。若无法确定,则返回空字符串。 1 2 3 4 5 >>> platform.machine() 'AMD64' >>> pla 阅读全文
posted @ 2018-02-01 16:06 blitheG 阅读(355) 评论(0) 推荐(0)
摘要: 转自:https://www.cnblogs.com/nulige/p/6128816.html any()与all()函数的区别: any是任意,而all是全部。 版本:该函数适用于2.5以上版本,兼容python3.x版本。 any(...) any(iterable) -> bool Retu 阅读全文
posted @ 2017-12-27 14:00 blitheG 阅读(452) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示