Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

L7-zabbix (9) Versions 1.0.9

Installs/Configures zabbix, automatic client registration

Berkshelf/Librarian
Policyfile
Knife
cookbook 'L7-zabbix', '= 1.0.9'
cookbook 'L7-zabbix', '= 1.0.9', :supermarket
knife cookbook site install L7-zabbix
knife cookbook site download L7-zabbix
README
Dependencies
Quality

L7-zabbix cookbook

Build Status security Cookbook Version

Description

Configures zabbix agent and proxy via Opscode Chef

Supported Platforms

  • Ubuntu 14.04+

Recipes

  • L7-zabbix - The default no-op recipe.
  • L7-zabbix::agent - Set up zabbix-agent
  • L7-zabbix::proxy - Set up zabbix-proxy
  • L7-zabbix::register_client - Registers client to zabbix server using zabbix api

Attributes

  • for agent:
  • default['zabbix']['server_addresses'] - array if of ips where the agent accepts connection from

  • for register_client

  • default['zabbix']['proxy_id'] - id of the zabbix proxy (default: 0)

  • default['zabbix']['url'] - zabbix api url (default: https://example.com/api_jsonrpc.php)

  • default['zabbix']['user'] - zabbix api username (default: api)

  • default['zabbix']['password'] - zabbix api password

  • for proxy:

  • default['zabbix']['proxy']['server_address'] - where to send data by proxy (default: '127.0.0.1')

  • default['zabbix']['proxy']['server_port'] - zabbix server port (default: 10051)

  • default['zabbix']['proxy']['pollers'] - zabbix proxy pollers (default: 10)

  • default['zabbix']['proxy']['dbsyncers'] - zabbix proxy db syncers (default: 4)

  • default['zabbix']['proxy']['cachesize'] - zabbix proxy cache (default: 16M)

  • default['zabbix']['proxy']['pingers'] - zabbix proxy pingers (default: '2')

  • default['zabbix']['proxy']['historycachesize'] - zabix proxy history cache (default: 16M)

  • default['zabbix']['proxy']['autostart'] - should zabbix proxy start at boot? (default: true)

Automatic client registartion to Zabbix server

The register_client recipe tries to register a new host using zabbix api. If a proxy id is set then the host will be created with an additional proxy settings to be checked via that proxy. A 'Linux' template will be automatically assigned to the new host. Additional templates can be added. If a host has a chef role like 'web' and a zabbix template called 'web' also exists then it will be assigned to the host too. It helps to monitor all the things if an applicaion is scaled out to new machines. No new machines will be left unmonitored and abandoned!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

  • Freely distributable and licensed under the MIT license.
  • Copyright (c) 2015 Gabor Szelcsanyi

image

Dependent cookbooks

firewall >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

1.0.9 passed this metric