Trap handling

2006-03-01 Thread vishakha s
Hi I just want some guidance in how to handle Traps and which file will handle trap . Thanks Vishakha The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged info

Mib Loading Problem

2006-03-01 Thread somenath.pal
Title: Mib Loading Problem Hi ALL, I am facing one problem. I need to implement some private MIBS. I have generated the .c and .h using mib2c and then generated "libmhso.so" .I kept the .so in /tmp/MH directory and all the other netsnmp libraries in /tmp/rh/lib. While configuring netsnmp I

How do I make my subagent as a library

2006-03-01 Thread Ramachandrappa, Nataraju Karidasarahalli
Hello All, My customer is asking for library function instead of binaries. How do I convert my sub agent binaries in to library functions. Please give me details. Thanks in Advance. Thanks Nataraju --- This SF.Net email is sponsored by xP

problem with snmpset. need help

2006-03-01 Thread sushma.sangameswaran
Hi,    I have a problem with snmpset. I am trying to set a octet-string variable in the MIB.Follwing is the type.  InetAddress ::= OCTET STRING (SIZE (0..255))     When  I try to set this variable with value 10.10.10.10 or the equivalent in hex 0A0A0A0A it sets the variable with a blan

RE: snmp cross-compiler error

2006-03-01 Thread sasikumar.bodathula
Title: RE: snmp cross-compiler error Thank you for ur inputs. Regards, Sasikumar. -Original Message- From: Raffles [mailto:[EMAIL PROTECTED]] Sent: Wed 3/1/2006 5:37 PM To: Sasikumar Bodathula (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmp c

Re: C subagent to C++

2006-03-01 Thread stan buyanov
Raffles, Please disregard the last email from me concerning patching. I changed the Makefile manually, and now a C++ subagent works with a master agent. I greatly appreciate your help, Raffles.Best Regards,Stan Raffles <[EMAIL PROTECTED]> wrote: To link the master

Anyone using Net-SNMP on Solaris 10

2006-03-01 Thread Jean-Sebastien Morisset
Hi everyone, Has anyone upgraded Net-SNMP on Solaris 10? It comes packaged with v5.0.9 (I think). I removed that package and installed v5.3.0.1 instead. Everything works fine on most servers (except for a little SAN disk space reporting issue on one server), but I get the following errors: Incor

Re: Bug?

2006-03-01 Thread Jean-Sebastien Morisset
On Wed, Mar 01, 2006 at 09:27:30AM +, Dave Shield wrote: > On Tue, 2006-02-28 at 14:28 -0500, Jean-Sebastien Morisset wrote: >> And I receive the following trap: >> >> mteTriggerFired trap received from devsolx4.dev.me.org: dskTable >> .1.3.6.1.4.1.2021.9.1.100.3 1 /export/san /export/san: les

Re: C subagent to C++

2006-03-01 Thread stan buyanov
Hi Raffles,When I am running: patch Makefile patch_file  I get a message: patch: malformed patch at line 4: # Misc Compiling Stuff. What is wrong?Thanks a lot for your help. Best Regards,StanRaffles <[EMAIL PROTECTED]> wrote: To link the master agent against C++ code you need

Can parse_oid_indexes() parse fixed-length string indexes?

2006-03-01 Thread Makavy, Erez (Erez)
I don't see in the table registration any information about the indexes' length (in case of fixed-length string)   And there is also no information about the length in the parameters of parse_oid_indexes() - int parse_oid_indexes( 

Help net-snmp to ignore my AgentX subagent

2006-03-01 Thread Militza Ramirez
Hi In a mail sent 2005-12-14 08:03, from Daniel Gudlat <[EMAIL PROTECTED]>, subject: net-snmp seems to ignore my AgentX subagent, he explain how solved his problem. I have the same problem. Daniel Gudlat, can you help me?. Is possible that you send me the Java-based AgentX implementation with

doesn't start snmpd

2006-03-01 Thread open sesami
Dear all; I installed with Solaris10. The NET-SNMP version is 5.0.8. Now, all configurations are finished. But I've having error as bellows. init_kmem: kvm_open failed: Error 0 Actually, the server is DELL(64bit) with Solaris10(well, OS is runing on 32 bit and 64bit compatible.) I've not

RE: doesn't start snmpd

2006-03-01 Thread Bruce Shaw
>I installed with Solaris10. The NET-SNMP version is 5.0.8. Now, all configurations are finished. >But I've having error as bellows. >init_kmem: kvm_open failed: Error 0 Solaris 10 is already using net-snmp, you don't need to re-install unless you're upgrading (which I don't recommend until I

Help net-snmp to ignore my AgentX subagent

2006-03-01 Thread Militza Ramirez
Hi In a mail sent 2005-12-14 08:03, from Daniel Gudlat <[EMAIL PROTECTED]>, subject: net-snmp seems to ignore my AgentX subagent, he explain how solved his problem. I have the same problem. Daniel Gudlat, can you help me?. Is possible that you send me the Java-based AgentX implementation with TCP s

RE: SNMP V3 + snmpTargetParamsTable configuration

2006-03-01 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On Wed,

Re: table_info->max_column

2006-03-01 Thread Dave Shield
On Wed, 2006-03-01 at 16:14 +0100, Palmentieri Nunzio wrote: > Hi all, > someone could explain me what is the meaning of > "table_info->max_column", For a given table, MIB column object will typically have consecutive subidentifier numbers. E.g. for the IF-MIB::ifTable, these run from ifIndex(1) t

table_info->max_column

2006-03-01 Thread Palmentieri Nunzio
Title: Messaggio Hi all, someone could explain me what is the meaning of "table_info->max_column", as changing it, the agent has several behaviour (in the worst case, my GEt fail). I intended it as follows:   Number of rows * Number of columns  in the MIB result table.   Is it correc

Re: SNMP V3 + snmpTargetParamsTable configuration

2006-03-01 Thread Dave Shield
On Wed, 2006-03-01 at 18:42 +0530, [EMAIL PROTECTED] wrote: > The following is the some snapshot of snmpTargetParamsTable query [snip] > Is there any #directives to set the attributes > (MPModel,SecModel,SecLevel etc.) inside snmpd.conf to populate the > values inside the ParamsTable wi

SNMP V3 + snmpTargetParamsTable configuration

2006-03-01 Thread kanakamahesh.anasuri
Title: SNMP V3 + snmpTargetParamsTable configuration Hi, I need some help in configuring the snmpTargetParamsTable using the directives (ifany) snmpd.conf has the following entries for (Community/Security Name) -- rwuser testuser1 noauth    # V3 User rocommunity wifi   # v2

RE: snmp cross-compiler error

2006-03-01 Thread kanda.samy
Title: RE: snmp cross-compiler error Hi Sasi, Use C_COMPILER=3Dppc_82xx-gcc ./configure --with-mib-modules="CPEAdapter wimax standard disman/event-mib" --host=ppc-ibm-linux --with-endianness=big or CC=ppc_82xx-gcc ./configure --with-mib-modules="CPEAdapter wimax standard disman/event-mib

Re: snmp cross-compiler error

2006-03-01 Thread Raffles
I think you just need to follow the advice in the error message. To cross compile for powerPC, we're successfully using ./configure --host=powerpc-8540-linux-gnu --with-endianness=big We've also manually specified the compiler (inherent in our build). CC=/opt/crosstool/gcc-3.4.4-glibc-

snmp cross-compiler error

2006-03-01 Thread sasikumar.bodathula
Title: snmp cross-compiler error Hi All, I am using net-snmp-5.2.1.2 and i want to compile with powerpc compiler for that i used the following option for configuring. ./configure --with-cc=ppc_82xx-gcc After this i am getting following error. checking what to build and install...  age

Re: compile problem on solaris 8

2006-03-01 Thread Thomas Anders
Joe Shen wrote: Are you sure you unpack the tarball correctly? To my experience, Solaris's tar could not do with long directory path. So, GNU tar must be used with unpacking. Yes, that's likely the solution for the original poster. However, it's actually more of a problem with our tarball rat

snmpd service problem

2006-03-01 Thread nik600
i think that the snmpd service is ignoring my configuration, because one time it gives me an error , and sometimes another... can i start smpd with a specific configuration file and be sure that the right configuration is loaded? i've tried to analyze the low-levels calls with strace, and i've see

Re: NET-SNMP agent is not responding to manager request(snmpget,snmpgetnext etc)

2006-03-01 Thread Dave Shield
On Wed, 2006-03-01 at 12:50 +0530, Manish wrote: > I follow the entire step to install Net-SNMP on my machine, then I > register Net-SNMP agent with my machine. > > But it is not responding to manager requests as snmpget. How have you configured the Net-SNMP agent? In particular, what access cont

Re: Bug?

2006-03-01 Thread Dave Shield
On Tue, 2006-02-28 at 14:28 -0500, Jean-Sebastien Morisset wrote: > And I receive the following trap: > > mteTriggerFired trap received from devsolx4.dev.me.org: dskTable > .1.3.6.1.4.1.2021.9.1.100.3 1 /export/san /export/san: less than 25% > free (= 515%) > > Here's the snmpwalk section for thi

Re: how to get rid of libcrypto?

2006-03-01 Thread Dave Shield
On Tue, 2006-02-28 at 12:02 -0800, Catherine Io wrote: > How can I get rid of libcrypto.so, libkrb.so etc. So that they > don’t need to be loaded at runtime? configure --without-openssl Dave --- This SF.Net email is sponsored by xPML, a g

Re: Down or flapping errors //third try

2006-03-01 Thread Peter Martin
Jaak,   Please, do NOT send large attachments to the list. Provide a link to the material if it is relevant.   Pete - Original Message - From: Jaak Dejonckheere To: net-snmp-users@lists.sourceforge.net Sent: Tuesday, February 28, 2006 1:15 PM Subject: FW: Down or

NET-SNMP agent is not responding to manager request(snmpget,snmpgetnext etc)

2006-03-01 Thread Manish
Hi,   I follow the entire step to install Net-SNMP on my machine, then I register Net-SNMP agent with my machine. I had stop Microsoft SNMP agent and started Net-SNMP agent service from SCM. It is not responding with Net-SNMP agent but it is with Microsoft agent. But it is not respondi

how to get rid of libcrypto?

2006-03-01 Thread Catherine Io
I compiled net-snmp 5.3.0.1 for linux, with –disable-privacy. Basically I don’t need v3 mibs or any of the encryption stuffs. I just need a simple snmp v2c agent.  And my space is really limited. How can I get rid of libcrypto.so, libkrb.so etc. So that they don’t need to be loaded at runti

Re: C subagent to C++

2006-03-01 Thread Raffles
To link the master agent against C++ code you need to link with g++, but don't compile with it. Compile the main agent with gcc as normal. The normal makefiles which ./configure generates don't allow you to do this, but I've submitted a bug report to request that the ./configure script allows yo

snmptrapd.conf problem

2006-03-01 Thread vishakha s
Hi I am learning about traps in net-snmp .There is a problem related to snmptrapd.conf file .When I issue the following command ./snmptrapd -m ALL -P It gives the following error : Cannot find module (IF-MIB): At line 0 in (none) /home/rajesh/snmptrap1/share/snmp/snmptrapd.conf: line 10: Error: