Re: Getbulk

2004-07-14 Thread Tina Agarwal
Thanx for such a nice explanation, Dave. On more thing, GetBulk will start with the object ID "A" and ends with OID "F". Am I right? or it traverses the whole MIB for which the related OID(s) are given? Regards! Tina - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]>

Re: Can't configure SNMPv3 agent!

2004-07-14 Thread Dave Shield
> My problem now is how do I set authentication and privacy > capabilities in this SNMPv3 Agent. For example, I tried to start it with > the snmpd.conf file below: > > createUser helcio MD5 bravo OK - that looks fine. (The "createUser" line would typically go in the /var/net-snmp/snmpd.conf

Re: Getbulk

2004-07-14 Thread Dave Shield
> On more thing, GetBulk will start > with the object ID "A" and ends with OID "F". Am I right? or it traverses > the whole MIB for which the related OID(s) are given? I'm not quite sure what you mean by that. The result of the GETBULK is simply a concatenation of the equiv

Re: Error message: No log handling enabled

2004-07-14 Thread Marco Waller
Hi Dave, Steve, everyone, regarding the logging feature the 5.1.2.pre3 code behaves like the 5.1.1 one, but I have found the solution: Calling './snmpd -Lsd' doesn't overwrite the configure option 'with-logfile'. That means the configure option has to be set to 'with-logfile="none"' if you want to

Re: problem in understanding role of engineID for SNMPv3 protocol

2004-07-14 Thread Narinder Soni
Hi Dave and others, Few more doubts.. I read the following about SNMPv3: ---The user database in a SNMPv3 application is referenced by a combination of the user's name("security name") and an identifier for the given SNMP application you are talking to("engineID").--- My question: Let's say A(SN

Re: problem in configuring agent for SNMPv3 protocol

2004-07-14 Thread Dave Shield
> One more question. What does this *all* list of parameters include for > 'trapsess' derivative? I have include security level and username. Yes - that should be enough. > Here are my settings in snmpd.conf file for v3: [snip] > trapsess -v 3 -l noAuthNoPriv -u public 192.168.1.210:900

Re: problem in configuring agent for SNMPv3 protocol

2004-07-14 Thread Narinder Soni
Yes, you are right. SNMPv2 traps I could receive with HP Openview but not SNMPv3 traps. The reason was same as stated by you..I found that the HP Openview's version which I was using for testing doesnot support SNMPv3. Thanks Dave. Dave Shield wrote: > > > One more question. What does this

Re: libnetsnmpagent

2004-07-14 Thread Dave Shield
> Anyone ever see: > relocation error: /usr/lib/libnetsnmpagent.so.5: > undefinded symbol: hosts_ctl > ? Is this a library/agent that you've compiled yourself, or a pre-installed version? I've got a vague recollection that this can be triggered by mixing a pre-installed version with self-co

win 32 error

2004-07-14 Thread Miguel Barreiros
Hi   When I do: snmpwalk -c READ 172.25.7.8   (172.25.7.8 is a switch with community string READ)   in my linux works good, when I do it on a windows machine I get an error:  No securityName specified   What do I have to do to solve it ?   Tks

Re: libnetsnmpagent

2004-07-14 Thread Carlos Cantu
> Is this a library/agent that you've compiled yourself, > or a pre-installed version? It's possible. Yet on this system there should only be one instance of net-snmp. It's a dual-boot machine that boots into two flavors of SuSE. But they shouldn't share any files since they are on their own pa

few more questions related to SNMPv3

2004-07-14 Thread Narinder Soni
1) I create the following entries: ---in /var/ucd-snmp/snmpd.conf createUser userSoni MD5 lightlight DES ---in snmpd.conf(where SNMPCONFPATH is set) rouser userSoni This is how its mentioned in README.snmpv3 file and then I do snmpget -v 3 -l noAuthNoPriv -u userSoni 192.168.1.189:9000 ..OID.

Re: win 32 error

2004-07-14 Thread Alex Burger
Miguel Barreiros wrote: Hi When I do: snmpwalk -c READ 172.25.7.8 (172.25.7.8 is a switch with community string READ) in my linux works good, when I do it on a windows machine I get an error: No securityName specified What do I have to do to solve it ? It looks like it is defaulting to S

Re: libnetsnmpagent

2004-07-14 Thread Carlos Cantu
rpm -e net-snmp-5.0.8-1 gives: : removing these packages would break dependencies: libnetsnmp.so.5 is needed by mod_php4-4.2.2-502 libnetsnmp.so.5 is needed by mod_php4-core-4.2.2-502 Any ideas? I could try -f (force) on uninstall and hope for the best. Thanks, Carlos ---

Looking for test suite

2004-07-14 Thread Marco Waller
Hi all, I would like to have an automatic test for the NET-SNMP agent on my embedded device and 'RUNTESTS' only checks the local agent. Does anybody know a nice freeware/shareware Linux/Windows test suite ? Thanks, Marco. --- This SF.Net email sp

RE: win 32 error

2004-07-14 Thread Miguel Barreiros
Solved :) Tks - Miguel Barreiros -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex Burger Sent: quarta-feira, 14 de Julho de 2004 15:31 To: Miguel Barreiros Cc: [EMAIL PROTECTED] Subject: Re: win 32 error Mig

