一、批量在服务端向client端发布命令://在zabbix服务端批量向client发送命令查看agent的进程:[root@localhost~]#ansiblezabbix-mshell-a"ps-ef|grepzabbix_agent"[root@localhost~]#ansiblezabbix-mshell-a"/etc/init.d/zabbix_agentdstart"[root@l
分类:
其他好文 时间:
2020-11-24 12:29:23
阅读次数:
6
一、概述:二、被动模式1、创建一台主机:2、为主机添加Items:注:net.tcp.service支持以下类型的协议:FTPHTTP、HTTPS、IMAP、LDAP、NNTP、POP、SMTP、SSHTelnet、NTP3、回到ZABBIX-Agent客户端修改配置文件:[root@localhost~]#vim/etc/zabbix/zabbix_agentd.confServer=192.1
分类:
其他好文 时间:
2020-11-24 12:27:10
阅读次数:
7
一、简单检查:1、简单检查:使用ICMP协议或者TCP协议进行检查某个服务或者设备的存活。2、关闭zabbix-agent.service模拟测试,1、SMTP检查:安装postfix检查SMTP服务。[root@localhost~]#vim/etc/postfix/main.cf//邮件传输代理软件inet_interfaces=192.168.1.60mydestination=$myhos
分类:
其他好文 时间:
2020-11-24 12:26:39
阅读次数:
7
一、挂载光盘 [root@localhost ~]# mount /dev/cdrom /mnt/cdrom/ 二、让网络yum源文件失效 [root@localhost]@ cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# mv CentOS-B ...
分类:
系统相关 时间:
2020-11-24 12:10:37
阅读次数:
12
db.test.find({"_id":"5349b4ddd2781d08c09890f4"})结果数据为空。test为集合collection解决方法:值中加入ObjectIddb.test.find({"_id":ObjectId("5349b4ddd2781d08c09890f4")})总结:MongoDB中存储
分类:
数据库 时间:
2020-11-23 12:30:47
阅读次数:
14
Difficulty: Medium Related Topics: Depth-first Search, Breadth-first Search, Union Find Link: https://leetcode.com/problems/number-of-islands/ Descrip ...
分类:
其他好文 时间:
2020-11-23 12:25:21
阅读次数:
3
1.安装centos 7 2.使用root登陆系统,更新系统及所有软件按到最新 yum update -y && reboot 3.安装vim、samba yum install vim samba -y 4.配置文件在/etc/samba/smb.conf [global] workgroup = ...
分类:
其他好文 时间:
2020-11-23 12:12:07
阅读次数:
7
<div class="radio-div"> <div style="width: 100px; float: left;"> <input name="typeName" type="radio" value="1"> <label><em></em><span>集团</span></label ...
分类:
其他好文 时间:
2020-11-23 12:03:56
阅读次数:
5
1、首先查找到占用9095端口的进程号PID是多少 netstat -ano | findstr 6101 taskkill /F /PID 0 ...
1 (venv) ? pythonProject4 find / -iname ssl.h 2 find: /usr/sbin/authserver: Permission denied 3 /usr/local/Cellar/openssl@1.1/1.1.1g/include/openssl/s ...
分类:
Web程序 时间:
2020-11-21 12:30:25
阅读次数:
16