配置主从
相关配置文件,
daemonize yes
protected-mode no
port 7001
#bind 127.0.0.1
dir /usr/local/redis-cluster/7001/
appendonly yes
pidfile /var/run/redis_ ...
2019-06-05 17:39 448℃ 0评论
0 喜欢
1.安装ruby
wget https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.3.tar.gz
tar xvf ruby-2.6.3.tar.gz
cd ruby-2.6.3
./configure --prefix=/usr/local/r ...
2019-06-05 16:31 622℃ 0评论
0 喜欢
1.安装redis
wget http://download.redis.io/releases/redis-5.0.5.tar.gz
tar xvf redis-5.0.5.tar.gz
cd redis-5.0.5
make MALLOC=libc
2.配置redis
redis ...
2019-06-04 22:33 449℃ 0评论
0 喜欢
1.安装php php-mysql
yum install php php-mysql
2.安装percona-zabbix-templates
yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
 ...
2019-06-04 21:32 521℃ 0评论
0 喜欢
nginx.conf 相关配置 ,开启status
location /status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
相关脚本 ...
2019-06-03 18:33 445℃ 0评论
0 喜欢
脚本如下
[root@localhost zabbix_agentd.d]# cat tcp_status.sh
#!/bin/bash
#
[ $# -ne 1 ] && echo "Usage:CLOSE-WAIT|CLOSED|CLOSING|ESTAB|FIN-WAI ...
2019-06-03 18:03 477℃ 0评论
0 喜欢
1.下载安装Grafana
wget https://dl.grafana.com/oss/release/grafana-6.2.1-1.x86_64.rpm
yum localinstall grafana-6.2.1-1.x86_64.rpm
systemctl enable graf ...
2019-06-03 17:53 560℃ 0评论
0 喜欢
分类
系统宏变量 {MACRO}
用户自定义宏变量 {$MACRO}
自动发现的宏变量 {#MACRO}
宏变量函数
regsub(<pattern>,<output>) 区分大小写
iregsub(<pattern>,<out ...
2019-06-01 21:38 707℃ 0评论
0 喜欢
1.添加用户组
打开 管理---用户群组---创建用户群组
输入组名 权限 选择添加要管理的主机组 我这里因为test组里面有一台test1的主机,给予读写权限添加
2.添加用户
输入别名 选择刚才我们添加的OP组 输入密码 添加
3.添加告警媒介
配置告警脚本路径,重启zab ...
2019-06-01 20:14 627℃ 0评论
0 喜欢
agent安装(略),参考上一节
编辑agent配置文件设置server地址 /etc/zabbix/zabbix_agentd.conf
其中server配置为被动模式,serveractive配置为主动模式,这两个地址均执行zabbix_server的服务器地址
[root@node2 ~]# ...
2019-05-31 20:14 400℃ 0评论
0 喜欢