Hi,
What I do is pun the header files in "extern "C" block:
extern "C" {
#include
#include
#include
// other 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
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 to the outside
world as a single entity.
Consider a parallel compute farm. The external man
In the scenario detailed in a previous mail:
"...my application is a set of binaries, say bin1, bin2, ..., binN; lets
imagine machine mach1 runs bin1 and bin2, and mach2 runs bin1 and bin3; so
maybe the solution is to have mib1 for bin1, mib2 for bin2 and so on,
and query mach1 for mib1 and mib2
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 shouldn't, right?):
On 11/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Will you be interested about my sample and my MIB?
Not at the moment.
We've got solid conferences all this week, and then into the chaos of
the start of the new academic year. I *might* be able to get a
preliminary table_row helper into the
Hi Dave,
OK for me.
Will you be interested about my sample and my MIB?
I can send it to you directly if you want.
Arnaud.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the
On 11/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
>
> Returning NULL isn't working for me; even the following code crashes snmpd
> (it shouldn't, right?):
It shouldn't - no.
Try running the agent under a debugger, and see where it falls over.
> netsnmp_variable_list *moTable_get_first_da
Returning NULL isn't working for me; even the following code crashes
snmpd (it shouldn't, right?):
netsnmp_variable_list
*moTable_get_first_data_point(void **my_loop_context, void
**my_data_context,
netsnmp_variable_list *put_index_data,
nets
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;
On 11/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
> In the "End of table" code portion, how should the function return
NULL.
Dave
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff d
An additional question. Consider the following code:
netsnmp_variable_list *moTable_get_next_data_point(void
**my_loop_context, void **my_data_context,
netsnmp_variable_list *put_index_data,
netsnmp_iterator_info *mydata)
{
netsnmp_variable
Hello list,
We are using
NET-SNMP-5.2.2 in subagent code. We saw subagent crashed when agent is
crashed. Reason seems to be that, in _sess_read(), FD_ISSET() is
crashed.
Following is the
code snippet:
file:
net-snmp-5.2.2/snmplib/snmp_api.c
_sess_read()
{
.
Hello list,
We are using
NET-SNMP-5.2.2, and we have a subagent (linked with NET-SNMP-5.2.2
libraries). When the subagent closes the session, while a Manager is
walking on the MIBs supported by it, we are seeing SNMPD crash. Following
is the stack trace of it.
#0
netsnmp_call_hand
Hi
Let me give some more detail about problem I am facing.
I am using net-snmp-5.3.0.1 our subagent is implemented using JAX. In
ipv4 if I use ./snmpget -v2c -c public localhost (oid name implemented
using jax) it works correctly
But if I give ./snmpwalk -v2c -c public {ipv6 address} oid (jax
s
Hi Dave
My snmpd.conf file is as below
rocommunity6 public
com2sec6 readonly default public
group MyROGroup6 v2c readonly
view allincluded .1 80
access MyROGroup6 "" any noauth include all all none
master agentx
My subagent is in JAX I ran the command snmpd -f
On 10/09/06, Vernekar, Ramakrishna Kashinath
<[EMAIL PROTECTED]> wrote:
> if i use ./snmpwalk -v2c -c public{ipv4address}OID it works fine.
> but if i give ./snmpwalk -v2c -c public {ipv6 address}OID
>
> IT SHOWS No Such Object available on this agent atthis OID
That sounds like access contro
16 matches
Mail list logo