Skip to content

Releases: unioslo/zabbix-cli

RPM 2.1.0-1

03 May 11:37
Compare
Choose a tag to compare
rpm/2.1.0-1

Release 2.1.0-1 rpm spec

RPM 2.0.1-1

18 Feb 13:54
Compare
Choose a tag to compare
rpm/2.0.1-1

Merge internal rpm spec. Release 2.0.1-1 rpm spec

Version 2.0.1

18 Feb 13:53
Compare
Choose a tag to compare

Changelog

Enhancements

  • Issue #98: Supported older setuptools (< 20.5)

Version 2.0.0

18 Feb 13:48
Compare
Choose a tag to compare

About

New major release, 2.0.0, with breaking changes since 1.7.0.

The release focuses on Zabbix 3.4 and 4.0 compatibility and Python 2 and 3 support.

You should read through the changelog and test properly if you upgrade from 1.7.0.

Changelog

Some important issues closed since last version.

Enhancements

  • Issue #59: Support python 3
  • Issue #65: Host proxy is displayed in "show_host"
  • Issue #51: "create_host" no longer creates a SNMP interface by default
  • Issue #93: Move from ipaddr to ipaddress module
  • Issue #61: New help output. CLI arguments changed.
  • Issue #95: API endpoint "usergroup" is changed in 4.0

Bugs

  • Issue #87: Python 3 issue, sorting list of dict
  • Issue #66: create_user does not work with Zabbix > 3.0
  • Issue #60: Wrong feedback when running the command "move_proxy_hosts"
  • Issue: #71: Missing zero pad in maintenace periods
  • Issue #88: Python 3 issue with "create_maintenance_definition"
  • Issue #54: import_configuration do not report error received from API in Zabbix 3.4
  • Issue #85: Resolve API changes in event.acknowledge in Zabbix 4

Version 1.7.0

01 Jun 13:02
Compare
Choose a tag to compare

Changelog

New features

  • [Issue:#17]: Add a new command 'show_trigger_events' to show events
    for a trigger.

  • [Issue:#18]: Add a new command 'acknowledge_trigger_last_event' to
    acknowledge the last event of a trigger with a message.

  • [Issue:#27]: Update the command 'create_host' so it also accepts IP
    values and not only hostname values.

  • [Issue:#36]: Add a new command 'acknowledge_events' to acknowledge
    an eventID with a message.

  • [Issue:#43]: Add maintenance type (With/Without data collection)
    parameter to the command 'create_maintenance.

    This is a new parameter for this command. This can break old bulk updates definitions
    using the wrong number of parameters.

  • [Issue:#45]: ZABBIX_USERNAME and ZABBIX_PASSWORD environment
    variables accepted as credentials.

  • Allow specifying interface dns with the command 'create_host_interface'.
    Thanks to Jean-Baptiste Denis for the patch.

    This is a new parameter for this command. This can break old bulk updates definitions
    using the wrong number of parameters.

Bugfixes

  • [Issue:#22]: Delete a deleted host from the hostid cache only if it
    exists. If a host is created via the zabbix frontend after a
    zabbix-cli session has been started, the host will not exist in the
    zabbix-cli cache of this session. Thanks to
    https://github.com/volter for the report.

  • [Issue:#24]: Fix that a host cannot be created if the group set in
    the default_hostgroup parameter does not exist. Thanks to
    https://github.com/volter for the report.

  • [Issue:#28]: Fix exception error when the HOME variable is not
    defined. Thanks to https://github.com/invin12 for the report.

  • [Issue:#29]: Fix return code values when running in command-line
    mode. Thanks to https://github.com/invin12 for the report.

  • [Issue:#32]: Fix export problem when Hostgroups include the slash
    character '/' e.g.: UNIX/GROUP/TEST. Thanks to
    https://github.com/invin12 for the report.

  • [Issue:#35]: populate_hostid_cache() excluded disabled hosts and did
    not use the 'real name' attributte of the host. Fix these so we can
    use the command define_host_monitoring_status in bluk
    operations. Thanks to https://github.com/blu3bird for the report.

  • [Issue:#38]: Fix utf8 problems when exporting templates. Thanks to
    https://github.com/fgtham for the patch and
    https://github.com/patsevanton for the report.

New version - 1.6.1

12 Dec 13:49
Compare
Choose a tag to compare

Changelog:

  • Update README file
  • Make debian package non-native

Bugfix:

  • Fix problem creating maintenance definition - local variable 'sec' referenced before assignment [Issue: #19]

New version - 1.6.0

06 Dec 09:45
Compare
Choose a tag to compare

Changelog:

  • Add support for multilevel configuration [Issue: #8]
  • Add new command to define maintenance definitions [Issue: #9]
  • Add new command to remove maintenance definitions [Issue: #11]
  • Add new command to show maintenance definitions [issue: #10]
  • Add new command to show maintenance periods [Issue: #14]
  • Add new command to show active zabbix-cli configuration parameters and configuration files [Issue: #13]
  • Add RPM specs file
  • Add DEBIAN files

Bugfixes:

  • Fix zabbix-cli-init parameters parsing. We use the argparse module now.
    zabbix-cli-init arguments:

    -h, --help            show this help message and exit
    --zabbix-url <zabbix URL>, -z <zabbix URL>
    

New version - 1.5.4

28 Jun 10:58
Compare
Choose a tag to compare

Changelog:

  • Add an new option (--file / -f ) to define an external command file to run a bulk execution of zabbix-cli commands. Some performance improvements have been added when running in bulk modus.

New version - 1.5.3

11 May 12:30
Compare
Choose a tag to compare

Changelog:

  • Bugfix: Fix json output for command show_alarms
  • Add an extra filter to the command show_alarms. Per default show only alarms with the last event unknowledged.

New version - 1.5.2

25 Apr 12:30
Compare
Choose a tag to compare

Changelog:

  • Bugfix: command define_host_monitoring_status

    zabbix 3.0 has removed the host.exists() method from the API. Use our own host_exists() method to check if a hostname exists in zabbix before updating the monitoring status of the host