shell 在线编辑器:https://www.runoob.com/try/runcode.php?filename=helloworld&type=bash 一下脚本自行测试查看结果 echo "Hello World !" your_name="qinjx" echo your_name fo ...
分类:
系统相关 时间:
2021-05-24 17:21:02
阅读次数:
0
import requests from requests import request import json from collections import OrderedDict url = 'https://zabbix-xn.test.bestpay.net/api_jsonrpc.php ...
使用pushplus将zabbix的告警推送至个人微信,这样就不用在非工作日心心念念的去钉钉、邮箱等去查看告警了 ...
分类:
微信 时间:
2021-05-24 15:53:42
阅读次数:
0
第一步获取待下载文件列表. 解压缩到到执行目录下面 我这边使用Windows10 里面的 WSL的方式直接进行相关工作 ls *.zip > list.url 将需要下载的zip包变成列表文件. 第二步 使用shell脚本进行判断文件是否存在 #!/bin/bash echo " "> /deplo ...
分类:
其他好文 时间:
2021-05-24 12:11:03
阅读次数:
0
首先在一台agent安装zabbix-agent rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm yum clean all yum -y install za ...
分类:
其他好文 时间:
2021-05-24 10:48:30
阅读次数:
0
Markdown快速入门(typora) 1、代码块: // 代码块语法 ?```Java(语言类型) ?```shell 1.java代码块 public class HelloWorld { public static void main(String []args) { System.out. ...
分类:
其他好文 时间:
2021-05-24 08:54:58
阅读次数:
0
在官网下载二进制包:这里直接使用wget wget https://cdn.zabbix.com/zabbix/binaries/stable/4.0/4.0.30/zabbix_agent-4.0.30-linux-3.0-amd64-static.tar.gz 之后进行解压 [root@zabb ...
分类:
其他好文 时间:
2021-05-24 08:48:26
阅读次数:
0
<html> <embed height="200" type="application/x-shockwave-flash" width="200" src="http://www.blogclock.cn/swf/S1000746cf11489-9.swf" wmode="transparent ...
分类:
其他好文 时间:
2021-05-24 08:27:38
阅读次数:
0
在 Bash 解释器中,内置了许多变量,这些变量的功能是解释器自带的,我们在编写shell脚本时如果能灵活的使用它们,对脚本的编写效率以及差错大有帮助, 下面一一介绍这些变量 $FUNCNAME、$LINENO、$PWD FUNCNAME和LINENO 变量经常用于脚本的调试 FUNCNAME 表示 ...
分类:
系统相关 时间:
2021-05-24 07:09:39
阅读次数:
0
先用ifconfig br_name down 停掉网桥 再用brctl delbr br_name 删除网桥 为了方便,我编写了shell脚本来删除网桥 #!/bin/bash #本脚本删除的是br-开头的网桥 BRIDGE_LIST=$(sudo brctl show | cut -f 1 | ...
分类:
其他好文 时间:
2021-05-24 06:19:17
阅读次数:
0