class Monitoring::Zabipi

Defined in:

api/Zabipi.cr
zabipi/version.cr

Constant Summary

VERSION = "0.1.8"

Constructors

Instance Method Summary

Constructor Detail

def self.new(apiUrl : String, login : String, password : String, debug : Bool = false, verify_cert : Bool = true, url_auto_adjust : Bool = true, auth_now : Bool = true, zabbix_server = nil) #

[View source]
def self.new(zenv_file : String) #

[View source]

Instance Method Detail

def api_rel_url : String #

[View source]
def api_url : URI #

[View source]
def auth_token : String | Nil #

[View source]
def cmd_id : UInt64 #

[View source]
def debug : Bool #

[View source]
def debug=(debug : Bool) #

[View source]
def do(method : String, pars : Hash | Array | NamedTuple = [] of UInt64) #

[View source]
def maybe_zbx_server : String #

[View source]
def maybe_zbx_server=(maybe_zbx_server : String) #

[View source]
def req(method : String, pars : Hash | Array | NamedTuple = [] of UInt64) #

[View source]
def version : String #

[View source]