Releases: unioslo/zabbix-cli
Version 1.7.0
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
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
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
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
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
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
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
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
- 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
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.