RE: Route Metrics

2004-11-17 Thread Kurapati M-G19456
Refer to ipCidrRouteNumber in RFC2096, if I understand your question correctly. Thanks Mahesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Murali Bestha Sent: Thursday, November 18, 2004 11:53 AM To: [EMAIL PROTECTED] Subject: Route Metrics Hi All,

RE: multiple set of table handling

2004-11-17 Thread Jim Su
Hi Robert: Thanks for the info. I had misled you the question. I didn't mean the command "set" - opposite to command "get". I meant my agent get the table value from another process (said SRC). The process supplied me one "set" of value for that table at one time. Now the number of applica

Route Metrics

2004-11-17 Thread Murali Bestha
Hi All, I have a requirement to find out the routing data size/forwarding data size by a router machine. The router could be a Linux Server or a HP-UX machine. Can anybody please let me know what are the corresponding OIDs? Thanks and Regards Murali -

weird tutorial

2004-11-17 Thread Mauricio Reyes
Hi all, I work with microsoft windows. I am trying to use the snmpdemoapp.c in the tutorial. but can't make it work. the snmpd.conf file is ok. The weird thing is that ir worked on linux, the same code but there is something wrong in windows. I am trying to use authentication and enryption using

Re: SNMP leak bug update?

2004-11-17 Thread Rob Kudyba
Robert Story (Users) wrote: On Tue, 16 Nov 2004 17:06:16 -0500 Rob wrote: RK> Any update on this? This makes our app. almost useless as the memory RK> usage gets unruly...for example: RK> http://sourceforge.net/tracker/index.php?func=detail&aid=1062954&group_id=12694&atid=112694 Have you tried co

Re: configuring netsnmp without OpenSSL

2004-11-17 Thread Users
On Wed, 17 Nov 2004 13:27:39 -0600 Hearin, wrote: HTL> Does netsnmpj use any files from netsnmp? Couldn't tell you. I've never used netsnmpj. -- Robert Story; NET-SNMP Junkie Support: Archive: You

RE: configuring netsnmp without OpenSSL

2004-11-17 Thread Hearin, Teri L (N-Raytheon)
Does netsnmpj use any files from netsnmp? I'm also using netsnmpj, did I need to ./configure when I installed it? It also has the dependency. -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 8:21 AM To: Hearin, Teri L (N-Raytheon) Cc:

Re: my OS X notes when testing using README.snmpv3

2004-11-17 Thread Rob Kudyba
RK> Also, of you are performing these command as root user then you can RK> create the snmp.conf file ($HOME/.snmp/snmp.conf) in RK> /var/root/.snmp/snmp.conf. If you try the commands w/out the auth RK> options as root and you are wondering why you are getting these errors: RK> snmpget: No secu

Re: Memory leak when using "exec" on SuSE 9.1

2004-11-17 Thread Users
On Wed, 17 Nov 2004 18:11:00 +0100 Stephan wrote: SAR> I am experiencing problems when using a very simply snmpd.conf, that SAR> includes a basic exec line for multiple line output copied from the SAR> example file: SAR> SAR> ---snip--- SAR> exec .1.3.6.1.4.1.2021.51 ps /bin/ps SAR> ---snip--- S

Re: WRB: A seeming failure of mib2c in Net-SNMP-5.1.2

2004-11-17 Thread wrb
Robert: Actually, the missing text is in the AGENT.txt file. My comment was really a complaint regarding missing documentation. Upon reviewing other implementation files (sysORTable.c, I think), I found an example of the directive in question. My complaint is that the AGENT.txt file has several

Memory leak when using "exec" on SuSE 9.1

2004-11-17 Thread Stephan A. Rickauer
Hi there, I am experiencing problems when using a very simply snmpd.conf, that includes a basic exec line for multiple line output copied from the example file: ---snip--- exec .1.3.6.1.4.1.2021.51 ps /bin/ps ---snip--- As soon as I restart snmpd it'll consume endless memory/swap until it gets

Re: WRB: A seeming failure of mib2c in Net-SNMP-5.1.2

2004-11-17 Thread Users
On Tue, 16 Nov 2004 16:20:26 -0800 [EMAIL PROTECTED] wrote: WC> In reading the file AGENT.txt, I notice under section 3 *The C code header WC> file*, subsection *Module dependancies* (yes, in the file the word is WC> misspelled), comes the first paragraph suggesting the existence of a WC> directive

Re: using Net::SNMP::snmp_type_ntop()

2004-11-17 Thread Users
On Tue, 16 Nov 2004 11:17:42 -0500 Christopher wrote: CF> use Net::SNMP; This is covered in the FAQ: http://www.net-snmp.org/FAQ.html#I_ve_got_a_problem_with_the_Net_SNMP_module___Can_you_help_ -- Robert Story; NET-SNMP Junkie Support: Archive:

Re: SNMP leak bug update?

