nfs-server-test-return-code

CLJ8550-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.1.13.3.2.1.4

Object

scalar optional r/w OctetString
This test object that will not be supported in any
released product.  Setting this object allows the next
NFS call return code to be specified.  The POS will
specify the binary format.
Additional information:
A three byte binary value. The first byte indicates what 
	procedure is being effected by this set.  
	value | function  
	------+------------------  
	  1   | GetAttr  
	  2   | SetAttr  
	  3   | reserved  
	  4   | Lookup  
	  5   | reserved  
	  6   | Read  
	  7   | reserved  
	  8   | Write  
	  9   | Create  
	  10  | Remove  
	  11  | Rename  
	  12  | reserved  
	  13  | reserved  
	  14  | MkDir  
	  15  | RmDir  
	  16  | ReadDir  
	  17  | StatFS  
	The second byte is the stat value returned by the next call to 
	procedure specified by the value of the first byte. The second
	byte can not be zero. Refer to RFC 1094 for a list of stat values.
	The third byte indicates which call to the specified file system
	routine will fail. A value of one means the first call will fail.
	A value of two means the second call will fail, and so on. 
	Writing this boject causes any previous write to this boject to 
	be invalidated.

Context

MIB
CLJ8550-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.1.13.3.2.1.4
Type
scalar
Access
readwrite
Status
optional
Parent
settings-nfs-server

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CLJ8550-MIB::nfs-server-test-return-code.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CLJ8550-MIB::nfs-server-test-return-code'

Syntax

OctetString

Values & Constraints

No enumerated values or constraints recorded.