Skip to content

Commit

Permalink
Merge pull request #2 from tacerus/itemerror
Browse files Browse the repository at this point in the history
Store item errors
  • Loading branch information
fabiang authored Feb 21, 2025
2 parents 8650f47 + 99be355 commit 58cbd35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions item.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ package zabbix
//
// See: https://www.zabbix.com/documentation/4.0/manual/api/reference/item/object
type Item struct {
// Error is the error text indicating any problems with updating the item.
Error string `json:"error,omitempty"`

// HostID is the unique ID of the Host.
HostID string `json:"hostid,omitempty"`

Expand Down

0 comments on commit 58cbd35

Please sign in to comment.