No commit activity in last 3 years
No release in over 3 years
Itamae plugin to install zabbix agent
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.10
~> 10.0
>= 0
 Project Readme

Itamae::Plugin::Recipe::Zabbix

Itamae recipe plugin for zabbix

Installation

Add this line to your application's Gemfile:

gem 'itamae-plugin-recipe-zabbix'

And then execute:

$ bundle

Or install it yourself as:

$ gem install itamae-plugin-recipe-zabbix

Usage

Install

include_recipe "zabbix"
include_recipe "zabbix::agent"
zabbix:
  version: 2.2
  server: zabbix.example.com
  port: 10050
  hostname: local.example.com
  host_metadata:
  userparameters:

Userparameters

include_recipe "zabbix"
include_recipe "zabbix::agent"

zabbix_userparameters "all" do
  path File.expand_path(File.dirname(__FILE__)) + "/zabbix/templates/etc/zabbix/zabbix_agentd.d/"
end
zabbix:
  userparameters:
    - userparameter_hoge.conf.erb
    - userparameter_piyo.conf.erb

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/itamae-plugin-recipe-zabbix.