Re: working with tables...

2008-04-16 Thread Alejandro Islas
Hi Dave, sorry for answering so late, I'd to do something else. I'm still having the same problem.I tried to use mib2c.container.conf file but mib2c wasn't able to found it,so I continue using interate.conf. I have some questions. 1)After using mib2c my .c file only contains create/remove entries f

Re: 5.4.1 won't talk

2008-04-16 Thread Larry Dickson
/etc/edgeware-subagent.pl IS the subagent. I think the "perl do" thing was an attempt to trigger the starting of the subagent from within the running of the agent via the the snmpd.conf file; but now we trigger snmpd and edgeware-subagent.pl in sequence, each explicitly in the Linux startup script.

Re: 5.4.1 won't talk

2008-04-16 Thread Dave Shield
On 16/04/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: > the next three are after I took out the "perl > do" line, which I do not understand the need of What is in this file? It certainly sounds as if it might be relevant to subagent processing? Try renaming the file to be /etc/edgewar

Re: working with tables...

2008-04-16 Thread Dave Shield
On 16/04/2008, Alejandro Islas <[EMAIL PROTECTED]> wrote: > I'm kind of new to linux programming so could you please recommend > me a debugger See http://www.net-snmp.org/wiki/index.php?title=Debugger > I used the mib2c.iterate.conf mib2c file to generate the code. > Is this the best configurati

Re: 5.4.1 won't talk

2008-04-16 Thread Larry Dickson
Hi Magnus and Dave, I'm following Magnus's advice and running with -Dtdomain, and here is the result. The first three files are our standard snmpd.conf and the agent and subagent output redirected; the next three are after I took out the "perl do" line, which I do not understand the need of, and i

Re: snmpv3 Encryption Support

2008-04-16 Thread Thomas Anders
Amit Kumar wrote: > I upgraded the openssl version to openssl-0.9.8d and the path i am > giving is --with-openssl=../openssl but still it is comming as blank . Please specify an absolute path to the OpenSSL install directory. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de

Re: snmpv3 Encryption Support

2008-04-16 Thread Amit Kumar
Colin, I upgraded the openssl version to openssl-0.9.8d and the path i am giving is --with-openssl=../openssl but still it is comming as blank . and in config.log file ac_cv_header_openssl_aes_h=no ac_cv_header_openssl_des_h=no ac_cv_header_openssl_dh_h=no ac_cv_header_openssl_evp

Re: working with tables...

2008-04-16 Thread Alejandro Islas
Thanks for the info Dave, I did the GET requests with the same results. I'm kind of new to linux programming so could you please recommend me a debugger, could Eclipse help me??? Another question, I used the mib2c.iterate.conf mib2c file to generate the code. Is this the best configuration file to

Re: 5.4.1 won't talk

2008-04-16 Thread Larry Dickson
Good call, Dave: I put the line in snmpd.conf and restarted. Everything came up happily (and I noticed that /var/agentx/master exists as a socket, where even the directory /var/agentx had not existed before). For some reason it is behaving as if the subagent is not there, i.e. skipping over our sub

Re: SNMP V3 walk failed in Net-SNMP

2008-04-16 Thread Dave Shield
On 16/04/2008, Lakshmipriya Subramanian (CW) <[EMAIL PROTECTED]> wrote: > I have attached the "usr" folder that I am using to test the SNMP > commands. Errr no, you haven't! In general, I would suggest that you test with single-request commands (snmpget/snmpgetnext) rather than snmpwalk. Da

RE: SNMP V3 walk failed in Net-SNMP

2008-04-16 Thread Lakshmipriya Subramanian (CW)
I have attached the "usr" folder that I am using to test the SNMP commands. The commands used are as follows: D:\>net start "net-snmp agent" The Net-SNMP Agent service is starting. The Net-SNMP Agent service was started successfully. // User with auth and privacy protocol /* With SSL suppo

RE: access to auth data from MFD souce code

2008-04-16 Thread kolakalurikrishna.chaitanya
Hi Aydin, Can you please let me know how are you accessing auth data in your subagent? Thanks Krishna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 4:14 PM Krishna To: [email protected]

access to auth data from MFD souce code

2008-04-16 Thread aydin
Thanks, Dave. I get data for my table from other process which requires authorization, so i wanted to use net-snmp auth data as the auth data for another process. - This SF.net email is sponsored by the 2008 JavaOne(SM) C

Re: [RFC PATCH] Ensure oid sub-ids are always 32bit

2008-04-16 Thread John Naylon
Hello all, long time no see! [EMAIL PROTECTED] said: > There is a *ton* of external code out there that is built using our > package as a base platform, and if they're using u_long as the data > type in their code any change we make will break that. And badly, > since many times pointers are p

Re: SNMP V3 walk failed in Net-SNMP

2008-04-16 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 15/04

Re: 5.4.1 won't talk

2008-04-16 Thread Dave Shield
On 15/04/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: > netsnmp_assert !"registration != duplicate" failed > agent_registry.c:535 netsnmp_subtree_load() > netsnmp_assert !"registration != duplicate" failed > agent_registry.c:535 netsnmp_subtree_load() > netsnmp_assert !"registration !=

Re: working with tables...

2008-04-16 Thread Dave Shield
On 16/04/2008, Alejandro Islas <[EMAIL PROTECTED]> wrote: > But when I try to read a table..the snmpd deamon crashes. > Could anyone give me an idea of where to > start to lookaround??? One thing would be to identify exactly what triggers the crash. Does it fail on a GETNEXT of the first entry? On

Re: snmpv3 Encryption Support

2008-04-16 Thread Colin Strachan
Amit I use OpenSSL 0.9.8 which works fine, I'm not sure about 0.9.7. I had a bit of trouble to get encryption enabled initially, using a version of OpenSSL that was not native to the host machine, in the end I specified an absolute path to the OpenSSL directory that contained the files netSNMP nee

snmpv3 Encryption Support

2008-04-16 Thread Amit Kumar
Hi All, I am using net-snmp-5.4 version with snmpv3 support and i am using the openssl version openssl-0.9.7i . first i used openssl and from ./configure script i used the option --with-openssl=../openssl/ in that case i got the error "Asked to use OpenSSL but i couldn't find it." th