Chocolatey Packages

Documentation about My Chocolatey Packages.

View project on GitHub

Zabbix Agent (Install) Zabbix Agent (Install)

Usage

To install Zabbix Agent (Install), run the following command from the command line or from PowerShell:

choco install zabbix-agent.install

To upgrade Zabbix Agent (Install), run the following command from the command line or from PowerShell:

choco upgrade zabbix-agent.install

To uninstall Zabbix Agent (Install), run the following command from the command line or from PowerShell:

choco uninstall zabbix-agent.install

Description

This package installs the Zabbix agent MSI from the pre-compiled files supplied by Zabbix LLC. The source code for this Chocolatey package can be found on GitHub. Please file any issues you find in the project’s Issue tracker.

Package installation defaults

By default, installation of this package:

  • Will install the OpenSSL version of the Zabbix agent to “%ProgramFiles%\Zabbix Agent”.
  • Will set the hostname to $env:COMPUTERNAME.
  • Will set the server to 127.0.0.1.
  • Will add firewall rules.
  • Will NOT enable encryption.
  • Will NOT enable remote commands.

Please Note: To have choco remember parameters on upgrade, be sure to set:

choco feature enable -n=useRememberedArgumentsForUpgrades`

Package Parameters

A full list of configuration options is available in the Zabbix documentation. Here are some of the most commonly used:

  • SERVER - List of comma delimited IP addresses (127.0.0.1).
  • SERVERACTIVE - IP:port (or hostname:port) of Zabbix server or Zabbix proxy for active checks ($SERVER).
  • HOSTNAME - Unique, case sensitive hostname ($env:COMPUTERNAME)
  • INSTALLFOLDER - Full pathname specifying where the Zabbix agent should be installed (%ProgramFiles%\Zabbix Agent).
  • ENABLEPATH - Add Zabbix agent to the PATH environment variable (0).
  • SKIP - Passing “fw” to this parameter will skip adding the firewall exception rule.
  • ALLOWDENYKEY - Sequence of “AllowKey” and “DenyKey” parameters separated by ;. Use \; to escape the delimiter.

These parameters can be passed to the installer with the use of --params.

Examples

choco install zabbix-agent.install --params '"/SERVER:<Zabbix Server IP> choco install zabbix-agent.install --params '"/SERVER:192.168.6.76 /SERVERACTIVE:192.168.6.76 /HOSTNAME:zabbix-agent-1.zabbix.com /ALLOWDENYKEY:AllowKey=system.run[*] /SKIP:fw"'

Please Note: This is an automatically updated package. If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know here that the package is no longer updating correctly.

Chocolatey Package Page

Software Site

Package Source