Re: libnetsnmpagent

2004-07-14 Thread Dave Shield
> > Is this a library/agent that you've compiled yourself, > > or a pre-installed version? > > It's possible. Yet on this system there should only be > one instance of net-snmp. It's a dual-boot machine that > boots into two flavors of SuSE. But they shouldn't share > any files since they are o

Re: few more questions related to SNMPv3

2004-07-14 Thread Dave Shield
> > 1) I create the following entries: > > ---in /var/ucd-snmp/snmpd.conf > createUser userSoni MD5 lightlight DES Which version of the code are you using? The v5 line would normally look in /var/net-snmp/snmpd.conf instead [Minor point - don't repeat a phrase like that. The way that SNMP aut

Re: few more questions related to SNMPv3

2004-07-14 Thread Narinder Soni
Sorry, forgot to tell in my last mailI am using ucd-snmp-0.4.2.5 Dave Shield wrote: > > > > > 1) I create the following entries: > > > > ---in /var/ucd-snmp/snmpd.conf > > createUser userSoni MD5 lightlight DES > > Which version of the code are you using? > The v5 line would normally look in

Re: few more questions related to SNMPv3

2004-07-14 Thread Narinder Soni
Thanks dave. Please read my explanation after your remarks Dave Shield wrote: > > > > > 1) I create the following entries: > > > > ---in /var/ucd-snmp/snmpd.conf > > createUser userSoni MD5 lightlight DES > > Which version of the code are you using? > The v5 line would normally look in /var/

formatting of snmptrapd 'uptime'

2004-07-14 Thread Eckhard Ruediger
Hello, is there a possibility to format the output of snmptrapd for the uptime as a plain number? I tried to set "numericTimeticks yes" in snmp.conf, but it does change nothing. Looking into the code in the routine uptimeString() of mib.c I saw that it should be formatted in the intended way, if

AW: formatting of snmptrapd 'uptime'

2004-07-14 Thread Eckhard Ruediger
Sorry, I just figured it out myself: The wrong behaviour shows only up if I do not send the output to a file by the switch -Lf. But as I intend to do this anyway (and did just my testing in the foreground with output to the screen), I got the impression that snmptrapd does not work as expected.

Re: libnetsnmpagent

2004-07-14 Thread Carlos Cantu
> It would feel more profitable to try and track down the missing > system call(s). "hosts_ctl" sounds like part of the libwrap > mechanism. I'm not sure if SuSE is the same, but on my RedHat > box, this is provided by the "tcp_wrappers" RPM. Do you have > that installed? Don't know. Did an

Re: Can't configure SNMPv3 agent!

2004-07-14 Thread Helcio Wagner da Silva
Dave, I did find my error. It was try to apply too short passwords!!! Just to remember, my UCD SNMPv3 Agent was installed by means of a rpm file. Well, this UCD SNMPv3 Agent was being inquired by a command-line Manager Application provided by AdventNet. The older versions of the

solaris 9 port

2004-07-14 Thread Paul Lew
Anyone successfully ported netsnmp to Solaris 9 yet? We are using net-snmp 5.0.7 and would like to know if this has been done before. Thanks. --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!

Re: solaris 9 port

2004-07-14 Thread C Wells
Yes, I couldn't get it to work as a subagent of snmpdx like I have for solaris 6/7/8, however if you supplant snmpdx with netsnmp snmpd, then it works fine. I think I used a newer netsnmp though. The solaris readme tells you how to handle solaris 9 vs the method for 8. I have a binary, but it insta

MIB Parse Error

2004-07-14 Thread haris_here
Hi, I get the following error message from the net-snmp library: "Unlinked OID in COMPANY_MIB: VariableName ::= { company 21 }". This error is thrown by the parsing module in the net-snmp library(snmplib/parse.c). This indicates that there exists a broken node in the MIB tree(orphan node).