-
Patch request
-
Resolution: Unresolved
-
Trivial
-
None
-
None
Steps to reproduce:
- An host is supervised with the VMware Guest template (by discovery and it works)
- Restart this host but turn it off in less than 10min
Result:
"VM has been restarted" trigger is fired, and remains until that host is active for more than 10min
Expected:
Don't trigger if the host is turned off
Current trigger expression:
last(/VMware Guest/vmware.vm.guest.osuptime[\{$VMWARE.URL},\{$VMWARE.VM.UUID}])<10m
Intended expression:
last(/VMware Guest/vmware.vm.guest.osuptime[\{$VMWARE.URL},\{$VMWARE.VM.UUID}])<10m
and
last(/VMware Guest/vmware.vm.powerstate[\{$VMWARE.URL},\{$VMWARE.VM.UUID}])=1