设备状态检查

Microsoft.SystemCenter.NetworkDevice.CheckDeviceStatus (UnitMonitor)

此监视器检查设备的状态。

Knowledge Base article:

摘要

当前正在监视的设备不响应对设备的系统名称执行的 SNMP GET。

原因

此监视器配置为获取此设备的系统名称,但是为空。以下是通过 SNMP GET 查询到的对象标识符 (OID) 的详细信息

符号名称

OID

描述

iso.org.dod.internet.mgmt.mib-2.system.sysName

.1.3.6.1.2.1.1.5.0

此受管节点的管理性分配名称。按照惯例,这是节点的完全限定的域名。

此项在 RFC 1213 中定义

出现这种情况有下列原因:

解决方法

以下是确定设备是否已脱机的一些基本疑难解答步骤

Ping 目标设备。如果设备不可 ping,则设备可能已脱机,或者可能有防火墙阻止 ICMP 通信。

如果 ping 设备成功,则尝试确保具有设备的正确团体字符串。需要与网络管理员联系以获得此设备的团体字符串。

Element properties:

TargetMicrosoft.SystemCenter.NetworkDevice
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.SystemCenter.NetworkDevice.CheckDeviceState
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.NetworkDevice.CheckDeviceStatus" Accessibility="Public" Target="Microsoft.SystemCenter.NetworkDevice" Enabled="true" TypeID="Microsoft.SystemCenter.NetworkDevice.CheckDeviceState" ParentMonitorID="Health!System.Health.AvailabilityState">
<Category>PerformanceHealth</Category>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="DeviceUp" ID="Success"/>
<OperationalState HealthState="Error" MonitorTypeStateID="DeviceDown" ID="Error"/>
</OperationalStates>
<Configuration>
<Interval>120</Interval>
<IsWriteAction>false</IsWriteAction>
<IP>$Target/Property[Type="Microsoft.SystemCenter.NetworkDevice"]/IPAddress$</IP>
<CommunityString>$Target/Property[Type="Microsoft.SystemCenter.NetworkDevice"]/CommunityString$</CommunityString>
<Version>$Target/Property[Type="Microsoft.SystemCenter.NetworkDevice"]/Version$</Version>
<SnmpVarBinds>
<SnmpVarBind>
<OID>.1.3.6.1.2.1.1.5.0</OID>
<Syntax>1</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
</SnmpVarBinds>
</Configuration>
</UnitMonitor>