Categorygithub.com/Spartan0nix/zabbix-go-sdk/v2
modulepackage
2.1.2
Repository: https://github.com/spartan0nix/zabbix-go-sdk.git
Documentation: pkg.go.dev

# README

zabbix-go-sdk

workflow status

# Functions

GetId is used to retrieve the zabbix id associated with the curent HostInventory field.
NewZabbixService create a new ZabbixService.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Only for map element.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Only for map element.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Only if PropagationRule = ServicePropagationRuleIncrease || ServicePropagationRuleDecrease.
Only if PropagationRule = ServicePropagationRuleIncrease || ServicePropagationRuleDecrease.
Only if PropagationRule = ServicePropagationRuleIncrease || ServicePropagationRuleDecrease.
Only if PropagationRule = ServicePropagationRuleIncrease || ServicePropagationRuleDecrease.
Only if PropagationRule = ServicePropagationRuleAsIs || ServicePropagationRuleIgnore.
No description provided by the author
Only if PropagationRule = ServicePropagationRuleIncrease || ServicePropagationRuleDecrease.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default.
Default.
No description provided by the author
No description provided by the author

# Structs

ApiClient is the default client structure to interact with the Zabbix API.
ApiUser defined the informations needed to authenticate against the Zabbix API and retrieve a API Token.
Request define the body format to interact with the API.
AuthService create a new service to access authentification related methods and functions.
GlobalMacro properties.
GlobalMacroResponse define the server response format for GlobalMacro methods.
No description provided by the author
Host properties.
HostCreateParameters define the properties needed to create a new Host Properties using the 'omitempty' json parameters are optional.
HostGetParameters define the properties used to search Host(s) Properties using the 'omitempty' json parameters are optional.
HostGroup properties.
HostGroupGetParameters define the properties used to search HostGroup(s).
HostGroupId define a representation for certain methods that only requires the 'groupid' property.
HostGroupMassAddParameters define the properties used for the MassAdd method.
HostGroupMassRemoveParameters define the properties used for the MassRemove method.
HostGroupMassUpdateParameters define the properties used for the MassUpdate method.
HostGroupResponse define the server response format for HostGroup methods.
HostGroupService create a new service to access host related methods and functions.
HostId define a representation for certain methods that only requires the 'hostid' property.
HostInterface properties.
No description provided by the author
HostInterface details properties for SNMP interface.
HostInterfaceGetParameters define the properties used to search HostInterface(s) Properties using the 'omitempty' json parameters are optional.
HostInterfaceMassAddParameters define the properties used for the MassAdd method.
HostInterfaceMassAddResponse define the server response format for the MassAdd method.
HostInterfaceMassProperties define the HostInterface properties used for the Mass method.
HostInterfaceMassRemoveParameters define the properties used for the MassRemove method.
HostInterfaceReplaceParameters define the properties used for the ReplaceHostInterfaces method.
HostInterfaceResponse define the server response format for HostInterface methods.
HostInterfaceService create a new service to access hostinterface related methods and functions.
HostInterfaceUpdateParameters define the properties needed for the Update method.
HostMacro properties.
HostMacroResponse define the server response format for HostMacro methods.
No description provided by the author
HostMassAddParameters define the properties used for the MassAdd method.
HostMassRemoveParameters define the properties used for the MassRemove method.
HostMassUpdateParameters define the properties used for the MassUpdate method.
HostReponse define the server response format for Host methods.
HostService create a new service to access host related methods and functions.
HostTag define a tag assignable to an Host.
HostUpdateParameters define the properties needed for the Update method.
IconMap properties.
IconMapCreateParameters define the properties needed to create a new Icon Map.
IconMapGetParameters define the properties used to search IconMaps.
IconMapping define a mapping between an icon and hosts using specific inventory field value.
IconMapCreateParameters define the properties needed to create a new Icon Mapping.
IconMapResponse define the server response format for IconMap methods.
IconMapService create a new service to access icon map related methods and functions.
IconMapUpdateParameters define the properties used to update IconMaps.
Image properties.
ImageCreateParameters define the properties needed to create a new Image.
ImageGetParameters define the properties used to search Images.
ImageResponse define the server response format for Image methods.
ImageService create a new service to access image related methods and functions.
ImageUpdateParameters define the properties used to update Images.
Map properties.
MapCreateParameters define the properties needed to create a new Map.
MapElement properties.
MapElementHost define the properties of a Host element for a Map.
MapElementHostGroup define the properties of a HostGroup element for a Map.
MapElementMap define the properties of a Map element for a Map.
MapElementTag define the properties of a Tag element for a Map.
MapElementTrigger define the properties of a Trigger element for a Map.
MapElementUrl define the properties of a Url element for a Map.
MapGetParameters define the properties used to search Maps.
MapGetResponse define the server response format for the Map Get method.
Map line properties Some properties are read-only, which means they are only accessible after creation and should not be passed as arguments in other methods.
Map link properties.
Map link trigger properties.
MapResponse define the server response format for Map methods.
MapService create a new service to access map related methods and functions.
Map shape properties Some properties are read-only, which means they are only accessible after creation and should not be passed as arguments in other methods.
IconMapUpdateParameters define the properties used to update IconMaps.
Map user properties Some properties are read-only, which means they are only accessible after creation and should not be passed as arguments in other methods.
Map user group properties Some properties are read-only, which means they are only accessible after creation and should not be passed as arguments in other methods.
Request define the default body format to interact with the API.
Response define the response format returned by the API.
ResponseError define the error format returned in the Response body when a server error occured.
Service properties.
Service Alarm properties.
No description provided by the author
No description provided by the author
No description provided by the author
ServiceGetStatusTimeline defined the format used when searcing service with specified periods.
ServiceGetTags defined the format used for tag search using Get method.
ServiceId define a representation for certain methods that only requires the 'serviceid' property.
Service Problem Tag properties.
ServiceReponse define the server response format for Service methods.
Service Status Rule properties.
Service Tag properties.
No description provided by the author
Template properties.
TemplateCreateParameters define the properties needed to create a new Template Properties using the 'omitempty' json parameters are optional.
TemplateGetParameters define the properties used to search Template(s) Properties using the 'omitempty' json parameters are optional.
TemplateGetResponse define the server response format for Get method.
TemplateId define a representation for certain methods that only requires the 'templateid' property.
TemplateMassAddParameters define the properties used for the MassAdd method.
TemplateMassRemoveParameters define the properties used for the MassRemove method.
TemplateMassUpdateParameters define the properties used for the MassUpdate method.
TemplateResponse define the server response format for Template methods.
TemplateService create a new service to access template related methods and functions.
TemplateTag define a tag assignable to a Template.
TemplateUpdateParameters define the properties needed for the Update method.
Trigger properties.
TriggerCreateParameters define the properties needed to create a new Trigger.
No description provided by the author
TriggerGetParameters define the properties used to search Triggers.
No description provided by the author
TriggerId define a representation for certain methods that only requires the 'triggerid' property.
TriggerResponse define the server response format for Trigger methods.
TriggerService create a new service to access trigger related methods and functions.
TriggerTag define a tag assignable to a Trigger.
TriggerUpdateParameters define the properties used to update Triggers.
UserGroup properties.
No description provided by the author
UserGroupGetParameters define the properties used to search UserGroup(s) Properties using the 'omitempty' json parameters are optional.
UserGroupPermission define a permission assignable to a UserGroup.
UserGroupResponse define the server response format for UserGroup methods.
UserGroupService create a new service to access userGroup related methods and functions.
UserGroupPermission define a tag assignable to a UserGroup.
No description provided by the author
UserMacroGetParameters define the properties used to search Macro(s) Properties using the 'omitempty' json parameters are optional.
UserMacroService create a new service to access macro related methods and functions.
ZabbixService define the base service to interact with API methods.
ZbxService create a new service to access service related methods and functions.

