I'm trying to find a PowerShell script to update Network Interface Bandwidth Utilization thresholds for specific interfaces.
I found data in Orion.NPM.InPercentUtilizationThreshold and Orion.NPM.OutPercentUtilizationThreshold where the InstanceID is the same as the InterfaceID and those tables have the Level1value and Level2value for the warning and critical threshold levels. The URI value in these tables is NULL. I also found the Orion.Thresholds table that also uses InstanceID the same as the InterfaceID. The Orion.Thresholds table also has the EntityType of Orion.NPM.Interfaces and a InstanceType field that has the Orion.NPM.InPercentUtilizationThreshold and Orion.NPM.OutPercentUtilizationThreshold listed. Neither of these tables have a URI value with information in it.
In other PowerShell script i created that updated SolarWinds data, I have used a URI value to ensure that only the items i wanted updated were change.
What table needs to be updated to modify the receive and transmit utilization thresholds?
What is the command to use for the setting the new values.
I don't have access to a lab or test devices, so I am very cautious when creating and testing any type of script.
Does anyone have an example of a PowerShell script to update the interface bandwidth utilization thresholds that I can use as a reference?
Any guidance is always greatly appreciated.