Skip to content

Releases: unioslo/zabbix-cli

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

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

New version 1.5.1

14 Apr 08:10
Compare
Choose a tag to compare

Changelog:

  • Add new command update_usergroup_permissions to update permissions and keep the command add_usergroup_permissions to add new permissions.
  • Bugfix: Update command create_host.
    Delete duplicated groups when generating hostgroups list in this command.This is necessary just in case the user defines a hostgroup in this command that is already defined in the default_hostgroup parameter in zabbix-cli.conf

1.5.0

01 Apr 12:26
Compare
Choose a tag to compare

Changelog:

  • Zabbix-3.0 compatible
  • Merge changes from the original pyzabbix 0.7.4 into zabbix-cli/pyzabbix
  • Upgrade command create_notification_user to accept a 'remark' string.
  • Upgrade command create_host to use regular expressions in the [proxy] parameter. This can be used to define the group of proxy servers that will be used to find the zabbix proxy that will monitor the new created host.
  • Disable the use of JSON exports until https://support.zabbix.com/browse/ZBX-10607 gets fixed. Only XML exports work now.

New version - 1.4.0

19 Sep 13:23
Compare
Choose a tag to compare
  • A new command to create notification users is available, 'create_notification_user'.
  • New parameters has been defined in the config file, 'use_colors' and 'use_auth_token_file'. Run 'zabbix-cli-init' to get an updated version of the configuration file installed.
  • The code to manage command line arguments has been refactored. --use-csv-format, --use-json-format and --use-colors are not available anymore. Run 'zabbix-cli -h' to check the arguments available now.
  • One can define a custom config file with the parameters '--config ' or '-c ' when starting 'zabbix-cli'.

New version - 1.3.1

27 Aug 14:39
Compare
Choose a tag to compare

Changelog:

  • Change the login procedure to verify the SSL certificate of the server
  • Support to save API-auth-token information between sessions. This is done to avoid having to use username/password everytime we login. This authentication method will work as long as the API-auth-token is active in the system.
  • The unlink_template_from_host command will unlink AND clear the template information from the host.