cookbook 'zabbix-agent', '~> 1.0.0'
zabbix-agent
(20) Versions
1.0.0
-
Follow12
Provides zabbix_agent resources
cookbook 'zabbix-agent', '~> 1.0.0', :supermarket
knife supermarket install zabbix-agent
knife supermarket download zabbix-agent
Chef Cookbook - zabbix-agent
This cookbook provides custom resources for installing, configuring, and managing Zabbix Agent.
Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook
maintainers working together to maintain important cookbooks. If you would like to know more please
visit sous-chefs.org or come chat with us on the Chef Community Slack in
#sous-chefs.
Requirements
Platforms
- AlmaLinux 8+
- Amazon Linux 2023+
- CentOS Stream 9+
- Debian 12+
- Oracle Linux 8+
- Red Hat Enterprise Linux 8+
- Rocky Linux 8+
- Ubuntu 22.04+
See [LIMITATIONS.md](LIMITATIONS.md) for package and source-install details.
Chef
Chef Infra Client 15.3 or later.
Migration
This release removes the legacy recipe and node attribute API. See [migration.md](migration.md) for
mapping examples.
Resources
- [zabbix_agent](documentation/zabbix-agent_zabbix_agent.md)
- [zabbix_agent_registration](documentation/zabbix-agent_zabbix_agent_registration.md)
Usage
zabbix_agent 'default' do config( 'Server' => 'zabbix.example.com', 'ServerActive' => 'zabbix.example.com' ) action %i(create start) end
Source Install
zabbix_agent 'source' do install_method 'source' version '7.0.26' configure_options ['--with-libcurl', '--with-libpcre2'] action :create end
Source installs build and configure the agent only. They do not create or override a system service
unit.
Prebuilt Static Install
zabbix_agent 'prebuild' do install_method 'prebuild' version '7.0.26' prebuild_arch 'amd64' action :create end
Prebuilt installs extract and configure the agent only. They do not create or override a system
service unit.
Contributors
This project exists thanks to all the people who
contribute.
Backers
Thank you to all our backers.
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
CHANGELOG
1.0.0 (2026-05-19)
⚠ BREAKING CHANGES
- migrate zabbix-agent to custom resources (#92)
Features
Bug Fixes
- 116 (bdabe08)
- 117 (c5531a7)
- 118 (6fefd65)
- ci: Update workflows to use release pipeline (#87) (efec3c6)
0.15.12 (2025-10-16)
Bug Fixes
0.15.7 - 2023-10-26
- Fix notification triggers
0.15.6 - 2023-09-28
- resolved cookstyle error: .delivery/project.toml:2:8 convention:
Style/StringLiterals - resolved cookstyle error: .delivery/project.toml:4:10 convention:
Style/StringLiterals - resolved cookstyle error: .delivery/project.toml:5:13 convention:
Style/StringLiterals - resolved cookstyle error: .delivery/project.toml:6:10 convention:
Style/StringLiterals - resolved cookstyle error: .delivery/project.toml:7:9 convention:
Style/StringLiterals - resolved cookstyle error: .delivery/project.toml:8:14 convention:
Style/StringLiterals - resolved cookstyle error: .delivery/project.toml:9:11 convention:
Style/StringLiterals
0.15.5 - 2023-09-28
- Standardise files with files in sous-chefs/repo-management
0.15.3 - 2021-08-31
- Standardise files with files in sous-chefs/repo-management
0.15.2 - 2021-06-01
- resolved cookstyle error: spec/default_spec.rb:131:25 warning:
ChefDeprecations/DeprecatedChefSpecPlatform
0.15.1 (2020-05-05)
- resolved cookstyle error: recipes/configure.rb:34:3 refactor:
ChefStyle/NegatingOnlyIf
0.15.0 (2020-20-01)
- Require Chef Infra Client 14 or later
- Upgrade the default client version to 3.0.29 as 3.0.9 isn't on the Zabbix site anymore
- Fix prebuilt installs since the packages on the Zabbix site have changed name format
- Use the Linux 3.x prebuilt binaries not 2.6 binaries
- Use systemd not sys-v init scripts to start the agent on Debian / RHEL based systems now
- Use the build_essential resource and remove the dependency on the build-essential cookbook
- Removed the apt-get update before adding the Zabbix apt repository as this is not necessary
- Removed the include_recipe 'yum' before setting up the Zabbix yum repo as this is not necessary
- Removed dependency on apt and yum cookbooks
- Change Test Kitchen testing to kitchen-dokken
- Remove ChefSpec matchers file which is no longer necessary with ChefSpec 7.1
- Use multi-package installs where available to speed up package installation
- Use platform? and platform_family? helpers where possible to simplify the codebase
- Simplify the apt_repository usage by removing
distributionproperty - Fix source installs on Debian 10+ and Ubuntu 18.04+
- Migrate to Github actions for testing
- Use platform_family not platform to better support derivative OS releases like Oracle Linux
0.14.0
- upgrade to default client version 3.0.9
- move kitchen to docker so it can be run in travisci
0.12.0
- include kitchen tests for all supported OS types
- upgrade to default client version 2.4.4
- cleanup source compile dependancies
- added debian as supported
- added more distributions and versions to kitchen testing
- many bug fixes for diffrent distribution versions
0.11.0
- Move LWRPs to their own cookbook to clean up zabbix-agent
- Clean up linting and unit tests
0.10.0
- Upgrading from 0.9.0 may require some slight changes to attribute names that control the configuration file.
- Migrate zabbix_agentd.conf to a fully dynamically generated template
- Include many more tests
- General clean-up of code
0.9.0
- Major refactor of all code.
- Rename cookbook to zabbix-agent, strip out all server, web, java-gateway dependencies.
- Add default code path chefspec tests
- Update kitchen tests
- Added package install from repo.zabbix.com
- Rename many cookbooks to follow a Install->Configure->Service design pattern.
Collaborator Number Metric
1.0.0 passed this metric
Contributing File Metric
1.0.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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.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 https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number