So do the queries get serialized (one serviced at a time)?
Dave Shield escribió:
On 13/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
Yet another question: does the iterator code get executed in multiple
threads, that is, do I have to take care about mutual exclusion
Yet another question: does the iterator code get executed in multiple
threads, that is, do I have to take care about mutual exclusion while
accessing data structures for example?
Sebastian-
Sebastian Bello escribió:
Sorry, I apologize to all, my fault! A bug in my code! :(
Thanks for
ther header files written in C
};
...
// Class declarations
Regards,
Chino
On 9/11/06, Sebastian Bello <[EMAIL PROTECTED]>
wrote:
Hi all,
how do I extend the agent with a .so using C++?
I tried using the following changes in addition to compiling with g++:
extern
Aha, thanks Dave.
Sebastian-
Dave Shield escribió:
On 11/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
does it make sense to have a single machine concentrating the
information of all of them?
Yes - particularly if the various systems are presented
ebastian-
Sebastian Bello escribió:
> Thanks to all!
>
> Dave Shield escribió:
>> On 07/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
>>> 2- ok, so I just should choose a version?
>>
>> If you are writing a MIB, you should use SMIv2 (i.e. NOTIFICATION
Sorry, I apologize to all, my fault! A bug in my code! :(
Thanks for the assistance!
Sebastian-
Dave Shield escribió:
On 11/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
Returning NULL isn't working for me; even the following code crashes snmpd
(it shoul
index_data,
netsnmp_iterator_info *mydata)
{
return NULL;
}
Sebastian-
Dave Shield escribió:
On 11/09/06, Sebastian Bello <[EMAIL PROTECTED]>
wrote:
In the "End of table" code portion, how
should the function return
Hi all,
how do I extend the agent with a .so using C++?
I tried using the following changes in addition to compiling with g++:
extern "C" {
void init_mo(void);
void initialize_table_moTable(void);
Netsnmp_Node_Handler moTable_handler;
Netsnmp_First_Data_Point moTable_get_first_data_point;
Index,
sizeof(entry->moIndex));
vptr = vptr->next_variable;
return put_index_data;
}
In the "End of table" code portion, how should the function return(the
iterator should end, no more entries are available)? My .so is crashing
snmpd...
Thanks,
Sebastian-
Sebast
Thanks to all!
Dave Shield escribió:
> On 07/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
>> 2- ok, so I just should choose a version?
>
> If you are writing a MIB, you should use SMIv2 (i.e. NOTIFICATION-TYPE).
> There is no reason for using SMIv1 any more, unles
Thanks Dave!
Dave Shield escribió:
> On 07/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
>> 1- the data from the MIB table will be collected periodically from other
>> processes, and be probably cached for some time; is table_iterator the
>> right choice?
>
>
Any hint on this?
Sebastian Bello escribió:
> Hi all,
>
> I'm trying to implement a table using mib2c with 'mib2c.iterate.conf'.
> I read the doc from 'table_iterator.c' but still have some questions:
>
> 1- the data from the MIB table will be collecte
and mib2 and query mach2 for mib1 and
mib3, is this a good approach?
Subrahmanya Hegde escribió:
Please refer my comments inline
Subra
Sebastian Bello <[EMAIL PROTECTED]> wrote:
Hi,
does anybody know of a tutorial for writing MIBS?
I'm looking for some doc to a
Hi,
I have an application which is composed of some binaries running on
different machines. These binaries generate the information to be
reported through SNMP, for example number of messages sent.
Some questions:
1- I'm thinking of extending the agent with a .so, is this the right
approach?
2-
Hi all,
I'm trying to implement a table using mib2c with 'mib2c.iterate.conf'.
I read the doc from 'table_iterator.c' but still have some questions:
1- the data from the MIB table will be collected periodically from other
processes, and be probably cached for some time; is table_iterator the
ri
Hi,
does anybody know of a tutorial for writing MIBS?
I'm looking for some doc to answer these questions:
1- can I have TRAPs and NOTIFICATIONs in the same MIB?
2- if I don't know whether an NMS will support both, which version
should my application send?
3- what are groups for?
4- I have some bi
Thanks Thomas. Where can I get the RPMs for a RHEL 4?
Sebastian-
Thomas Anders escribió:
Sebastian Bello wrote:
I'm writing a MIB which contains some variables and traps.
What would be an easy way to "compile" it, i.e. to perform a primary
synt
List,
I'm writing a MIB which contains some variables and traps.
What would be an easy way to "compile" it, i.e. to perform a primary
syntax verification? snmptranslate? Any other tool?
Thanks,
Sebastian-
-
Using Tomcat b
Thanks Dave!
Dave Shield escribió:
> On 28/08/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
>> I have used the code in snmptrap to send a trap, but
>>
>> 1- it doesn't use send_trap_vars nor send_easy_trap (just init_snmp,
>> snmp_open, snmp_pdu_create, s
ed to send
the traps, is this right?
Thanks,
Sebastian-
Sebastian Bello escribió:
> Hi list,
>
> I want to send v1 traps from my C/C++ application using Net-SNMP. I've
> been reading the documentation but am a bit confused. Maybe someone can
> give me some hint:
>
Hi list,
I want to send v1 traps from my C/C++ application using Net-SNMP. I've
been reading the documentation but am a bit confused. Maybe someone can
give me some hint:
- where can I find a simple code example on how to send a trap?
- do I need the full Net-SNMP installed?
- do I need to creat
21 matches
Mail list logo