Commit Diff


commit - 34e59742782b07bf5a86b722b247eeb368e7f013
commit + 001c466e0421fdbaa864cc31ba288f60dc37068a
blob - ce54c7f99a16173ac5b64adfbca9c1329e5c5a4b
blob + f37d14e5e95dac8a319d3ea3c23f5738647bcb9d
--- host.go
+++ host.go
@@ -20,6 +20,8 @@ type Host struct {
 	LastCheck       time.Time   `json:",omitempty"`
 	LastCheckResult CheckResult `json:"last_check_result,omitempty"`
 	Acknowledgement bool        `json:",omitempty"`
+	Notes           string      `json:"notes,omitempty"`
+	NotesURL        string      `json:"notes_url,omitempty"`
 }
 
 type HostGroup struct {
blob - 030bf88aed340fe9a3ce219c7e1af405f844326e
blob + 3d7e59929d514119e17cd7950c391c7d6cf26420
--- service.go
+++ service.go
@@ -25,6 +25,8 @@ type Service struct {
 	LastCheck       time.Time    `json:",omitempty"`
 	LastCheckResult CheckResult  `json:"last_check_result,omitempty"`
 	Acknowledgement bool         `json:",omitempty"`
+	Notes           string       `json:"notes,omitempty"`
+	NotesURL        string       `json:"notes_url,omitempty"`
 }
 
 type CheckResult struct {