上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: 1、界面配置ldap验证(略) 2、mysql导入ldap帐号信息 #!/usr/bin/env python# -*- coding:utf-8 -*- import pymysqlimport commandsimport base64import sysfrom datetime import 阅读全文
posted @ 2018-07-05 13:48 清风木 阅读(588) 评论(0) 推荐(0)
摘要: 直接上配置: 1、修改配置 cat userparameter_tcp_connect.conf UserParameter=tcp_connect.established,/opt/app/zabbix-agent/scripts/tcp_connect.sh establishedUserPar 阅读全文
posted @ 2018-07-05 13:36 清风木 阅读(387) 评论(0) 推荐(0)
摘要: 直接 上配置: 1、配置文件 cat userparameter_harddisk.conf #discovery hard diskUserParameter=custom.vfs.discovery.diskname,/opt/app/zabbix-agent/scripts/check_har 阅读全文
posted @ 2018-07-05 13:32 清风木 阅读(3042) 评论(0) 推荐(0)
摘要: filebeat.modules:- module: kafka log: enabled: truefilebeat.prospectors:- type: log enabled: true paths: - /opt/logs/jetty/xxx.log fields: name: study 阅读全文
posted @ 2018-07-04 17:30 清风木 阅读(454) 评论(0) 推荐(0)
摘要: global_defs { router_id k8s_master} vrrp_script chk_http_port {script "/etc/keepalived/check_haproxy.sh"interval 2} vrrp_instance k8s_master { state M 阅读全文
posted @ 2018-07-04 17:25 清风木 阅读(416) 评论(0) 推荐(0)
摘要: --user=nginx --group=nginx --prefix=/opt/app/nginx --with-http_v2_module --with-http_ssl_module --with-http_sub_module --with-http_stub_status_module 阅读全文
posted @ 2018-07-04 17:23 清风木 阅读(149) 评论(0) 推荐(0)
摘要: zabbix server:cat zabbix_server.confLogFile=/data/log/zabbix_server.logLogFileSize=250DebugLevel=3PidFile=/tmp/zabbix_server.pidDBHost=xxx-db-zabbix.i 阅读全文
posted @ 2018-07-04 17:16 清风木 阅读(120) 评论(0) 推荐(0)
摘要: 服务器:#vim /etc/hosts10.16.166.90 sh-xxx-xxx-xxx-online-0110.16.168.220 sh-xx-xxx-xxx-online-0210.16.167.15 sh-xxx-xxx-xxx-online-03 #vim /etc/yum.repos 阅读全文
posted @ 2018-07-04 17:13 清风木 阅读(357) 评论(0) 推荐(0)
摘要: #wget http://www.haproxy.org/download/1.7/src/haproxy-1.7.9.tar.gz #tar zxvf haproxy-1.7.9.tar.gz#make TARGET=linux26 PREFIX=/usr/local/haproxy #make 阅读全文
posted @ 2018-07-04 17:09 清风木 阅读(444) 评论(0) 推荐(0)
摘要: 创建软链:file: - name: create link hosts: "{{hosts_ip}}" tasks: - name: create link file: src={{src_path}} dest={{dest_link_path}} state=link 运行脚本: - name 阅读全文
posted @ 2018-07-04 17:01 清风木 阅读(1446) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页