Garry Grimes <grimesg@ul.ie> said:
Garry> I have developed a small mib and software to supply its values.
Garry> After setting up an agent session and loading the mib I can then
Garry> instantiate the objects. This appears to be as it should and the
Garry> mib oid command returns the correct identifier sequence.
Garry> Now when I perform a get operation it is necessary to
Garry> provide the whole sequence, ie. <snmp0 get 1.3.6.1.4.1.317.500.9.0>
Garry> instead of just <snmp0 get action.0> as can be done with the tubs.mib.
Garry> Is this the way it always works ? Or is there a way I can just specify
Garry> the 'short-cut' name in operations ?
I assume that you are using two scotty processes, one for the agent
and one to send get requests. Make sure that you have loaded the MIB
definition in both processes. (Set the global scotty_mibs variable
accordingly if you use some scotty scripts, e.g. mibtree.) If you are
able to lookup the oid, everything should be fine and you should be
able to use the label instead of the oid. Note however that the label
action = 1.3.6.1.4.1.317.500.9 may conflict with other definitions
that use the same label. In this case, scotty will resolve the label
action to the first definition in the MIB tree.
Juergen