Our default PerferredCiscoMIB is CISCO-ENTITY-SENSOR-MIB, which is the platform default. We have found that our new Cisco 9200 models are showing temperature warnings with that MIB, but switching to CISCO-ENVMON-MIB doesn't show the warning error.
Is there a way to auto-assign the other CISCO-ENVMON-MIB based on a specific model? I have a SWQL query that I can use if there is a way to determine if the PerferredCiscoMIB is assigned. I am looking for a way to set this via the REST API. SELECT N.NodeID, N.Caption, N.IPAddress,
N.MachineType,
N.HardwareHealthInfos.Model,
N.IOSVersion,
(SELECT SettingValue FROM Orion.NodeSettings WHERE (NodeID = N.NodeID AND SettingName = 'HardwareHealth.PreferredCiscoMIB')) AS PreferredCiscoMIB
FROM Orion.Nodes AS N
WHERE N.Category = 1
AND N.HardwareHealthInfos.Model like 'C9200CX-12P-2X2G'
AND N.Vendor = 'Cisco'
ORDER BY N.Caption