logstash 安装zabbix插件
2016-09-15 22:47
363 查看
<pre name="code" class="html">[root@xxyy yum.repos.d]# yum install ruby Loaded plugins: refresh-packagekit, security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package ruby.x86_64 0:1.8.7.374-4.el6_6 will be installed --> Processing Dependency: ruby-libs = 1.8.7.374-4.el6_6 for package: ruby-1.8.7.374-4.el6_6.x86_64 --> Processing Dependency: libruby.so.1.8()(64bit) for package: ruby-1.8.7.374-4.el6_6.x86_64 --> Running transaction check ---> Package ruby-libs.x86_64 0:1.8.7.374-4.el6_6 will be installed --> Processing Dependency: libreadline.so.5()(64bit) for package: ruby-libs-1.8.7.374-4.el6_6.x86_64 --> Running transaction check ---> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================================= ====================== Package Arch Version Repository Size ================================================================================================================================================================================= ====================== Installing: ruby x86_64 1.8.7.374-4.el6_6 base 538 k Installing for dependencies: compat-readline5 x86_64 5.2-17.1.el6 base 130 k ruby-libs x86_64 1.8.7.374-4.el6_6 base 1.7 M Transaction Summary ================================================================================================================================================================================= [root@xxyy yum.repos.d]# rpm -qa | grep ruby ruby-libs-1.8.7.374-4.el6_6.x86_64 ruby-1.8.7.374-4.el6_6.x86_64 yum install ruby ruby-devel rubygems rpm-build [root@xxyy yum.repos.d]# rpm -qa | grep ruby ruby-rdoc-1.8.7.374-4.el6_6.x86_64 ruby-libs-1.8.7.374-4.el6_6.x86_64 ruby-irb-1.8.7.374-4.el6_6.x86_64 ruby-1.8.7.374-4.el6_6.x86_64 ruby-devel-1.8.7.374-4.el6_6.x86_64 rubygems-1.3.7-5.el6.noarch 淘宝源地址; https://ruby.taobao.org [elk@dr-mysql01 logstash-2.3.4]$ pwd /usr/local/logstash-2.3.4 [elk@dr-mysql01 logstash-2.3.4]$ cat Gemfile | grep -i zabbix [elk@dr-mysql01 logstash-2.3.4]$ logstash-output-zabbix 1.安装 gem 包 yum install -y gem 2. [root@xxyy logstash-2.3.4]# grep -i zabbix * CHANGELOG.md: - feature: new output plugin "zabbix" - similar to the nagios output, but CHANGELOG.md: works with the Zabbix monitoring system. Contributed by Johan at [root@xxyy logstash-2.3.4]# grep -i 'taobao' * gem sources --remove http://rubygems.org/ 3.gem sources -a https://ruby.taobao.org 4.gem sources -l 安装 zabbix插件 [root@xxyy bin]# ./logstash-plugin install logstash-output-zabbix Ignoring ffi-1.9.13 because its extensions are not built. Try: gem pristine ffi --version 1.9.13 Validating logstash-output-zabbix Unable to download data from https://rubygems.org - too many connection resets (https://api.rubygems.org/latest_specs.4.8.gz) ERROR: Installation aborted, verification failed for logstash-output-zabbix [root@xxyy bin]# gem sources -l *** CURRENT SOURCES *** https://ruby.taobao.org https://ruby.taobao.org [root@xxyy logstash-2.3.4]# vim Gemfile # This is a Logstash generated Gemfile. # If you modify this file manually all comments and formatting will be lost. source "https://ruby.taobao.org" gem "logstash-core", "2.3.4" [root@xxyy bin]# ./logstash-plugin install logstash-output-zabbix Ignoring ffi-1.9.13 because its extensions are not built. Try: gem pristine ffi --version 1.9.13 Validating logstash-output-zabbix Installing logstash-output-zabbix Installation successful
相关文章推荐
- logstash 安装zabbix插件
- kafka插件在logstash上的安装
- 分布式zabbix监控平台插件zatree安装
- zabbix常用功能配置以及一些插件的安装
- elastic笔记:logstash插件安装
- ZABBIX和JMX插件安装
- zabbix oracle监控插件orabbix部署安装
- Centos6.5下 logstash5.2.2 插件安装(实践成功)
- logstash tomcat catalina.out zabbix 插件不会引起崩溃
- logstash tomcat catalina.out zabbix 插件不会引起崩溃
- logstash_output_mongodb插件用途及安装详解
- 安装grafana和grafana-zabbix插件
- zabbix------grafana插件的安装与使用
- zabbix 图形插件 Grafana的安装
- Logstash 插件安装
- zabbix3.0.4安装趋势图集中显示插件graphtrees
- zabbix agentd客户端插件Shell一键自动安装脚本
- 安装grafana-zabbix插件
- percona-zabbix-templates插件安装监控MySQL
- Logstash5.0 手动安装插件