2004-11-17 Thread Users
On Tue, 16 Nov 2004 17:06:16 -0500 Rob wrote: RK> Any update on this? This makes our app. almost useless as the memory RK> usage gets unruly...for example: RK> http://sourceforge.net/tracker/index.php?func=detail&aid=1062954&group_id=12694&atid=112694 Have you tried configuring and running with

Re: Error compiling net-snmp 5.1.2

2004-11-17 Thread Users
On Tue, 16 Nov 2004 20:58:25 -0500 Alex wrote: AB> If you remove 'My Documents' from the path, it should work. I just AB> tried under Mandrake in a folder called 'test folder' and I got the AB> exact same error. The space is what is causing the problem. Oooh, good catch Alex! If a space in th

Re: multiple set of table handling

2004-11-17 Thread Users
On Wed, 17 Nov 2004 09:19:07 +0800 Jim wrote: JS>I have implemented net-snmp agent on 5.0.6 with UCD api. JS>The agent has the handling to get the content of a table from another JS>process. [...] I would like to know in the JS> var_abcTable() routine how do I handle the multiple se

Re: Help! trap problem: Broken pipe

2004-11-17 Thread Users
On Tue, 16 Nov 2004 21:53:19 -0600 [EMAIL PROTECTED] wrote: DC> 3)Next ran the snmpd and snmpdtrapd DC> ./snmpd -f -L -d DC> ./snmptrapd -Le -d Try starting snmptrapd before snmpd. DC> Then i issued command to send trap: DC> snmptrap -v 2c -c public localhost '' .1.3.6.1.4.1.20 21.991.17 DC> .1.

Re: descriptions of mib modules in agent/mibgroup dir?

2004-11-17 Thread Users
On Tue, 16 Nov 2004 22:13:18 -0600 (CST) Nick wrote: NB> I am trying to find a description of the mib modules that come with the NB> net-snmp distribution. It appears there are a lot of them, but I don't NB> see any documentation on what each one does. Try 'configure --help'. -- Robert Story;

Re: on OS X, getting Unknown Object Identifier why do object names not work but OID's do?

2004-11-17 Thread Users
On Wed, 17 Nov 2004 09:37:50 -0500 Rob wrote: RK> Net-SNMP 5.1.2 RK> I just used configure without any options. I can run commands using the RK> OID's but using the names fail. Have you read this FAQ entry? http://www.net-snmp.org/FAQ.html#Why_aren_t_my_mib_files_being_read_in_ -- Robert S

Re: nlist err: neither icmpstat nor _icmpstat found. in snmp.log on OS X

2004-11-17 Thread Users
On Wed, 17 Nov 2004 10:47:09 -0500 Rob wrote: RK> Excellent; the error message went away using the "-I -icmp" option on RK> startup. Might be helpful to include that piece of info in the RK> README.osX file... Yep, will do.. -- Robert Story; NET-SNMP Junkie Support:

Re: my OS X notes when testing using README.snmpv3

2004-11-17 Thread Users
On Tue, 16 Nov 2004 16:07:56 -0500 Rob wrote: RK> Someone may or may not want to update the docs...tested on OS X.3.6 RK> RK> -this error: nlist err: neither icmpstat nor _icmpstat found. is RK> partially documented in README.osX Yep... I'm adding docs on a fix, as soon as I finish testing...

Re: nlist err: neither icmpstat nor _icmpstat found. in snmp.log on OS X

2004-11-17 Thread Rob Kudyba
Robert Story (Users) wrote: On Mon, 15 Nov 2004 13:27:50 -0500 Rob wrote: RK> On OS X 10.3.6, after compiling Net SNMP, 5.1.2, and starting the RK> following appears in /var/log/snmpd.log: RK> nlist err: neither icmpstat nor _icmpstat found. RK> NET-SNMP version 5.1.2 RK> RK> Is this a known issu

Re: nlist err: neither icmpstat nor _icmpstat found. in snmp.log on OS X

2004-11-17 Thread Users
On Mon, 15 Nov 2004 13:27:50 -0500 Rob wrote: RK> On OS X 10.3.6, after compiling Net SNMP, 5.1.2, and starting the RK> following appears in /var/log/snmpd.log: RK> nlist err: neither icmpstat nor _icmpstat found. RK> NET-SNMP version 5.1.2 RK> RK> Is this a known issue and if so is there an opti

Re: How to avoid to write .conf file on shutdown ?

2004-11-17 Thread Users
On Mon, 15 Nov 2004 17:48:23 +0100 Frédéric wrote: FB> it calls snmp_shutdown("") FB> which produces traces like : FB> FB> No log handling enabled - turning on stderr logging FB> read_config_store open failure on /var/lib/snmp/.conf FB> read_config_store open failure on /var/lib/snmp/.conf FB> rea

Re: Error compiling net-snmp 5.1.2

