Skip to main content

Zabbix-CLI - Release version 1.7.0

A new version of Zabbix-CLI has been released to the public. Source files, RPM and DEB files are available at GitHub.

This new version has new general improvements and new functionality to acknowledge events.

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.

Add new comment

The comment language code.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.