Re: Retries and Timeout

2006-07-11 Thread Kelby Rogers
If you are using snmpget, you can specify as command line options: -r RETRIESset the number of retries -t TIMEOUTset the request timeout (in seconds) Jonathan Shan wrote: > Hello all, > > How do I change how many retries and the number of seconds for timeout? I > am c

Re: Proxy issue

2006-07-11 Thread John Hardin
Mike Lindsey wrote: > I've got an issue with snmp proxies. I'm using net-snmp 5.0.9... in > my snmpd.conf I have: > > proxy -v 1 -c public localhost:3401 .1.3.6.1.4.1.3495.1 > > I can do an: snmpwalk -v 1 -c public localhost:3401 .1.3.6.1.4.1.3495.1 > and I get the expected data (squid snmp ou

Re: Net-snmpd v5.2.2 and proxy issue.. looking for some help

2006-07-11 Thread John Hardin
Thomas Anders wrote: >Scott Walker wrote: > > >>It looks like after walking the entire squid OID, it kills snmpd. >> >> > >This rings a bell. Can you please retry with 5.2.3.rc1 or 5.3.1.rc2? >We've fixed at least one issue wrt. squid proxying. > > >+Thomas > > > Take a look at bug 1501258

Re: error compiling with disman/ping-mib support

2006-07-11 Thread Wes Hardaker
> On Tue, 11 Jul 2006 17:00:12 +0100, "Dave Shield" <[EMAIL PROTECTED]> > said: Dave> If you come up with a list of the changes you needed to make in Dave> order to get it working, we'd be happy to apply them to the Dave> source. And in fact that's the reason it is in the source. To att

Re: Can I get snmptranslate to tell me where it's finding MIBs?

2006-07-11 Thread Wes Hardaker
> On Tue, 11 Jul 2006 19:23:10 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: Thomas> [EMAIL PROTECTED] wrote: >> When I run snmptranslate, it finds things that aren't in >> /usr/share/snmp/mibs/*.txt. Where else is it looking? Can I get it to >> tell me its search path? Thomas> Rece

Re: Identifier scoping in MIBs

2006-07-11 Thread Wes Hardaker
> On Tue, 11 Jul 2006 13:56:11 -0400, [EMAIL PROTECTED] said: cnelson> I don't want to redefine the IF-MIB ifEntry, I want my own. Then don't call it "ifIndex". Legally you can, but realistically many tools don't handle it well. Call it pppIfIndex or something locally named. -- Wes Hardake

Retries and Timeout

2006-07-11 Thread Jonathan Shan
Hello all, How do I change how many retries and the number of seconds for timeout? I am concerned with mainly get functions. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly

Re: net-snmp function question

2006-07-11 Thread Jonathan Shan
Nevermind... the problem was due to char array and pointers and struct and strcpy On Tue, 11 Jul 2006, Jonathan Shan wrote: > Hello all, > > The program works correctly if I run the asyncapp.c demo. > http://www.net-snmp.org/tutorial/tutorial-4/toolkit/asyncapp/index.html > > When I change the c

Identifier scoping in MIBs

2006-07-11 Thread cnelson
OK, I'm a little slow today. Sorry for harrassing the list. What is the scope of identifers in MIBs. If I do: pppTable OBJECT-TYPE SYNTAX SEQUENCE OF PppEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A list of interface entries." ::= { myT

Re: Can I get snmptranslate to tell me where it's finding MIBs?

2006-07-11 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > When I run snmptranslate, it finds things that aren't in > /usr/share/snmp/mibs/*.txt. Where else is it looking? Can I get it to > tell me its search path? Recent net-snmp versions support "net-snmp-config --mibdirs". +Thomas -- Thomas Anders (thomas.anders at blue

Can I get snmptranslate to tell me where it's finding MIBs?

2006-07-11 Thread cnelson
When I run snmptranslate, it finds things that aren't in /usr/share/snmp/mibs/*.txt. Where else is it looking? Can I get it to tell me its search path? - Using Tomcat but need to do more? Need to support web services, secur

Re: manual with rmon support?

2006-07-11 Thread Thomas Anders
leo lei wrote: > net-snmp-5.3.0.1redhat AS 3.0 > > ./configure --prefix=/usr/local/net-snmp-5.3.0.1/ > --with-mib-modules=Rmon > > hi, i have configured the snmpd with rmon support, but i can not found > any manual about rmon's usage in the snmpd.conf(5) and snmpd.exam

Re: Do I need a format string?

2006-07-11 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. ] [misi wr

Re: memory leak when sending v2 traps

2006-07-11 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. ] David Lo

Re: error compiling with disman/ping-mib support