2004-11-17 Thread Alex Burger
Hi Sergio. If you remove 'My Documents' from the path, it should work. I just tried under Mandrake in a folder called 'test folder' and I got the exact same error. The space is what is causing the problem. Alex Sergio Afonso Coderch wrote: Hi all, When I compile the net-snmp 5.1.2 (make senten

using Net::SNMP::snmp_type_ntop()

2004-11-17 Thread Christopher Fowler
I have an agent on a remote device that returns me OID's in the number syntax. I want to convert those numbers to a readable text string. Here is my test code: use Net::SNMP; my $n = Net::SNMP->new(); my $t = $n->snmp_type_ntop('iso.3.6.1.4.1.14264.1.1.0.3'); print "[$t]\n"; Here is output: [EMA

Re: WRB - A final comment on seeming errors in mib2c.

2004-11-17 Thread Dave Shield
> OK, OK, I think I now see the problem correctly. It is > not with mib2c but with AGENT.txt, as the text file is > out of date. Correct. That particular document was written describe the old v4 MIB API, which has now been deprecated in favour of the newer v5 "handler-based" approach. An equiv

Re: help for "SNMPD and TCP"

2004-11-17 Thread Users
On Mon, 15 Nov 2004 10:05:25 + souad wrote: ST> I want to start the agent ST> whith TCP. I added this primitive" agentaddress tcp:161" in the file ST> /etc/snmpd/snmpd.conf and i restart the agent. I checked if the agent is ST> in listening bye "netstat -nat." i found that the agent listen i

Re: TCP connection failure

2004-11-17 Thread Users
On Mon, 15 Nov 2004 16:39:31 +0200 Arye wrote: AS> I'm trying to extend the agent, by using a dynamically loaded SO. AS> AS> The init_plugin() function calls c++ functions that are compiled with AS> extern "C". And in turn, the c++ functions try to connect by TCP to get the AS> info for the SNMP

on OS X, getting Unknown Object Identifier why do object names not work but OID's do?

2004-11-17 Thread Rob Kudyba
Net-SNMP 5.1.2 I just used configure without any options. I can run commands using the OID's but using the names fail. oscar2:/Users/me/MPP/distribution/MPP-1.99/dev-docs root# snmpwalk localhost 1.3.6.1.2.1.1.3.0 iso.3.6.1.2.1.1.3.0 = Timeticks: (12973) 0:02:09.73 oscar2:/Users/me/MPP/distribu

Re: Sending traps from an agentX subagent

2004-11-17 Thread Users
First of all, please post a new message, instead of replying to the digest and quoting the entire (unrelated!) digest. On Wed, 17 Nov 2004 18:30:04 +1100 Russell wrote: RB> The subagent process is multi-threaded. Raising a trap works fine if I do RB> it in the main thread [...] RB> But, if I call

Re: 5.2.rc4 available for testing.

2004-11-17 Thread Users
On Wed, 17 Nov 2004 09:13:01 -0500 [EMAIL PROTECTED] wrote: CRC> > 5.2.rc4 is not available for testing. ... CRC> CRC> So why tell us? ;-) Doh! CRC> I assume you meant _now_ available for testing. I do that myself all the CRC> time. Yep, that's it. Should had some caffeine this morning! ;-)

Re: configuring netsnmp without OpenSSL

2004-11-17 Thread Users
On Mon, 15 Nov 2004 16:55:12 -0600 Hearin, wrote: HTL> How do I setup net-snmp so when I run example code or my code it does HTL> not search for OpenSSL files? I want to use snmpv2c. Is there a flag I HTL> can use ex. "without openssl" during a make or ./configure? Use '--with-openssl=no'. --

Re: Error compiling net-snmp 5.1.2

2004-11-17 Thread Users
On Wed, 17 Nov 2004 01:13:49 + Sergio wrote: SAC> When I compile the net-snmp 5.1.2 (make sentence), the next error SAC> messages appear: SAC> [...] SAC> libtool: link: cannot find the library `' Try this patch, which should help provide a more helpful error messages. To apply a patch, firs

Re: 5.2.rc4 available for testing.

2004-11-17 Thread cnelson
> 5.2.rc4 is not available for testing. ... So why tell us? ;-) I assume you meant _now_ available for testing. I do that myself all the time. --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensio

5.2.rc4 available for testing.

2004-11-17 Thread Users
5.2.rc4 is not available for testing. It fixes a problem on newer FreeBSD systems (5.2+), but it otherwise unchanged. This is expected to be the last rc before 5.2 is released. -- Robert Story; NET-SNMP Junkie Archive:

Re: help on this snmpwalk result

2004-11-17 Thread Thomas Anders
Hwanjo Heo wrote: $ snmpwalk -v 2c -c public 128.210.254.180 1.3.6.1.4.1.9.2.2.1.1.26 SNMPv2-SMI::enterprises.9.2.2.1.1.26.1 = INTEGER: 0 [...] $ snmpwalk -v 2c -c public 128.210.254.180 | grep 9.2.2.1.1.26 There's no output. See the FAQ entry http://www.net-snmp.org/FAQ.html#Why_can_t_I_see_values