Hi

 

   I have one property MIB scalar of data type defined as "unsigned int". I had instrumented code for this scalar. In the code to set value for that scalar attribute i am getting it from requests->agent_req_info->asp->pdu->variables->val.integer.

 

    When snmpset gives values less than 2 to the power 31, i am getting set value in my code correctly. if it is greater then that limit the value i received is junk.

 

    Since my mib is definied as "unsiged" int, i should able to get values upto 2 to the power 32.

 

i had tried other variables in requests->agent_req_info->asp->pdu->variables->val union (like counter64, doubleVal .. ) all are returning the same value.

 

   How i can get more than " 2 to the power 31 " value range? i have to refer some other varible for set value or  i have to change my mib definition ( data type of the scalar to other type, like counter...) ?

 

 

regards

Siddesh

Reply via email to