2006-07-11 Thread Dave Shield
On 11/07/06, leo lei <[EMAIL PROTECTED]> wrote:     net-snmp-5.3.0.1redhat AS 3.0./configure --prefix=/usr/local/net-snmp-5.3.0.1/ --with-mid-modules=disman/ping-mibthe error message as the following: [snip] The various DisMan "remote operations" implementation (including the P

Re: Problem building net-snmp 5.3.1 rc2 on RHEL4 64bit

2006-07-11 Thread Thomas Anders
Matt Shields wrote: > I'm having a terrible time trying to compile net-snmp-5.3.1.rc2 on RHEL4 > 64 bit. Below is the last couple lines of the make. Can anyone shed > light on this? [...] > gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o > ./.libs/libnetsnmpmibs.so ./.libs/libnetsnmp

net-snmp function question

2006-07-11 Thread Jonathan Shan
Hello all, The program works correctly if I run the asyncapp.c demo. http://www.net-snmp.org/tutorial/tutorial-4/toolkit/asyncapp/index.html When I change the code to generate hosts during runtime, the program gives me strange errors whenever it invokes snmp-related functions in the synchronous

Re: Aaaargh! OSX Install driving me mad!

2006-07-11 Thread Thomas Anders
Jeremy Bowman wrote: > I didn't specify a path for the installer to snmp on my osx installs. Should > I have? If so, where to? It seems that by default the MIB info is stored in > /usr/share/snmp within osx. If this is the case, what syntax should I use to > run the installer to this (or if incorre

Re: I am struggling to understand the snmptranslate command

2006-07-11 Thread Thomas Anders
Jeff Silverman wrote: > [EMAIL PROTECTED] ~]$ snmptranslate > .iso.org.dod.internet.mgmt.mib-2.ip.ipTrafficStats.ipSystemStatsTable.ipSystemStatsEntry.ipSystemStatsInDiscards > No log handling enabled - turning on stderr logging > .iso.org.dod.internet.mgmt.mib-2.ip.ipTrafficStats.ipSystemStatsTab

error compiling with disman/ping-mib support

2006-07-11 Thread leo lei
net-snmp-users£º net-snmp-5.3.0.1redhat AS 3.0 ./configure --prefix=/usr/local/net-snmp-5.3.0.1/ --with-mid-modules=disman/ping-mib the error message as the following: [EMAIL PROTECTED] mibgroup]# make /bin/sh ../../libtool --mode=compile gcc3 -I../../include -I. -I.

manual with rmon support?

2006-07-11 Thread leo lei
net-snmp-users£º please ignore the previous email with the same subject, i am sorry for that. net-snmp-5.3.0.1redhat AS 3.0 ./configure --prefix=/usr/local/net-snmp-5.3.0.1/ --with-mib-modules=Rmon hi, i have configured the snmpd with rmon support, but

manual with rmon support?

2006-07-11 Thread leo lei
net-snmp-users£º hi, i have configured the snmpd with rmon support, but i can not found any manual about rmon's usage in the snmpd.conf(5) and snmpd.examples(5), can anyone guide me? thanks. leo lei 2006-07-11 -

Re: Problem building net-snmp 5.3.1 rc2 on RHEL4 64bit

2006-07-11 Thread Dave Shield
On 06/07/06, Matt Shields <[EMAIL PROTECTED]> wrote: I'm having a terrible time trying to compile net-snmp-5.3.1.rc2 on RHEL464 bit.  Below is the last couple lines of the make.  Can anyone shedlight on this?I do know that /usr/lib/libpopt.so and /usr/lib64/libpopt.so do exist.  /usr/lib/libpopt.s

Re: memory leak when sending v2 traps

2006-07-11 Thread Dave Shield
On 07/07/06, David Loibl <[EMAIL PROTECTED]> wrote: There seems to be a memory leak in the code for sending snmp v2 traps. Which version of the code are you using? Dave - Using Tomcat but need to do more? Need to support web

Re: Answering a custom error message

2006-07-11 Thread Dave Shield
On 08/07/06, Antonio Di Bacco <[EMAIL PROTECTED]> wrote: How is it possible to return a custom error message to a get or set request? It's not. The whole point of Internet standards is that they are standard, not custom. SNMP defines precisely how errors are reported back, and you can't change this

Re: Do I need a format string?

2006-07-11 Thread Dave Shield
Short answer - no.On 10/07/06, misi <[EMAIL PROTECTED]> wrote: I would like to use snmptrap (SUSE Linux) to get snmp trapsfrom an RSA card. I have found in the logfile the log about the UDP datagram. It contained the needed information.  I have found them only in the log file, but I need asolution

Re: I am struggling to understand the snmptranslate command

2006-07-11 Thread Dave Shield
On 11/07/06, Jeff Silverman <[EMAIL PROTECTED]> wrote: Is this problem the reason why snmpget doens't work?[EMAIL PROTECTED] ~]$ snmpget -v 2c -Le -c puBlIc localhost .1.3.6.1.2.1.4.31.1.1.17IP-MIB::ipSystemStatsInDiscards = No Such Object available on this agentat this OID No. The 'snmpget' comman

Re: Aaaargh! OSX Install driving me mad!

2006-07-11 Thread Jeremy Bowman
Hi Thomas, I didn't specify a path for the installer to snmp on my osx installs. Should I have? If so, where to? It seems that by default the MIB info is stored in /usr/share/snmp within osx. If this is the case, what syntax should I use to run the installer to this (or if incorrect - another) loc

Re: Internal GET, GETNEXT

2006-07-11 Thread Thomas Anders
Yong Chen (yongche) wrote: > Resend, hopefully someone has an answer :-) Please be patient. Do not resend your message! >> Is it possible to issue internal GET and GETNEXT? See agent/mibgroup/utilities/iquery.c +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) -