Proxy Question

2004-07-28 Thread 오호일
Hi, I wish to implement proxy supporting, using Community Field(SNMPv2). At first, I tried to find Community Field parsing function in net-snmp-5.1.1. As result, I found that function is located in snmp_auth.c(snmp_comstr_parse()). Currently, I tried to mapping Community Name with Remote Agent Co

Re: Net-SNMP 5.1.2.rc1 released

2004-07-28 Thread Wes Hardaker
> On Wed, 28 Jul 2004 20:47:09 -0400, Ted Kaczmarek <[EMAIL PROTECTED]> said: Ted> This condition only seems to happen on nodes with multiple Ted> ethernet and tunnel interfaces from what I can tell. Have several Ted> other boxes running Ted> 5.0.9 that never hit this condition. Unfortunately

Re: Net-SNMP 5.1.2.rc1 released

2004-07-28 Thread Ted Kaczmarek
On Tue, 2004-07-27 at 16:49 -0700, Wes Hardaker wrote: > > On Sun, 18 Jul 2004 19:13:24 -0400, Ted Kaczmarek <[EMAIL PROTECTED]> said: > > Ted> This condition only seems to happen on nodes with multiple > Ted> ethernet and tunnel interfaces from what I can tell. Have several > Ted> other boxes

Net-SNMP 5.1.2.rc2 available for testing

2004-07-28 Thread Wes Hardaker
A few too many patches went in to CVS after 5.1.2.rc1 was released, so I'm doing one more in the release candidate series before publishing the real 5.1.2 either tomorrow or early next week. If there are major show stoppers, nows the time to let us know ;-) See http://www.Net-SNMP.org/downloads/

netsnmp as subagent on solaris 9

2004-07-28 Thread C Wells
Some of the complex Sun hardware like the e10k and Sunfire use the default sun snmpd daemon called snmpdx to keep track of board level issues on 'domains' , etc, so swapping out snmpdx with netsnmp snmpd is not a good option. Making netsnmp run as a subagent of snmpdx is an excellent choice and has

RE: agent hung up running "exec" process

2004-07-28 Thread atonns
I can agree with your point - that these can be expensive to query. However... 1) I only query the prtdiag/prtconf MIBs once a day for automated inventory (and VERY occassionally manually), so it's really not THAT expensive. I'm looking at the idprom, etc. 2) With the "ps" command, the hrSWRunTab

RE: agent hung up running "exec" process

2004-07-28 Thread Bruce Shaw
Prtdiag can be pretty expensive in terms of resources and returns a lot of irrelevant stuff. Unfortunately, I haven't found the API's to deliver it any other way, but I'm still looking. I found another clue today. Prtconf delivers stuff available in HOST-RESOURCES-MIB and UCD-SNMP-MIB. Ps-au deli

RE: agent hung up running "exec" process

2004-07-28 Thread atonns
Actually, I've tried adding the -t option with 30, 60 and even 90. Still nothing. I've checked a few more of the "exec" lines that I have in my snmpd.conf and it looks like the output from them is being truncated at around 25 or 30 lines. They originally all looked like this: exec .1.3.6.1.4.1.202

Re: ping MIB.

2004-07-28 Thread Wes Hardaker
> On Wed, 28 Jul 2004 09:36:29 -0400 (EDT), Steven Carter <[EMAIL PROTECTED]> said: Steven> Does anyone have the ping MIB (RFC 2925) ported/working under Steven> net-snmp? We have an IBM cluster in which we need to check Steven> connectivity to every node, from every node. It looks like Stev

Re: WRB - 802dot11 MIB file.

2004-07-28 Thread Wes Hardaker
> On Tue, 27 Jul 2004 18:58:04 -0700, bill buckley <[EMAIL PROTECTED]> said: bill> Well, again, the MIB appears not to have been sent. So, for the bill> third, and I hope, last time, attached is the 80211-MIB.txt file bill> that I am using. snmptranslate didn't have a problem with it though.

