Icinga / icinga-powershell-hyperv

A collection of Hyper-V plugins for the Icinga Powershell Framework
GNU General Public License v2.0
5 stars 0 forks source link

HyperVHealth - Feature: add service "SCVMMAgent" to the health-scope #31

Closed K0nne closed 3 years ago

K0nne commented 3 years ago

Hello,

please add the service "SCVMMAgent" (System Center Virtual Machine Manager Agent) to the scope of this check. According to my coleages this service is critical. When this service fails the affected machine cant be managed by scvmm anymore.

K0nne commented 3 years ago

Right now this is a blind spot. If the service is deactivated the checks HyperVSnapshot and HyperVVMHealth are switching to unknown ([UNKNOWN]: Icinga Permission Error was thrown: : Hyper-V access denied)

K0nne commented 3 years ago

From my observations of the past few months this feature is useful, because this service is essential. It should belong to the scope of this check. When a hyperv host is running empty this service is stopped, otherwise it must be running. Right now I check this service with Invoke-IcingaCheckService in one call along with other services and in case of running empty the check goes to critical because of this. Within Invoke-IcingaCheckHyperVVMHealth this state can be detected.