Sha256: f1f5a8e958a58d95730bae988c0e3dc6b9e00bc2ecf73538dd7b5475f86f746d
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
Contents
class ZabbixApi class Configurations < Basic # @return [Boolean] def array_flag true end # The method name used for interacting with Configurations via Zabbix API # # @return [String] def method_name 'configuration' end # The id field name used for identifying specific Configuration objects via Zabbix API # # @return [String] def indentify 'host' end # Export configuration data using Zabbix API # # @param data [Hash] # @raise [ApiError] Error returned when there is a problem with the Zabbix API call. # @raise [HttpError] Error raised when HTTP status from Zabbix Server response is not a 200 OK. # @return [Hash] def export(data) @client.api_request(method: 'configuration.export', params: data) end # Import configuration data using Zabbix API # # @param data [Hash] # @raise [ApiError] Error returned when there is a problem with the Zabbix API call. # @raise [HttpError] Error raised when HTTP status from Zabbix Server response is not a 200 OK. # @return [Hash] def import(data) @client.api_request(method: 'configuration.import', params: data) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zabbixapi-4.2.0 | lib/zabbixapi/classes/configurations.rb |
zabbixapi-4.1.2 | lib/zabbixapi/classes/configurations.rb |
zabbixapi-4.1.1 | lib/zabbixapi/classes/configurations.rb |