1.我目前正在配置门限传感器的告警门限,在我配置轻微告警门限值后,在web界面中查询门限值为0,使用busctl查资源树也为0,我在定制化仓中的配置,
“ThresholdSensor_Bcu12v1”: {
“AssertMask”: 12933,
“DeassertMask”: 12933,
“ReadingMask”: 6939,
“UpperNoncritical”: 198,
“LowerNonCritical”: 198
}
原配置文件中的配置为:
“ThresholdSensor_Bcu12v1”: {
“AssertMask”: 516,
“DeassertMask”: 516,
“ReadingMask”: 4626,
“M”: 6,
“RBExp”: 224,
“UpperCritical”: 220,
“LowerCritical”: 180,
“PositiveHysteresis”: 4,
“NegativeHysteresis”: 4
}
我用bustcl查询资源树上的属性,发现LowerNonCritical为0
bmc.kepler.Object.Properties interface - - -
.GetAllWithContext method a{ss}s a{sv} -
.GetOptions method a{ss}ss a{ss} -
.GetPrivateProperties method a{ss} s -
.GetPropertiesByNames method a{ss}sas a{sv}a{sv} -
.GetPropertiesByOptions method a{ss}sa{ss} as -
.GetPropertyDetail method a{ss}ss s -
.GetWithContext method a{ss}ss v -
.SetWithContext method a{ss}ssv - -
.ClassName property s “ThresholdSensor” emits-change
.ObjectIdentifier property (ysss) 1 “1” “1” “010101” emits-change
.ObjectName property s “ThresholdSensor_Bcu12v1_010101” emits-change
bmc.kepler.Systems.ThresholdSensor interface - - -
.Capabilities property y 232 const
.EntityId property y 7 -
.EntityInstance property y 100 -
.LowerCritical property y 180 emits-change
.LowerNoncritical property y 0 emits-change
.LowerNonrecoverable property y 0 emits-change
.NegativeHysteresis property y 4 emits-change
.OriginalReading property d 0 -
.OwnerLun property y 0 emits-change
.PositiveHysteresis property y 4 emits-change
.Reading property y 205 emits-change
.ReadingMask property q 6939 const
.ReadingStatus property y 0 -
.SensorIdentifier property s “” const
.SensorName property s “BCU1 VCC_12V0_1” emits-change
.SensorNumber property y 86 -
.SensorType property y 2 const
.UpperCritical property y 220 emits-change
.UpperNoncritical property y 198 emits-change
.UpperNonrecoverable property y 0 emits-change
bmc.kepler.Systems.ThresholdSensorDisplay interface - - -
.AssertStatus property q 128 -
.Health property s “Minor” emits-change
.LowerCriticalDisplay property s “10.800” -
.LowerNoncriticalDisplay property s “0.000” -
.LowerNonrecoverableDisplay property s “0.000” -
.NegativeHysteresisDisplay property s “0.240” -
.PositiveHysteresisDisplay property s “0.240” -
.ReadingDisplay property s “12.300” writable
.Status property s “Enabled” -
.UnitDisplay property s “Volts” const
.UpperCriticalDisplay property s “13.200” -
.UpperNoncriticalDisplay property s “11.880” -
.UpperNonrecoverableDisplay property s “0.000” -
麻烦问下还需要配置什么其他属性么
2.也是在配置传感器中UpperCritical属性我定制成130后,web界面读值为-126,为什么会进行反转呢,有什么方法可以避免呢,感谢
“ThresholdSensor_Cpu1NaDvddTemp”: {
“AssertMask”: 640,
“DeassertMask”: 12928,
“ReadingMask”: 6168,
“UpperNoncritical”: 125,
“UpperCritical”: 130
}
