首页
金蝶系列
用友系列
鼎捷系列
OA协同办公
注册/登录
登录
注册
Search
1
Python 3.8 - ModuleNotFoundError: No module named 'flask._compat'
259 阅读
2
CentOS 7 - 安装iredMail 邮件服务器
252 阅读
3
Zabbix 4.0 源码安装
221 阅读
4
Kingdee-采购管理-T_PUR_CATALOGENTRY_R-采购目录_关联信息表
189 阅读
5
Python循环语句- for
179 阅读
默认分类
Windows
金蝶
OA
ERP
帆软
用友
Linux
数据库
/
Search
标签搜索
金蝶
管理
美萍
OA
Linux
qq
泛微
获取
破解
监控
用友
IPguard
KIS
Zabbix
python
帆软
活字格
MySQL
FineReport
k3cloud
SOSO
累计撰写
299
篇文章
累计收到
7
条评论
首页
栏目
默认分类
Windows
金蝶
OA
ERP
帆软
用友
Linux
数据库
页面
金蝶系列
用友系列
鼎捷系列
OA协同办公
推荐
登录
注册
搜索到
51
篇与
的结果
2022-04-16
Zabbix 4.0 - 飞书告警Python脚本
Zabbix 4.0 - 飞书告警Python脚本#!/usr/bin/python3 import requests import json import sys import os import datetime # webhook地址粘贴进url内 url = "webhook地址" def send_message(message): payload_message = { "msg_type": "text", "content": { "text": message } } headers = { 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=json.dumps(payload_message)) return response if __name__ == '__main__': text = sys.argv[1] send_message(text)
2022年04月16日
102 阅读
0 评论
0 点赞
2022-02-25
Zabbix 4.0 - 企业微信告警shell脚本
企业微信告警shell脚本#!/bin/bash #set -x CorpID="xxx" #企业CorpID Secret="xxx" #应用Secret GURL="https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=$CorpID&corpsecret=$Secret" accessToken=$(/usr/bin/curl -s -G $GURL |awk -F\": '{print $4}'|awk -F\" '{print $2}') #echo $accessToken PURL="https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=$accessToken" function body(){ local int agentid=1000002 #应用AgentId local UserID=$1 local PartyID=1 #部门ID local Msg=$(echo "$@" | cut -d" " -f3-) printf '{\n' printf '\t"touser": "'"$UserID"\"",\n" printf '\t"toparty": "'"$PartyID"\"",\n" printf '\t"msgtype": "text",\n' printf '\t"agentid": "'"$agentid"\"",\n" printf '\t"text": {\n' printf '\t\t"content": "'"$Msg"\""\n" printf '\t},\n' printf '\t"safe":"0"\n' printf '}\n' } /usr/bin/curl --data-ascii "$(body $1 $2 $3)" $PURL
2022年02月25日
81 阅读
0 评论
0 点赞
2022-01-22
oVirt-4.x 配置IP地址登录
In a web browser, navigate to https://manager-fqdn/ovirt-engine, replacing manager-fqdn with the FQDN that you provided during installation.You can access the Administration Portal using alternate host names or IP addresses. To do so, you need to add a configuration file under /etc/ovirt-engine/engine.conf.d/. For example:# vi /etc/ovirt-engine/engine.conf.d/99-custom-sso-setup.conf # SSO_ALTERNATE_ENGINE_FQDNS="alias1.example.com alias2.example.com" SSO_ALTERNATE_ENGINE_FQDNS="192.168.0.xx"The list of alternate host names needs to be separated by spaces. You can also add the IP address of the Engine to the list, but using IP addresses instead of DNS-resolvable host names is not recommended.Click Administration Portal. An SSO login page displays. SSO login enables you to log in to the Administration and VM Portal at the same time.Enter your User Name and Password. If you are logging in for the first time, use the user name admin along with the password that you specified during installation.Select the Domain to authenticate against. If you are logging in using the internal admin user name, select the internal domain.Click Log In.You can view the Administration Portal in multiple languages. The default selection is chosen based on the locale settings of your web browser. If you want to view the Administration Portal in a language other than the default, select your preferred language from the drop-down list on the welcome page.To log out of the oVirt Administration Portal, click your user name in the header bar and click Sign Out. You are logged out of all portals and the Engine welcome screen displays.
2022年01月22日
73 阅读
0 评论
0 点赞
2022-01-14
LFS - Version_Check.sh
#!/bin/bash # Simple script to list version numbers of critical development tools export LC_ALL=C bash --version | head -n1 | cut -d" " -f2-4 MYSH=$(readlink -f /bin/sh) echo "/bin/sh -> $MYSH" echo $MYSH | grep -q bash || echo "ERROR: /bin/sh does not point to bash" unset MYSH echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- bison --version | head -n1 if [ -h /usr/bin/yacc ]; then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; elif [ -x /usr/bin/yacc ]; then echo yacc is `/usr/bin/yacc -V | head -n1` else echo "yacc not found" fi bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6- echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2 diff --version | head -n1 find --version | head -n1 gawk --version | head -n1 if [ -h /usr/bin/awk ]; then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`" elif [ -x /usr/bin/awk ]; then edho awk is `/usr/bin/awk --version | head -n1` else echo "awk not found" fi gcc --version | head -n1 g++ --version | head -n1 ldd --version | head -n1 | cut -d" " -f2- # glibc version grep --version | head -n1 gzip --version | head -n1 cat /proc/version m4 --version | head -n1 make --version | head -n1 patch --version | head -n1 echo Perl `perl -V:version` python3 --version sed --version | head -n1 tar --version | head -n1 makeinfo --version | head -n1 # textinfo version xz --version | head -n1 echo 'int main(){}' > dummy.c && g++ -o dummy dummy.c if [ -x dummy ] then echo "g++ compilatiion OK"; else echo "g++ compilation failed"; fi rm -f dummy.c dummy
2022年01月14日
84 阅读
0 评论
0 点赞
2021-11-26
OSI参考模型
1.OSI参考模型优点OSI模型是层次型的,具有所有分层模型的所有优点和好处,所有分层模型的主要目的是为了让不同厂商的网络能够互操作。2.使用OSI分层模型主要有以下几点:将网络通信过程划分成更小、更简单的组件。这有助于组件的开发、设计和故障排除;通过标准化网络组件,能够让多家厂商协作开发;定义了模型每层执行的功能;可以让不同类型的网络硬件和软件彼此通信;避免对其中一层的修改影响其它层,从而避免妨碍开发工作。3.OSI参考模型OSI规范最大的作用之一是帮助不同的主机之间进行数据传输,OSI模型包含7层,它们分为两组:上3层指定了终端的应用程序如何彼此通信以及如何与用户交流。下4层指定了如何进行端到端的数据传输。名称说明应用层提供用户界面表示层表示数据,进行加密等处理会话层将不同应用程序的数据分离传输层提供可靠或不可靠的传输,在重传前执行纠错网络层提供逻辑地址,路由器使用它们来选择路径数据链路层将分组拆分成字节,并将字节组合成帧,使用MAC地址提供介质访问,执行纠错检测,但不纠错物理层在设备之间传输比特,指定电平、电缆速度和电缆针脚
2021年11月26日
81 阅读
0 评论
0 点赞
1
...
7
8
9
...
11