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

Select Status


zabbix_ng (7) Versions 1.1.0

Installs/Configures zabbix_ng

cookbook 'zabbix_ng', '~> 1.1.0', :supermarket
cookbook 'zabbix_ng', '~> 1.1.0'
knife supermarket install zabbix_ng
knife supermarket download zabbix_ng
Quality 29%


This cookbook installs and configures zabbix


Set the zabbix server

node['zabbix_ng']['agent']['zabbix_server'] # defaults to ''



Installs zabbix-agent, adds package-manager specific update monitoring

Adds the following UserParameters, that return the amount of upgradeable packages

apt.updates # for debian and ubuntu
yum.updates # for scientific, redhat, centos and fedora


Installs zabbix-server


Installs zabbix-sender


To use the providers, make sure you add the following line to your metadata.rb

depends 'zabbix'


This LRWP can be used to maintain zabbix user parameters in the zabbix_agentd.d directory.

Create a new rule like this

zabbix_ng_agent_userparam 'thin' do
  identifier 'my.zabbix_identifier'
  command    'my_zabbix_command --with --arguments'

You can also use your own templates

zabbix_ng_agent_userparam 'postgresql' do
  cookbook 'my_cookbook'
  source   'zabbix_parameters_postgresql.erb'
  variables :my => 'var'


This LWRP monitores the SSL expiration date

zabbix_ng_agent_ssl '/etc/nginx/certs/server.crt'

You can also specify a custom zabbix identifier (defaults to ssl.certificate)

zabbixng__agent_ssl 'my custom certificate monitoring' do
  certificate '/etc/ssl/mycert.pem'
  identifier  'custom.zabbix_identifier'


  • Do not add PPA on ARM architecture
  • Add compatibility to Ubuntu packages
  • Add attributes for zabbix-agent pidfile and logfile


  • Force repository distribution to trusty, as no other distribution is supported as of Jun 2016. Packages seem to work fine in xenial, too.


  • Fix issue with automatically restarting zabbix-agent when config file was changed.


  • Use node['fqdn'] as the default hostname in zabbix_agentd.conf. This resolves issues with zabbix-trapper when using zabbix_sender


  • Introduce new parameter node['zabbix_ng']['zabbix_version']
  • Update default zabbix version to 3.0
  • NOTE: In case you want to stay with zabbix-2.4, make sure to set the following attribute: default['zabbix_ng']['zabbix_version'] = '2.4'


  • Restart zabbix agent after config file was deployed
  • Intrudoce attribute to set zabbix agent timeout


  • Initial release of zabbix_ng

Collaborator Number Metric

1.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

1.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Foodcritic Metric

1.1.0 failed this metric

FC066: Ensure chef_version is set in metadata: zabbix_ng/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: zabbix_ng/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zabbix_ng/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

1.1.0 passed this metric

Supported Platforms Metric

1.1.0 failed this metric

zabbix_ng should declare what platform(s) it supports.

Testing File Metric

1.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

1.1.0 passed this metric