image host for https://epiapoq.github.io/2021/04/02/compim/ ...
分类:
其他好文 时间:
2021-04-05 12:11:11
阅读次数:
0
脚本主要功能: 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
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
'''文本配置文件:相当于一个字典,[DEFAULT][bitbucket.org][topsecret.server.com]都是key值,所对应的数据是字典格式''' import configparser config = configparser.ConfigParser() # 生成文档 ...
分类:
其他好文 时间:
2021-03-31 11:46:17
阅读次数:
0
import contextlib import pyhdfs class HdfsUtil(object): def __init__(self, hosts='namenode1:9870,namenode2:9870', user_name='hdfs'): self.hosts = host ...
分类:
编程语言 时间:
2021-03-30 13:29:22
阅读次数:
0
日常DNS维护使用命令有 1、dig 命令 2、host 命令3、nslookup 命令4、whois 命令 dig 命令,在Linux下执行 安装 apt install dnsutils 执行 dig dogedoge.com 执行结果输出如下: dig 命令默认的输出信息可以分为 7 个部分 ...
分类:
其他好文 时间:
2021-03-30 13:14:38
阅读次数:
0
了解Flask 什么是Flask Flask 是一个微框架(Micro framework),所谓微框架,它就是很轻量级的,作者划分出了Flask应该负责什么(请求路由、处理请求、返回响应)、不应该负责什么(数据库抽象、表单验证)。它倡导地是不要重复造轮子,结合社区优秀的库,使得Flask更加灵活、 ...
分类:
其他好文 时间:
2021-03-29 12:11:39
阅读次数:
0
二进制安装部署方式 集群规划 准备5台2C/2g/50g虚拟机,网络10.4.7.0/24预装centos7.4。 主机名 分配ip 用途 hdss7-11.host.com 10.4.7.11 proxy1 hdss7-12.host.com 10.4.7.12 proxy2 hdss7-21.h ...
分类:
其他好文 时间:
2021-03-29 12:10:40
阅读次数:
0
Tripwire is a host based Intrusion detection system for Linux. Tripwire monitors Linux system to detect and report any unauthorized changes to the fil ...
分类:
系统相关 时间:
2021-03-18 14:32:34
阅读次数:
0