ifTable extension

2007-03-30 Thread Pilt
Hi everyone, is it possible to append interfaces to ifTable without modifying the standard code? I mean, can there be another module also registered on ifTable OID, that adds some interfaces to the common ones? Thanks -

create-dataset api

2007-03-03 Thread Pilt
Hi everyone, when using dataset api initialize_table_name() is used to populate the dataset. So for all following requests data will be extracted from this already formed structure. But what if I get some external data into the dataset, which can vary between requests? In old api I called the

2 shared modules, serving 1 OID

2007-02-20 Thread Pilt
Hi all, I need to add a couple of interfaces to the ifMIB which are not automatically recognized so that I would be able to collect statistics for them. Is it possible to extend current if-mib implementation without rewriting the code, provided in net-snmp by default? I mean, can I write

Questions on table_dataset api

2007-02-16 Thread Pilt
Hi everyone, Regarding subhandler in create-dataset.conf template: 1) when the 'reqinfo-mode' is SET, where are the new values of the objects we want to set situated? (I tried to set an Integer32 object and output 'request-requestvb-val.string' and 'request-requestvb-val.integer' with

Table dataset problem

2007-02-09 Thread Pilt
Hello all I'm writing a module based on the create-dataset.conf template. Here's the piece of the code: netsnmp_table_data_set *table_set; // global void initialize_table_commTable(void) { static oid commTable_oid[] = {1,3,6,1,4,1,27142,1,10,1}; size_t

traps - I don't get it

2006-10-26 Thread Pilt
Hi all I don't get the idea of how a subagent can monitor the changes of particular mib objects (and therefore send traps) and respond to get/set requests at the same time. I searched the net-snmp sources for the places, where the traps are sent, but everywhere it's just the processing of set