RE: registering same oid twice with different context and single (same)callback function (var_*) from one agentx subagent

2006-08-29 Thread Jayaprakasha Guddenahalli Naganna
Yes I am using older v4 UCD-style module API and hard coded the different context name for two instances of same OID while filling register pdu for testing purpose. >> By using the above technique can I support multiple instance of same OID by >> passing context name . >Yes >> ..

Re: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

2006-08-29 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > Please provide help/pointers to enable Net-SNMP IPv6 support on Solaris 9. Thanks for providing a proper problem report. A few more things to check (and report back): 1) grep -i inet6 include/net-snmp/net-snmp-config.h 2) net-snmp-config --cflags 3) lsof -p (if you don

Bug in clientaddr handling for snmpd.

2006-08-29 Thread Len Sorensen
I have been trying to get the clientaddr setting to work as the source for traps for a while and I think I have finally figured out why it never works. Here is some selected lines from a full debug log: read_config: /etc/snmp/snmp.conf:1 examining: clientAddr 11.11.11.11 netsnmp_udp: open remote

Re: DateAndTime conversion

2006-08-29 Thread Dave Shield
On 29/08/06, <[EMAIL PROTECTED]> wrote: > In mib2c.old-api.conf approach ( 5.2.1 version in Fedora ), for > DateAndTime OIDs, I am retuning the value as > > return (u_char *) "1970-1-1,0:0:0.0,-0:0"; No - that's not correct. Please read the description of DateAndTime in SNM

Re: registering same oid twice with different context and single (same)callback function (var_*) from one agentx subagent

2006-08-29 Thread Dave Shield
On 29/08/06, Jayaprakasha Guddenahalli Naganna <[EMAIL PROTECTED]> wrote: > I am able to register same oid twice with different context and single > (same) callback function (var_*) from one agentx subagent. Correct. That's the purpose of the context field. > By using the above technique can I s

RE: registering same oid twice with different context and single (same)callback function (var_*) from one agentx subagent

2006-08-29 Thread Jayaprakasha Guddenahalli Naganna
Hi Dave,     Can you please answer to my doubts? Thanks and Regards -JP   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayaprakasha Guddenahalli Naganna Sent: Tuesday, August 29, 2006 6:49 PM To: [email protected] Subject: registeri

DateAndTime conversion

2006-08-29 Thread santhosh.sundarasamy
Title: DateAndTime conversion Hi     In mib2c.old-api.conf approach ( 5.2.1 version in Fedora ), for DateAndTime OIDs, I am retuning the value as         return (u_char *) “1970-1-1,0:0:0.0,-0:0”;     in var_myOID() function, when I do get on this OID I am getting some dif

registering same oid twice with different context and single (same) callback function (var_*) from one agentx subagent

2006-08-29 Thread Jayaprakasha Guddenahalli Naganna
Hi all,   I am able to register same oid twice with different context and single (same) callback function (var_*) from one agentx subagent.   To walk through those OID I have used snmp v3 with contexts.   I am successfully able to walk through the OID using two different contexts. (D

IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

2006-08-29 Thread rahul_k_sharma
Hi All, We are not able to enable IPv6 support on Solaris 9 when building Net-SNMP_5.3.1 The software versions we are using are as follows 1) Net-SNMP 5.3.1 2) GCC 3.3 3) Solaris 5.9 The steps we are following are as follows 1) Running configure ./configure --prefix=/net/tc

Data setting into the configuration file.

2006-08-29 Thread Siva Prakash Reddy G
Title: Message    Hi!     When I say set, the value should set in to the structure as well as in snmpd.conf, How can i do this.

some questions of cross complier for net snmp 5.3.1

2006-08-29 Thread 陳建國
Hi,    I have some questions of cross complier for net-snmp-5.3.1.    My cpu of target broad is arm and I only need snmpv3.    So, I use those parameters as follows:    ./configure --host=arm --target=arm --enable-mini-agent --disable-manuals --d