脚本主要功能: 1)通过zabbix api接口采集所有监控主机ip地址; 2)通过cmdb系统(蓝鲸)接口采集所有生产主机IP地址、主机名、操作系统、电源状态; 3)以上2步返回数据对比,找出未监控主机ip地址,生成csv文件; 4)发送邮件。 脚本如下: #!/usr/bin/python #c ...
分类:
编程语言 时间:
2021-04-05 12:04:28
阅读次数:
0
##spring boot中连接数据库报错500(mybatis) pom.xml中的依赖 <!-- 集成mybatis--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boo ...
分类:
数据库 时间:
2021-04-02 13:13:58
阅读次数:
0
一、什么是消息队列? 消息队列不知道大家看到这个词的时候,会不会觉得它是一个比较高端的技术,反正我是觉得它好像是挺牛逼的。 消息队列,一般我们会简称它为MQ(Message Queue),嗯,就是很直白的简写。 我们先不管消息(Message)这个词,来看看队列(Queue)。这一看,队列大家应该都 ...
分类:
其他好文 时间:
2021-04-02 13:09:28
阅读次数:
0
https://blog.csdn.net/weixin_33672109/article/details/92378342 #!/bin/bash if [ "$#" -ne 2 ] ; then echo "USAGE: $0 -f server_list_file cmd" exit -1 f ...
分类:
系统相关 时间:
2021-04-02 13:01:20
阅读次数:
0
1.centos部署go环境 vim /etc/profile export PATH=$PATH:/usr/local/go/bin export GOROOT=/usr/local/go #go包的解压目录 export GOPATH=/opt/GOPATH #表示实际的工作目录 export ...
分类:
Web程序 时间:
2021-04-02 12:53:57
阅读次数:
0
今天查看的内容主要讲了React中Jsx的一些使用技巧以及Jsx与Html的不同之处 如何在Jsx中使用动态值,可以像下面这样 <div>{this.state.oneState}</div> <div>{boolean ? 'true' : 'false'}</div> <div>{this.ge ...
分类:
其他好文 时间:
2021-04-01 13:32:29
阅读次数:
0
COMP3322 BModern Technologies on World Wide WebAssignment TwoTotal 10 pointsDeadline: Mar 29, 2021 23:59OverviewYou are going to design and develop a ...
分类:
其他好文 时间:
2021-04-01 13:12:04
阅读次数:
0
如何:调试 Windows 服务应用程序 https://docs.microsoft.com/zh-cn/dotnet/framework/windows-services/how-to-debug-windows-service-applications 官网地址 <main id="main" ...
D7 一般把栈叫堆栈;数据结构上的堆和栈是两个不同的东西; Unit {Queue(队列),先进先出;Stack(堆栈),后进先出}unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, ...
'''文本配置文件:相当于一个字典,[DEFAULT][bitbucket.org][topsecret.server.com]都是key值,所对应的数据是字典格式''' import configparser config = configparser.ConfigParser() # 生成文档 ...
分类:
其他好文 时间:
2021-03-31 11:46:17
阅读次数:
0