# Type aliases

EvalType define the available evaluation operators.
HostFlag define the origin of the host.
HostGroupInternal define if the HostGroup is internal or not.
HostInterfaceAuthProtocol define the available SNMPv3 authentification protocols.
HostInterfaceAvailability define if the interface is available or not.
HostInterfaceBulkRequest define if bulk request should be used or not.
HostInterfaceMain define if an interface should be used as default or not.
HostInterfacePrivProtocol define the available SNMPv3 encryption (priv) protocols.
HostInterfaceSecurityLevel define the available SNMPv3 security levels.
HostInterfaceType define the available types of interface.
HostInterfaceUseIp define the DNS or IP should be used to connect with the host.
HostInterfaceVersion define the available SNMP versions.
HostInventory define the available inventory modes.
HostInventory define Zabbix id associated with the available inventory modes.
HostInventoryMode define the available inventory modes.
HostIpmiAuthType define the available ipmi auth modes.
HostIpmiPrivilege define the available ipmi privilege modes.
HostMaintenanceStatus define the status of maintenance on the host.
HostMaintenanceType define the type of maintenance of the host.
HostStatus define the available host status.
HostTags define the available evaluation operators when searching hosts with tags.
HostTlsMode define the available TLS modes.
ImageType define the available types of image.
MapAreaType define how hosts from differents HostGroups should be displayed on a Map.
MapBorderType define the available types of border for a map.
MapDrawType define the available type of drawing style for a Map.
MapIconMap define if icon mapping should be used for host elements on a Map.
MapElementType define the available types of map element for a Map.
MapElementViewType define hostGroup element placing algorithm for a Mep.
MapFont define the available type of text font for a map.
MapGridAlignment define if grid alignment should be enabled on a Map.
MapGriShow define the available modes of grid display for a Map.
MapHighlight define the available modes of highlight for a Map.
MapHorizontalAlignment define the available types of text horizontal alignment for a map.
MapHostGroupDisplay define how a hostGroup element should be displayed on a Map.
MapLabelFormat define if advanced label should be used for a Map.
MapLabelLocation define the available locations for a label on a Map.
MapLabelType define the available types of label for element on a Map.
MapLabelTypeHost define the available types of label for host elements on a Map.
MapLabelTypeHostGroup define the available types of label for hostGroup elements on a Map.
MapLabelTypeImage define the available types of label for image element on a Map.
MapLabelTypeMap define the available types of label for map elements on a Map.
MapLabelTypeTrigger define the available types of label for trigger elements on a Map.
MapMacroExpanded define if macros should be expanded on a Map.
MapOperator define the available type of operatior for map operations.
MapPermission define the available type of permissions for a Map.
Expanded define how trigger with problems should be displayed on a Map.
MapSuppressedProblem define the available mode of display for suppressed problems on a Map.
MapProblemUnAck define the available modes of display for non ack problems on a Map.
MapShapeType define the available types of shape for a map.
MapSharing define the available modes of sharing for a Map.
MapVerticalAlignment define the available types of text vertical alignment for a map.
ServiceAlgorithm defined the available type of status calculation rule.
ServiceOperator defined the available type of condition operator.
ServicePropagationRule defined the available type of status propagation rule See : https://www.zabbix.com/documentation/6.0/en/manual/api/reference/service/object#service for more details.
ServicePropagationValue defined the available type of propagation value for a service.
ServiceStatusRule defined the available type of condition for the status rule See : https://www.zabbix.com/documentation/6.0/en/manual/api/reference/service/object#status-rule for more details.
ServiceStatusType defined the available type of status for a service.
ServiceTagOperator defined the available operator when using tag search.
TriggerCorrelationMode define the available type of correlation mode for a trigger.
TriggerFlag define the available type of trigger.
TriggerManualClose define the available type if a trigger can be manually closed.
TriggerRecoveryMode define the available type of recovery mode for a trigger.
TriggerSeverity define the available levels of trigger severity.
TriggerState define the available type of trigger state.
TriggerStatus define the available type of trigger status.
TriggerType define the available type of trigger.
TriggerValue define the available type of value for a trigger.
UserGroupDebugMode define whether debug mode should be enabled or not.
UserGroupGuiAccess define the type of frontend authentification for users in the group.
UserGroupPermissionType define if the available type of permission level.
UserGroupStatus define if the group should be enabled or not.
UserMacroType define the available macro types.