[SNMP4J] Write Only Variables

Mike Nuss nmx at fromtheshadows.net
Tue May 1 02:57:32 CEST 2007


Hi Nidhin,

Write-only objects are obsoleted in SMIv2. They should not be used.

Mike

nidhin wrote:
> Hi,
>    
>   I would like to know what error type should be thrown from the agent for V2 get requests if the node is a write only columnar node. Is the below test result correct or wrong?
>    
>    
>    
>   Please find below the test result.
>    
>   # Test Results:     A response value contained an error type 
> #                   (NoSuchInstance) other than NoSuchObject. 
> # Test Rating:      POOR
> # Message Exchange:
> # 
> # (Tue Apr 17 15:51:57 2007):
> # Get Request:  Version = SNMPv2c, Community = private
> # Request Id = 1194, Error Status = No Error , Error Index = 0
> # Oid1 = cpcControllerCommand , Type = NULL, Value = NULL
> # 
> # (Tue Apr 17 15:51:57 2007):
> # Response:  Version = SNMPv2c, Community = private
> # Request Id = 1194, Error Status = No Error , Error Index = 0
> # Oid1 = cpcControllerCommand , Type = NoSuchInstance, Value = NULL
>
>   where cpcControllerCommand is a write-only variable.
>    
>   Regards
>   Nidhin
>
>        
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
>  Check outnew cars at Yahoo! Autos.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>   




More information about the SNMP4J mailing list