Module: Zabbix

Extended by:
ActiveSupport::Concern
Defined in:
lib/zabbix-rails.rb,
lib/zabbix/chart.rb,
lib/zabbix/engine.rb,
lib/zabbix/version.rb,
lib/zabbix/connector.rb,
lib/zabbix/dns_monitor.rb,
lib/zabbix/host_monitor.rb,
lib/zabbix/item_trigger.rb

Defined Under Namespace

Modules: Chart, Connector, DnsMonitor, HostMonitor, ItemTrigger Classes: Engine

Constant Summary collapse

VERSION =
"0.2.6"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.debugObject

Returns the value of attribute debug.



19
20
21
# File 'lib/zabbix-rails.rb', line 19

def debug
  @debug
end

.passwordObject

Returns the value of attribute password.



19
20
21
# File 'lib/zabbix-rails.rb', line 19

def password
  @password
end

.urlObject

Returns the value of attribute url.



19
20
21
# File 'lib/zabbix-rails.rb', line 19

def url
  @url
end

.userObject

Returns the value of attribute user.



19
20
21
# File 'lib/zabbix-rails.rb', line 19

def user
  @user
end

Class Method Details

.config {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Zabbix)

    the object that the method was called on



21
22
23
# File 'lib/zabbix-rails.rb', line 21

def config
  yield self
end