[AGENT++] SNMP: Cannot create/set variable, Not Writable

amine mohamed med_amine007 at hotmail.fr
Mon Mar 11 17:39:35 CET 2013


Hi,

when i try to set a variable i get this error :
SNMP: Cannot create/set variable, Not Writable

even if i declared this variable in the mib ACCESS read and write and agentpro have generated 
all the functions :

        virtual void       	get_request(Request*, int);
	virtual long       	get_state();
	virtual void       	set_state(long);
	virtual int        	set(const Vbx&);
	virtual int        	prepare_set_request(Request*, int&);
	virtual int        	commit_set_request(Request*, int);
	virtual void       	cleanup_set_request(Request*, int&);
	virtual int        	undo_set_request(Request*, int&);
	virtual boolean    	value_ok(const Vbx&);

but even with this i always can't set my variable

 		 	   		  


More information about the AGENTPP mailing list