Skip to content
Snippets Groups Projects
Commit 915e2ca2 authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

userspace/snmpd: change order of branches in MIB


No technical change.

Change location of branch wrSwitchMIB.wrsStatus from high number (256) to
low (6), then move wrSwitchMIB.wrsEpertStatus to (7).
At the beginning wrsStatus branch was placed at high number because objects
from that branch might use several other objects to calculate their own value.
For example, there was a risk that query of wrsMainSystemStatus triggers
cascade of time consuming cache fills and snmpget timeouts. However, practice
shown that cache filling is significantly shorter that SNMP transfers.
Additionally, such risk was possible in case of snmpwalk or other method
querying objects in order.

Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent ee61b29a
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment