Steps to reproduce:
- Create IPMI monitoring item
- Set sensors name HDD Temp
Result:
sensor or control HDD Temp@[]:623 does not exist
Expected:
item ":hdd.temp" became supported
if check JSON file created by ipmi.get you can see that there are a lot of extra spaces in sensor id, if take this id and create an item it works like expected
{"id":"HDD Temp ","name":"(4.32).HDD Temp ","sensor":\{"type":1,"text":"temperature"}
,"reading":{"type":1,"text":"threshold"},"state":{"state":0,"text":""},"value":18.000000,"units":"C","threshold":{"lower":
{"non_crit":10.000000,"crit":5.000000,"non_recover":5.000000},"upper":{"non_crit":50.000000,"crit":55.000000,"non_recover":60.000000}}},{"id":"AOC_SAS Temp ","name":"(r0.32.46.0).AOC_SAS Temp