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

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: 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: 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 query.

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 in port

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: [EMAIL

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

Re: How to avoid to write app.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(my-app) 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/my-app.conf FB read_config_store open failure on

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 issue and

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... RK

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: http://www.net-snmp.org/

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

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: 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

Re: multiple set of table handling

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

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 the

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=detailaid=1062954group_id=12694atid=112694 Have you tried configuring and running with

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,

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 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

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

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

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

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 application

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