脚本主要功能: 1)通过zabbix api接口采集所有监控主机ip地址; 2)通过cmdb系统(蓝鲸)接口采集所有生产主机IP地址、主机名、操作系统、电源状态; 3)以上2步返回数据对比,找出未监控主机ip地址,生成csv文件; 4)发送邮件。 脚本如下: #!/usr/bin/python #c ...
分类:
编程语言 时间:
2021-04-05 12:04:28
阅读次数:
0
记录编译开始时间(自己的脚本一定要放在最前面,否则项目不会使用修改完成后的内容) # Type a script or drag a script file from your workspace to insert its path. app_build_time_path=${SRCROOT}/ ...
分类:
移动开发 时间:
2021-04-02 13:04:47
阅读次数:
0
我创建的item是这样的: last("192.168.64.254:IfHCOutOctets[GigabitEthernet1/0/35]")+last("192.168.64.254:IfHCOutOctets[GigabitEthernet1/0/41]")+last("192.168.64 ...
分类:
其他好文 时间:
2021-04-02 12:57:16
阅读次数:
0
问题描述: 自动关联后回放报错:Action.c(16): Error: C interpreter run time error: Action.c (16): Error -- memory violation : Exception ACCESS_VIOLATION received. 问题定 ...
分类:
数据库 时间:
2021-04-01 13:07:54
阅读次数:
0
<form role="form" class="form-horizontal" action="{:url('xxx/xxx')}" method="post"> <div class="row"> <div class="col-sm-4"> <div class="form-group dr ...
分类:
其他好文 时间:
2021-04-01 12:59:43
阅读次数:
0
在做监控的时候,有可能会发生agent挂掉,无法采取到告警的时候。 这个时候可能就无法发送告警了 # 解决方法 这个时候需要用《nodata》触发器 《nodata触发器》表达式参考 {docker container check health:net.tcp.listen[{#TCP_PORT}] ...
分类:
其他好文 时间:
2021-03-31 11:35:11
阅读次数:
0
Shell函数 linux shell 可以用户定义函数,然后在shell脚本中可以随便调用。 shell中函数的定义格式如下: [ function ] funname [()] { action; [return int;] } 说明: 1、可以带function fun() 定义,也可以直接f ...
分类:
系统相关 时间:
2021-03-30 13:46:15
阅读次数:
0
<%-- Created by IntelliJ IDEA. User: Dell Date: 2021/3/27 Time: 19:51 To change this template use File | Settings | File Templates. --%> <%@ page cont ...
分类:
Web程序 时间:
2021-03-30 13:10:55
阅读次数:
0
目录 引子 正文 公民:actions、action 创建者、reducers 和 store Actions and action 创建者 Store Reducers 状态设计 状态形态 Reducers 合并 归一化 常见模式 选择器 鸭子/模块 状态机 常见陷阱 不要为不同的目的复用相同的异 ...
分类:
其他好文 时间:
2021-03-29 12:15:26
阅读次数:
0
##简介 Java的java.util.concurrent包中提供了并发相关的接口和类,本文将重点介绍CompletableFuture并发操作类 JDK1.8新增CompletableFuture该类 Class CompletableFuture<T> java.lang.Object jav ...
分类:
编程语言 时间:
2021-03-29 11:37:02
阅读次数:
0