Service 具有动态AlertSeverity的SCOM服务UniMonitor

Service 具有动态AlertSeverity的SCOM服务UniMonitor,service,monitor,scom,management-pack,Service,Monitor,Scom,Management Pack,我已定义CheckNTServiceStateMonitorType类型的UnitMonitor。此监视器的AlertSeverity取决于被监视类的属性,因此它是动态指定的。 但是,我无法找到动态设置AlertSeverity的方法。例如: <AlertSettings> <AlertSeverity> $Target/Property[MyMonitoredClass]/AlertSeverity$ <AlertSeveri

我已定义CheckNTServiceStateMonitorType类型的UnitMonitor。此监视器的AlertSeverity取决于被监视类的属性,因此它是动态指定的。 但是,我无法找到动态设置AlertSeverity的方法。例如:

<AlertSettings>
     <AlertSeverity>
         $Target/Property[MyMonitoredClass]/AlertSeverity$
     <AlertSeverity>
</AlertSettings>

$Target/Property[MyMonitoredClass]/AlertSeverity$

有什么方法可以做到这一点吗?

对于单元监视器,您无法做到这一点。此功能仅适用于规则

干杯
Max

谢谢你提供的信息