Thank you, Other question: I try to execute the examples, data_set, delayed_instance, etc Each time I modify something I must launch configure, make clean, make and make install?
Anycase, I want to do this: I want to modify the value of a variable of a MIB each second (the information queue is not important, suppose that is the temperature). I see the file data_set and the function init_data_set. First question: how I know that when I launch ./agent/snmpd -f -L -d -p 9999 -Dexample_data_set the init (init_data_set) function is executed? Yesterday I saw the traces: example_data_set: Initalizing example dataset table example_data_set: Done initializing. But today not, making apparently the same (after configure, make, make install and adding easy traces) Second question: if I want to modify the value of the row 1 in the table(that is, the values "Russ Mundy" and "David Harrington") each second: I should use the function void netsnmp_table_dataset_replace_row? In the init function with a while every second? In other way? In other process? Thank you, Enrique Gómez -----Mensaje original----- De: Dave Shield [mailto:[email protected]] Enviado el: lunes, 30 de marzo de 2009 11:54 Para: Gómez González, Enrique CC: Magnus Fromreide; [email protected] Asunto: Re: I obtain that with make install 2009/3/30 "Gómez González, Enrique" <[email protected]>: > You told me that I should recompile, I copy the functions from > mibgroup/notification/snmpNotifyFilterProfileTable.c to > mibgroup/notification/snmpNotifyTable.c? No - it's probably not sensible to copy these functions across. You'd probably end up including the whole of the filter table code in the notify table file. A better approach would be to protect these routines so that they were only invoked *if* the filter table had been included. Dave
------------------------------------------------------------------------------
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
