Sha256: 3dbb7f154920c5ed16b33a181099359b8871b2a2cfb249783a68a51dfeea024c

Contents?: true

Size: 1.04 KB

Versions: 19

Compression:

Stored size: 1.04 KB

Contents

class ZabbixApi
  class Items < Basic

    def array_flag
      true
    end

    def method_name
      "item"
    end

    def indentify
      "name"
    end

    def default_options 
      {
        :name => nil,
        :key_ => nil,
        :hostid => nil,
        :delay => 60,
        :history => 60,
        :status => 0,
        :type => 7,
        :snmp_community => '',
        :snmp_oid => '',
        :value_type => 3,
        :data_type => 0,
        :trapper_hosts => 'localhost',
        :snmp_port => 161,
        :units => '',
        :multiplier => 0,
        :delta => 0,
        :snmpv3_securityname => '',
        :snmpv3_securitylevel => 0,
        :snmpv3_authpassphrase => '',
        :snmpv3_privpassphrase => '',
        :formula => 0,
        :trends => 365,
        :logtimefmt => '',
        :valuemapid => 0,
        :delay_flex => '',
        :authtype => 0,
        :username => '',
        :password => '',
        :publickey => '',
        :privatekey => '',
        :params => '',
        :ipmi_sensor => ''
      }
    end

  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
zabbixapi-0.6.6 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.6.4 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.6.3 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.6.2 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.6.1 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.6.0 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.9 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.8 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.7 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.3b7u lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.6 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.4 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.3b7 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.3b6 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.3b5 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.3b4 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.3b3 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.3b2 lib/zabbixapi/2.0/classes/items.rb
zabbixapi-0.5.3b1 lib/zabbixapi/2.0/classes/items.rb