communication between agent and information

2005-04-18 Thread Farazad Farhadzadeh
Hi, I'mworking on net-snmp-5.2.1 with SuSe-9.2 i have a question about agent , assume we have a small network with a manager (A) and an agent(B). manager(A) send a GetRequest to Agent(B) for example about ip.pForwarding. 0 please tell me the agent how it response to request from manager on the oth

Re: SNMP v3 Testing errors with authPriv mode

2005-04-18 Thread Yeo Siow Vic
I compiled the net-snmp myself. I checked the config.log file, it failed to detect openssl, and i think i don't have openssl installed. SnmpV3 works on authNoPriv and noAuthNoPriv mode, so i guess authPriv mode is not working because i don't have openssl installed. Is that right? victor -

Re: Running scripts with EXEC

2005-04-18 Thread Robert Story
On Mon, 18 Apr 2005 19:09:41 + Jordi wrote: JMT> For example: JMT> JMT> # exec echotest /bin/echo hello world JMT> JMT> when does it run??? I had read that it runs when you make an snmpget JMT> request, but I don't know what OID I have to get... Check the snmpd.conf man page. Should be some

Running scripts with EXEC

2005-04-18 Thread Jordi Martin Tirado
Hi everybody! I wan't to executate a script using the command EXEC in SNMP but I don't understand the tutorial. I don't exactly know how can I do it. For example: # exec echotest /bin/echo hello world when does it run??? I had read that it runs when you make an snmpget request, but I don't know

Re: Repost: Net-snmp doubt

2005-04-18 Thread Mauricio Reyes
Hello Robert, I have deleted that line, but there's still errors. I used gdb to debug and got this: Program received signal SIGSEGV, Segmentation fault. snmp_sess_synch_response (sessp=0x80d96a8, pdu=Variable "pdu" is not available. ) at snmp_client.c:870 870 cbsav = ss->callback; (gdb)

snmp

2005-04-18 Thread Sunitha J
hai when i am converting mib text file to c implementation file using  net-snmp version 5.2.1 it is asking for 2 types of templates 1.ucd-snmp template 2.net-snmp template i selected 2nd one. again it is asking for 1) If you're writing code for some generic scalars (by hand use: "mib2c -c

How decode the trap fields on a windows machine

2005-04-18 Thread AESYS S.p.A. [Enzo Arlati]
On windows s.o. , I have an open server socket listening on port 162 in upd mode , for snmp trap ( snmp v2c ). I receive a trap but I can able to decode the fields meaning. I try to find if there is a match with the layout specified inside the snmp protocol but I didn't sucess. On a linux machine

Re: Repost: Net-snmp doubt

2005-04-18 Thread Robert Story
On Sun, 17 Apr 2005 11:44:21 -0700 (PDT) Mauricio wrote: MR> I have tested the patch you sent me, but it seems to MR> fail. I get this line: MR> MR> C:\usr>snmpd MR> netsnmp_assert x failed C:\Documents and MR> Settings\Maure\Desktop\net-snmp-5.2.1\ne MR> t-snmp-5.2.1\snmplib\snmp_api.c:1271 MR>

How decode the trap fields on a windows machine

2005-04-18 Thread AESYS S.p.A. [Enzo Arlati]
On windows s.o. , I have an open server socket listening on port 162 in upd mode , for snmp trap ( snmp v2c ). I receive a trap but I can able to decode the fields meaning. I try to find if there is a match with the layout specified inside the snmp protocol but I didn't sucess. On a linux machine

Re: user in SNMPv3

2005-04-18 Thread Dave Shield
[ Careful with your Cc:s please. This won't have been sent to the user list ] On Thu, 2005-04-14 at 12:12, Farazad Farhadzadeh wrote: > Hi. > i run net-snmp-5.2.1 with ./snmpd and then execute this command: > TAVOOS2:~ # /usr/local/bin/./snmpget -v3 -u farzad -m MPLS-LSR-MIB > TAVOOS2

AW: Snmpwalk not showing everything

2005-04-18 Thread Mohr James
Ahh! Because the UCD-SNMP tree is underneath 'private.enterprise' (.1.3.6.1.4.1) and not under 'mib-2' (.1.3.6.1.2.1). Thanks!!! >> -Ursprüngliche Nachricht- >> Von: Dave Shield [mailto:[EMAIL PROTECTED] >> Gesendet: Montag, 18. April 2005 14:24 >> An: Mohr James >> Cc: Net-snm

Re: Snmpwalk not showing everything

2005-04-18 Thread Dave Shield
On Mon, 2005-04-18 at 12:14, Mohr James wrote: > When I run this > > snmpwalk -c public -v 2c 10.2.29.52 > > It does not show me the UCD-SNMP-MIB branch (among other things). Correct. > However, this does > > snmpwalk -c public -v 2c 10.2.29.52 .1 Please see the FAQ entry: Why can't I

snmpd not responding for get/getnext request when traps are pumped.

2005-04-18 Thread Sasikumar Bodathula
Hi All, We are using net-snmp-5.1.2 , RedHat 9.0 . Our problem is, when get is issued during bulk trap generation the request times-out. After this scenario the snmpd is not processing any more snmp get/getnext. What we observed on snmpd after this problem occurred is 1) Either

Snmpwalk not showing everything

2005-04-18 Thread Mohr James
Hi All! I am a bit confused here. When I run this snmpwalk -c public -v 2c 10.2.29.52 It does not show me the UCD-SNMP-MIB branch (among other things). However, this does snmpwalk -c public -v 2c 10.2.29.52 .1 Actaully any OID starting with .1 will show me the UCD-SNMP-MIB branch. I am at

Re: SNMP v3 Testing errors with authPriv mode

2005-04-18 Thread Dave Shield
On Fri, 2005-04-15 at 11:21, Yeo Siow Vic wrote: > I am testing SNMPv3, and having problem with authPriv mode. Is this source that you compiled yourself, or is it a pre-configured distribution? If you compiled it yourself, do you have OpenSSL installed? (and did the "configure" process spot it?)

Re: Multiple get/set support.

2005-04-18 Thread Dave Shield
On Mon, 2005-04-18 at 07:40, Kodel Oleg wrote: > Is NET-SNMP support multiple get/set ? What do you mean by that? What exactly are you wanting to do? If you're asking whether the agent can handle a single request containing multiple varbinds, then the answer is yes. > If yes, the NET-SNMP split

Re: Compiling subagents

2005-04-18 Thread Dave Shield
On Sat, 2005-04-16 at 00:38, Budyanto Himawan wrote: > Is there any way to compile subagents using > net-snmp-config --compile-subagent such that > the subagent can talk to the master using TCP port > instead of unix domain socket? Not directly, no. You'd need to tweak the code that's generated a