Re: WRB - 802dot11 MIB file.

2004-07-28 Thread Wes Hardaker
> On Tue, 27 Jul 2004 18:58:04 -0700, bill buckley <[EMAIL PROTECTED]> said: bill> Well, again, the MIB appears not to have been sent. So, for the bill> third, and I hope, last time, attached is the 80211-MIB.txt file bill> that I am using. smilint shows a lot of errors in it, FYI: -- Wes

Re: agent hung up running "exec" process

2004-07-28 Thread Wes Hardaker
> On Wed, 28 Jul 2004 09:47:40 -0400, Anthony Tonns <[EMAIL PROTECTED]> said: Anthony> exec .1.3.6.1.4.1.2021.51 prtconf /usr/sbin/prtconf -pv Anthony> When I query this mib on the agent, becomes unresponsive (ie: Anthony> snmpwalk: Timeout). The subcommand stays running as a sub Anthony> pro

Re: Beginner doubt NET-SNMP

2004-07-28 Thread Wes Hardaker
> On Wed, 28 Jul 2004 13:13:32 -0300, Esteban Pizzini <[EMAIL PROTECTED]> said: >> Please give me a point to start, and then i will manage myself. Esteban> you can start running snmpconf which helps you to configure snmpd.conf Also read the tutorial at http://www.net-snmp.org/tutorial-5/ --

Re: Beginner doubt NET-SNMP

2004-07-28 Thread Esteban Pizzini
On Wed, Jul 28, 2004 at 04:44:51PM +0100, Pedro Neves wrote: > Dear all: > > I am a real beginner with SNMP and with Net-SNMP. I need some help in > order to start working. I am not sure how shoula i start. How to > configure the agent and the manager?? Shall i start by writing in the > snmpd.conf

Beginner doubt NET-SNMP

2004-07-28 Thread Pedro Neves
Dear all: I am a real beginner with SNMP and with Net-SNMP. I need some help in order to start working. I am not sure how shoula i start. How to configure the agent and the manager?? Shall i start by writing in the snmpd.conf file? Please give me a point to start, and then i will manage myself. T

agent hung up running "exec" process

2004-07-28 Thread Anthony Tonns
I'm using the SMCnsnmp package created by sunfreeware.com on Solaris 9. It's version 5.1.1. I'm only accessing the agent via SNMPv3. My snmpd.conf snippet looks like this: exec .1.3.6.1.4.1.2021.51 prtconf /usr/sbin/prtconf -pv When I query this mib on the agent, becomes unresponsive (ie: snmpwa

ping MIB.

2004-07-28 Thread Steven Carter
Does anyone have the ping MIB (RFC 2925) ported/working under net-snmp? We have an IBM cluster in which we need to check connectivity to every node, from every node. It looks like the ping MIB would be the best way to do that from a central station. Steven. -- Steven M. Carter

RE: Installing new-snmp in QNX 6.x Architechture

2004-07-28 Thread "Fernández Piñas, David"
I am using these configure options with QNX 6.2.1 on a PC, net-snmp 5.1: ./configure --enable-mini-agent --with-defaults --disable-applications --disable-manuals --disable-scripts --disable-mibs --disable-debugging --disable-mib-loading --enable-shared --disable-static --with-out-mib-modules="

Re: EngineID

2004-07-28 Thread Dave Shield
> How and where does snmpget application discover the engine ID of agent's > machine? It uses the approach outlined in RFC 3414, section 4 "Discovery". It actually sends the same request two or three times, in the sure and certain expectation that the first one(s) will fail. But the error repor

EngineID

2004-07-28 Thread Narinder Soni
Hi, How and where does snmpget application discover the engine ID of agent's machine? Thanks Soni --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Worksh

Re: engineID

