Sha256: f97ebbd748056fd55b74e8956bf22c16c4d57550ddf748f6fd4dc2664c60a07c

Contents?: true

Size: 229 Bytes

Versions: 10

Compression:

Stored size: 229 Bytes

Contents

module SampleDiscover
  extend self

  def discover(*args)
    interface = args[0]
    [ "sample.discover", "{\"{#SAMPLE}\": \"#{interface}\"}" ]
  end

end

ZabbixRubyClient::Plugins.register('sample_discover', SampleDiscover)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zabbix-ruby-client-0.1.3 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.1.2 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.1.1 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.1.0 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.0.23 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.0.22 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.0.21 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.0.20 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.0.19 spec/files/plugins/sample_discover.rb
zabbix-ruby-client-0.0.18 spec/files/plugins/sample_discover.rb