Re: mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-27 Thread Robert Story
On Tue, 26 Jul 2005 11:34:37 -0500 [EMAIL PROTECTED] wrote: EYC> trace: netsnmp_unix_send(): snmpUnixDomain.c, 160: EYC> netsnmp_unix: send 20 bytes to 0x80bbfe0 on fd 5 EYC> Broken pipe Were you running in a debugger? A broken pipe would be if either side shut down the connections (maybe because

Re: asynchronous response from with a agentx subagent

2005-07-27 Thread Robert Story
On Wed, 27 Jul 2005 16:34:12 -0700 (PDT) Srinivas wrote: SA> I cannt make it synchronous. Sure you can. Instead of calling xxx_async(), write a wrapper: int xxx_sync() { rc = xxx_async(); if(rc) handle_error(); rc = xxx_wait_for_async_results(); if(rc) handle_error(); return rc; }

Re: MfD suggestions

2005-07-27 Thread Robert Story
On Mon, 25 Jul 2005 17:21:20 +0100 Dave wrote: DS> We should probably ensure that the hard-coded and interactive DS> defaults match - either bringing the hard-coded settings into DS> line with the interactive versions (my preference), or vice versa. Agreed. DS> The other suggestion relates to the

Re: asynchronous response from with a agentx subagent

2005-07-27 Thread Srinivas Athuluru (ATG)
I cannt make it synchronous. could you give me some pointers as to how u would go about doing it? or i could come up with a plan and ask your opinion. thanks Srinivas --- Robert Story <[EMAIL PROTECTED]> wrote: > On Tue, 26 Jul 2005 09:43:35 -0700 (PDT) Srinivas > wrote: > SA>I have a suba

Re: get IP address of Manager

2005-07-27 Thread Robert Story
On Tue, 26 Jul 2005 20:07:19 +0530 [EMAIL PROTECTED] wrote: KSC> In mib2c generated code, i need managers IP address. http://www.freesnmp.com/net-snmp/faqs/#packet-ip -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid

Re: snmpget fails on my second agent.

2005-07-27 Thread Robert Story
On Wed, 27 Jul 2005 12:23:47 +0530 (IST) [EMAIL PROTECTED] wrote: RC> I am running 2 snmpd agents in a single linux machine for my project RC> purpose. I am using configuration files snmpd.conf from from RC> /etc/snmp/snmp.conf for the first agent with default port (161) and RC> snmp.conf from my h

Re: asynchronous response from with a agentx subagent

2005-07-27 Thread Robert Story
On Tue, 26 Jul 2005 09:43:35 -0700 (PDT) Srinivas wrote: SA>I have a subagent which needs to talk to an SA> internal daemon using a asynchronous request/response SA> mechanism. I think you are going to have to make the communication synchronous. SA> And also to make matters worse, I dont have

Re: Regarding the problem to start with snmp

2005-07-27 Thread Robert Story
On Tue, 26 Jul 2005 07:05:22 -0700 (PDT) harish wrote: HB> snmpget -v 2c -c private localhost HB> NET-SNMP-EXAMPLES-MIB::netSnmpExampleInteger.0 HB> Timeout: No Response from localhost HB> HB> whereas if I run the following command,it seems to be HB> running fine. HB> snmpget -v 2c -c public local

Re: 5.3.dev "make test" fails for SNMPv3/AgentX/proxy

2005-07-27 Thread Robert Story
On Tue, 26 Jul 2005 13:12:27 +0100 Dave wrote: DS> Well, I'm not Wes (obviously!) but I've tracked down the problem. [...] DS> DS> Clearing the don'tProbe flag seems to have fixed the problem. DS> DS> Wes2 Excellent work, Wes2! -- Wes3 ---

Problem on snmpget

2005-07-27 Thread ambroise.guabello
Hi, I've installed net-snmp on solaris, but when i am testing the daemon with the snmpget command, I got always the same problem: I try the following command: snmpget -v 2c -c gest 192.170.1.32 sysUpTime.0 and I got the following error message: DISMAN-EVENT-MIB::sysUpTimeInstance = No Such Objec

Regarding the problem to start with snmp

2005-07-27 Thread harish babu
Hello, I am newbie to snmp. I have gone through the tutorial from the site.I wanted to execute some simple snmp commands. I have configured the source tree using ./configure make make install service snmpd start export MIBS=+ALL After doing the above steps if I execute the following commands

Re: CVS main is broken - notification_log.h

2005-07-27 Thread G. S. Marzot
fixed now thx to rstory. -gsm >From: Bruce Shaw <[EMAIL PROTECTED]> >Date: Mon Jul 25 14:53:25 CDT 2005 >To: "Net-Snmp-Coders (E-mail)" >Subject: CVS main is broken - notification_log.h >gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup >-I../snmplib -I/usr/local/ssl/includ

Re: net-snmp for hpux B11.11

2005-07-27 Thread Johannes Schmidt-Fischer
Hello, sorry for the late answer... Unfortunately the attachment wasn't readable (at least for me - opening it only produced a "crc error" message). But from the output of the "make" command you stated in your mail I think the reason is, that you're using the standard HP-UX make command. But in

Re: snmpget fails on my second agent.

2005-07-27 Thread aakansha rajvi
On 7/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > I am running 2 snmpd agents in a single linux machine for my project > purpose. I am using configuration files snmpd.conf from from > /etc/snmp/snmp.conf for the first agent with default port (161) and > snmp.conf from my home d

Re: getting leaf node string form OID

2005-07-27 Thread Dave Shield
On Wed, 2005-07-27 at 09:54 +0530, [EMAIL PROTECTED] wrote: > I have to get the leaf node string of the OID in mib2c code . for > example if the OID is 1.3.6.1.2.1.1.4 , i have to get the leaf node > string in the mib definition as "sysContact". Try 'snprint_objid' > > I tried by using net

[OT] Ethereal 0.10.12

2005-07-27 Thread Thomas Anders
-Coders, FYI: Ethereal 0.10.12 has been released: http://www.ethereal.com/news/item_20050726_01.html Apart from the security fixes and enhancements listed there, I contributed SNMP Engine ID dissection according to RFC3411 including support for the ucd-snmp/net-snmp proprietary random forma

snmpget fails on my second agent.

2005-07-27 Thread raviraj
Hi, I am running 2 snmpd agents in a single linux machine for my project purpose. I am using configuration files snmpd.conf from from /etc/snmp/snmp.conf for the first agent with default port (161) and snmp.conf from my home directory for the second agent with port number (5050). The second agent

snmpget fails on my second agent.

2005-07-27 Thread raviraj
Hi, I am running 2 snmpd agents in a single linux machine for my project purpose. I am using configuration files snmpd.conf from from /etc/snmp/snmp.conf for the first agent with default port (161) and snmp.conf from my home directory for the second agent with port number (5050). The second agent