SNMPSET Problem

2006-03-20 Thread Vishakha Sharma
Hi I want to perform snmpset on the mib i added .I gave the following command [EMAIL PROTECTED] bin]# ./snmpget -c public 10.9.10.195 .1.3.6.1.4.1.272.4.8.1 2.0 SNMPv2-SMI::enterprises.272.4.8.1.2.0 = INTEGER: 2 I tried changing the value of the variable thru following command [EMAIL PROTECTED] b

[Fwd: [Fwd: Re: Problem with sprint_realloc_iteger()]]

2006-03-20 Thread Rashmi M Bangera
Hi, i have included the sections of my code. getIndex method is as follows. long* getIndex(void *data_context,int *len) {     udata *ud = data_context;     *len = sizeof(ud->ifindex);     return &ud->ifindex; } structure udata contains all the interface details fetched from ioctl call i

Question about adding atmMIB.atmInterfaceConfTable in netsnmp agent

2006-03-20 Thread Leitrend
Hi there,Question on new mib and agent support to netsnmp version 5.3.0.1 in Redhat Linux kernel.I have followed on-line tutorial instructions and ifTable example for using mib2c.mfd.conf to configure, build snmp agent with add-on atmInterfaceConfTable snmp agent support as configuration be

Query about SNMP v3 agent setup.

2006-03-20 Thread raghavendra.sadaramachandra
Hi All,      I got net-snmp-5.3.0.1.tar.gz. Successfully compiled and got snmp daemon(snmpd). I have to setup SNMP v3 agent. But I dont know what the configuration file should contain. I saw that there is snmpconf binary which is used for creating configuration files, but it has too many o

snmptrapd with increasing memory usage on RHEL 4

2006-03-20 Thread Gertraud Unterreitmeier
Hello, we are running snmptrapd on Redhat 4 (net-snmp-5.1.2) to monitor traps from different kind of applications. When switching from ucd-snmp to net-snmp I recognize an increasing amount of memory usage. After a few hours and about 400 traps received the snmptrapd daemon is running using 65 MB

Proxy MS AGENT through Net-SNMP

2006-03-20 Thread Timothy A. Holmes
In response to my ongoing struggles with the MS SNMP Agent,  Someone on the IRC channel suggested that I should proxy the data from the MS Agent through the NET-SNMP agent.  Can someone please explain to me how to do this?  It is not a procedure which I am familiar with, nor have I seen any

RE: snmptrapd with increasing memory usage on RHEL 4

2006-03-20 Thread Pamidipati Suresh-G20238
Hi, If you are using net-snmp-5.2.2, try out by specifying --disable-snmptrapd-subagent as one of the options to configure. This may fix the memory leak that you observed in snmptrapd. Regards, Suresh. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ge

Query about SNMP v3 agent setup.

2006-03-20 Thread raghavendra.sadaramachandra
Hi All,      I got net-snmp-5.3.0.1.tar.gz. Successfully compiled and got snmp daemon(snmpd). I have to setup SNMP v3 agent. But I dont know what the configuration file should contain. I saw that there is snmpconf binary which is used for creating configuration files, but it has too many op

Conversion of SNMP v2 error codes to SNMPv1

2006-03-20 Thread Pamidipati Suresh-G20238
Title: Message Hi All,   We are using Net-snmp-5.2.2 is used as Agentx subagent and master agent If SNMPv1 request is given to snmpd and subagent returns SNMPv2 error codes in the AgentX Response pdu to the master agent, will these errors be converted to SNMPv1 errors..? If so, how these e

Request for snmpd.conf with snmp v3 support

2006-03-20 Thread raghavendra.sadaramachandra
Hi friends,      Can any one send me snmpd.conf file with snmp v3 support for net-snmp-5.3.0.1.     Since I am using net-snmp for the first time I really dont know any thing and I am getting confused with so many binaries used to create user,.. like net-snmp-config...etc. So all I need is

Net-snmp SNMPv3 not working SNMP Research DSSP tools

2006-03-20 Thread Darren Besler
On Fri, Mar 10, 2006 I posted a item to this mailing list with subject line "msgMaxSize handling not RFC compliant". http://sourceforge.net/mailarchive/message.php?msg_id=14997558 To followup, this "issue" was uncovered in the use of SNMP Research's Config Wizard applet, which is included with

snmpd.conf for snmpv3

2006-03-20 Thread raghavendra.sadaramachandra
Hi friends,   I have got a following snmpd.conf for snmp v3 by using snmpdconf. Is this the correct one ? How to test it ? the tar ball i used is net-snmp-5.3.0.1.tar.gz. -snmpd.conf begins here---

Traphandler problem

2006-03-20 Thread Pedro Henrique Morsch Mazzoni
Hi, I am using the traphandler directive in snmptrapd to parse output to a script: #snmptrapd.conf authCommunity log public authUser log lps traphandle default /net/users/mazzoni/faculdade/pf/fontes/traphandler.pl And the script traphandler.pl: #!/usr/bin/perl # A simple trap handler my $TRAP_F

net-snmp user to receive getone

2006-03-20 Thread Vincenzo
Hi All,My environment is Linux Suse 10 and i configured net-snmp-5.3.0.1. I succed to send trap in snmpv3 to hpux system and all others. My problem is the follow:On hpux system i installed the SNMP Security Pack to send and receive a snmpv3 traps. So when i try to run the "getone" command from hpux

