From 7a4bc0b5d6fea7f8d036b36279564dc065e74301 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 13 Oct 2024 00:57:29 -0500 Subject: track hypervisor daemon kill count Signed-off-by: Jeff Carr --- structs.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 02d1b7f..7d9d2cc 100644 --- a/structs.go +++ b/structs.go @@ -23,12 +23,13 @@ type virtigoT struct { // the stuff that is needed for a hypervisor type HyperT struct { - Hostname string // the hypervisor hostname - Scan func() // the function to run to scan the hypervisor - Autoscan bool // to scan or not to scan - Delay time.Duration // how often to poll the hypervisor - Dog *time.Ticker // the watchdog timer itself - lastpoll time.Time // the last time the hypervisor polled + Hostname string // the hypervisor hostname + Scan func() // the function to run to scan the hypervisor + Autoscan bool // to scan or not to scan + Delay time.Duration // how often to poll the hypervisor + Dog *time.Ticker // the watchdog timer itself + lastpoll time.Time // the last time the hypervisor polled + killcount int } // the stuff that is needed for a hypervisor -- cgit v1.2.3