Description:
|
keyInterface OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This object represents a setting key interface. When
setting this object, the value to set is the 'sk' command
you would enter on the command line (without the 'sk'). To
get the result of the operation, read this object after you
write it.
For example, to configure EventSensor 1 contact closure 34
event actions to be an SNMP InformRequest to host foo, set
this object to:
'event.sensor[1].cc[34].eventactions=inform(foo)'. The SNMP
response is the result of the operation: if setting that key
to that value was a success then the SNMP response will be a
success and the response value will be what you had set. If
you subsequently read this object then you will see a
message 'OK: ...'.
If setting that key to that value failed then the SNMP
response will be a failure (a badValue response). If you
subsequently read this object then the value returned is the
reason that setting that key to that value failed.
For another example, to read user 3's pass-through access
for port 7, set this object to:
'sec.user[3].port[7].ptaccess'. The SNMP response is the
result of the operation: if reading that key is a success
then the SNMP response will be a success and the response
value will be what you had SET (i.e., the opertion of
reading a key, which is just the key itself with no '='
operator, and this is not the key value you want to read).
If you subsequently read this object then the value
returned is the value of the key you want to read.
If reading that key failed (e.g., if the key is invalid)
then the SNMP response to your SNMP set operation (the
value you set being the invalid key to read) will be a
failure (a badValue response). If you subsequently read
this object then the value returned is the reason that
reading that key failed (i.e., 'invalid key')."
|
|