RE: Unable to Generate Traps on Processes, etc...

2006-03-20 Thread Billington, David
Title: Re: Unable to Generate Traps on Processes, etc... Thanks for your help! Please see responses below: From: Dave Shield [mailto:[EMAIL PROTECTED]Sent: Thu 3/16/2006 3:10 AMTo: Billington, DavidCc: net-snmp-users@lists.sourceforge.netSubject: Re: Unable to Generate Traps on Process

RE: Unable to Generate Traps on Processes, etc...

2006-03-20 Thread Dave Shield
On Mon, 2006-03-20 at 10:09 -0600, Billington, David wrote: > > trapsink > > trapsink > > trapsink > > informsink > > informsink > > informsink > > Why do you want to send *two* copies of each trap to each > of these destinations? Please use *EITHER* "tr

Re: net-snmp user to receive getone

2006-03-20 Thread Thomas Anders
Vincenzo wrote: On hpux system i installed the SNMP Security Pack to send and receive a snmpv3 traps. So when i try to run the "getone" command from hpux to my Linux node, the followin error shows me : getone: REPORT received, cannot recover: at line 785 in file u

RE: Unable to Generate Traps on Processes, etc...

2006-03-20 Thread Billington, David
Title: RE: Unable to Generate Traps on Processes, etc... Thanks. Any comments on the rest?   Also, I've tried starting the snmpd process with the "-Dmte" and "-D" options, but there is no output. The process simply starts.   Thanks again, David From: Dave Shield [mailto:[EMAIL PROTECTED

Re: Traphandler problem

2006-03-20 Thread Pedro Henrique Morsch Mazzoni
Fixed, authentication problems. Anybody has written a c ansi traphandler? And what about the pidFile directive in snmptrapd.conf, can I send the notifications to another daemon? Anybody did that? Thanks, Pedro Mazzoni 2006/3/20, Pedro Henrique Morsch Mazzoni <[EMAIL PROTECTED]>: Hi, I am using th

Re: Traphandler problem

2006-03-20 Thread Thomas Anders
Pedro Henrique Morsch Mazzoni wrote: Anybody has written a c ansi traphandler? Feel free to use the programming language you're familiar with. If you are, then it shouldn't be hard to write a basic trap handler in C. If you're *not*, don't do. ;-) And what about the pidFile directive in sn

RE: Unable to Generate Traps on Processes, etc...

2006-03-20 Thread Dave Shield
On Mon, 2006-03-20 at 10:39 -0600, Billington, David wrote: > Thanks. Any comments on the rest? Not without more information. > Also, I've tried starting the snmpd process with the "-Dmte" and "-D" > options, but there is no output. The process simply starts. Oh, there will be output - particul

RE: Unable to Generate Traps on Processes, etc...

2006-03-20 Thread Billington, David
Title: RE: Unable to Generate Traps on Processes, etc... OK, with "snmpd -f -L -Dmte" (the 'e' is not valid in this version) I get:   Warning: Unknown token: agentSecName Warning: Unknown token: defaultMonitors   I think this means the disman/event module is not loaded? compiled? Please c

Re: Unable to Generate Traps on Processes, etc...

2006-03-20 Thread Thomas Anders
Billington, David wrote: OK, with "snmpd -f -L -Dmte" (the 'e' is not valid in this version) I get: Warning: Unknown token: agentSecName Warning: Unknown token: defaultMonitors I think this means the disman/event module is not loaded? compiled? Please confirm. net-snmp-config --version ne

Question on adding atmMIB.atmInterfaceConfTable in netsnmp agent

2006-03-20 Thread Ke, Lei (Titan) @ TITAN
Question on new mib and agent support to netsnmp version 5.3.0.1 in Red hat Linux kernel. I have followed on-line tutorial instructions and ifTable example for using mib2c.mfd.conf to configure, build snmp agent with add-on atmInterfaceConfTable snmp agent support as configuration below. Sent

proxyed agents and dynamic module

2006-03-20 Thread Guillaume Desticourt
hello, i need a hint regarding the use of the net-snmp agent. i wrote my MIB, which contains 3 Integer32 variables. the first two variables are queryed to proxyed  agents, using the proxy directive in the snmpd.conf file. but the third one is to be computed using the first ones, in a dynamic modu

probably a stupid question

2006-03-20 Thread Kane Estess
Attached is a silly patch to complete the /usr/bin/openssl train of thought in the README.win32 directions. It fixes the following error on the Cygwin compilation: checking for authentication support... configure: error: Asked to use OpenSSL bu t I couldn't find it It wasn't even close to deservi

RE: Timeout: No Response after output of last OID

2006-03-20 Thread Ajay Hotchandani
Hi Dave, Thanks a lot for all your help. I see only outgoing dump, following is output for that: === Sending 39 bytes to UDP: [127.0.0.1]:161 : 30 25 02 01 01 04 06 70 75 62 6C 69 63 A1 18 020%.public... 0016: 04 3B D0 8C C9 02 01 00 02 01 00 30 0A 30 08 06.;..

problems with tcpConnTable and udpConnTable

2006-03-20 Thread Rashmi M Bangera
Hi, i am using net-snmp on linux 2.4.Whenever i issue snmptable command for tcpConnTable and udpConnTable,The agent dies with segmentation fault. snmptable tcpConnTable output: sprint_by_type, type 64    index: type=64(40), value=IpAddress: trace: sprint_realloc_by_type(): mib.c, 1978: outp