2004-07-28 Thread Dave Shield
Detlef> 2. Is it right, that the agentaddress of a SNMPv1 Trap, sended by an Detlef> agentx subagent via net-snmp master agent is 0.0.0.0. ? Wes> Um, probably? sounds about right. I can well believe that this is happening. But I'd hesitate to describe it as "right". As far as SNMP concerned, the

Re: perl(Term::ReadKey) error installing 5.1.1

2004-07-28 Thread Dave Shield
Christina> However, the Term::ReadKey is installed on this machine... Christina> Any ideas? Wes> RPM doesn't check actually installation, it only checks installed RPMs Wes> (sigh). Thus, you can force the rpm installation using -i --nodeps Wes> which should work just fine. Yes - "nodeps" is a

Re: Snmp Agent as a thread

2004-07-28 Thread Dave Shield
Wes> The agent doesn't work in a threaded environment at this point. Manuel> Is this blanket statement really correct? From the documentation I Manuel> gathered that running multiple agent threads is problematic but Manuel> running the whole agent as a single thread may not be? Yes - that should

Re: WRB - mib2c observations.

2004-07-28 Thread Dave Shield
> Net-SNMP version 5.0.9 under RH9, version 2.4.20-8. Code generated > by mib2c, using the mib2c.oldapi.conf helper file, for MIB 802.11 does > not include the text *case* within *switch* statements. OK - thanks for that report. I've updated the 5.0.x and main development lines to fix this proble

Re: Once again: disman problem ?

2004-07-28 Thread Gerd Bavendiek
On Tue, 27 Jul 2004 08:21:31 -0600 Bruce Shaw <[EMAIL PROTECTED]> wrote: > >As soon as I run snmpd with DefaultMonitors yes, I get a bunch of > >invalid traps. This happens quite often but without any rule AFAUI. ... > So far, it appears to happen when you set an entry in snmpd.conf, eg. a > proc

Installing new-snmp in QNX 6.x Architechture

2004-07-28 Thread rid_One
I've read that ucd-snmp-4.2.6 can be used in QNX. then I downloaded it and try to install it in my QNX 6. I followed the instruction in INSTALL file. First, I executed "./configure", it ran well. But when I executed "make", it failed. it prompted mibII/at.c:792: arithmatic on pointer to an incom

Re: Problem with NET-SNMP and Solaris

2004-07-28 Thread Gerd Bavendiek
On Wed, 28 Jul 2004 09:15:12 +0200 "SAHNOUN, Nadir" <[EMAIL PROTECTED]> wrote: > Hi, > > # grep /usr/lib/libz.so.1 /var/sadm/install/contents > none ! > # > > # uname -a > SunOS coyote 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-5_10 > > any idea ? > Install the missing package: > abba:/>>>

Re: Snmp Agent as a thread

2004-07-28 Thread Narinder Soni
I have tried my application's code as a separate thread from within the ucd-snmp agent's code. It works fine. And within my application's code I am further creating multiple threads using mutex etc. This way everything works. Soni Wes Hardaker wrote: > > > On Wed, 21 Jul 2004 13:53:57 -0400,

RE: Problem with NET-SNMP and Solaris

2004-07-28 Thread SAHNOUN, Nadir
Hi, # grep /usr/lib/libz.so.1 /var/sadm/install/contents none ! # # uname -a SunOS coyote 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-5_10 any idea ? Thanks a lot -Message d'origine- De : Gerd Bavendiek [mailto:[EMAIL PROTECTED] Envoyé : mercredi 28 juillet 2004 09:06 À : SAHNOU

Re: Problem with NET-SNMP and Solaris

2004-07-28 Thread Gerd Bavendiek
On Wed, 28 Jul 2004 08:41:13 +0200 "SAHNOUN, Nadir" <[EMAIL PROTECTED]> wrote: > Hi all, > > am trying to install NET-SNMP to hosts with Solaris which i need to monitor. > i want to use snmpd because it's provides more information that snmpdx. > > i downloaded, unzip and untar downloaded file :