[AGENT++] How to use prepare_set_request

amine mohamed med_amine007 at hotmail.fr
Tue May 14 16:02:59 CEST 2013


Hi,
i want to use  prepare_set_request but i didn't find any example .
what i tied to do is to set a variable from my agent.

this is a part of the code 

mib->get_default_context()->find("1.3.6.1.4.1.12454.2.1.1.1.0",m);
  
    //m->reset(); this request work ;the initial value of my oid is 2 and when i add this line i had 1 
//what i'm trying is to change this value to another number
  
    m->prepare_set_request();


thanks a lot

Regadrs
 		 	   		  


More information about the AGENTPP mailing list