Re: Getting output as pss->s_snmp_errno != (-11) failed

2006-03-07 Thread Santhosh
Thanks for the help I have sorted out the problem If I face any problems i will share it with the group I would be even greatful to sort the problems in the mailing list also thanks, santhosh - Original Message - From: "Wes Hardaker" <[EMAIL PROTECTED]> To: "Santhosh" <[EMAIL PROTECTED

Re: mib2c

2006-03-07 Thread kanda.samy
Title: Re: mib2c Hi amit, You can get the same from mib2c. Put the following lines into mib2c.sample-header.conf #-*- ## ## Do the .h file ## @open ${

Re: hpux11 with net-snmp 5.3.0.1 compike fail

2006-03-07 Thread Thomas Anders
Wes Hardaker wrote: Ok so we're going to rename those files? Note that we need to account for pre releases too which means net-snmp-5.3.0.1.pre1 is a valid directory name. That actually brings us up to 25 files if I did the math right: Now that turns out to be one of the opportuniti

Fwd: Re: mib2c

2006-03-07 Thread amit limaye
Followup to the earlier mail i modified the mib2c.conf files in the /usr/local/share/snmp/ directory and generated code using a template i wrote. Hope this is the right way to do it -SIGTERM amit --- Weitergeleitete Nachricht --- Von: "amit limaye" <[EMAIL PROTECTED]> An: Wes Hardaker <[EMAI

Re: regarding route entry

2006-03-07 Thread Wes Hardaker
> On Mon, 20 Feb 2006 22:09:02 -0800 (PST), md salauddin <[EMAIL > PROTECTED]> said: md> I have added one static route entry on my router and when i try to md> access ip mib from snmp it is showing the added entry and when i md> remove that static route entry from my routing table , it is

Re: Can't get libtool to recognize -s

2006-03-07 Thread cnelson
> > On Thu, 02 Mar 2006 12:36:25 -0500, [EMAIL PROTECTED] said: > > cnelson> My change to configure.in had put this in configure: > > cnelson> if test "${enable_stripped+set}" = set; then > cnelson> enableval="$enable_stripped" > cnelson> INSTALL="$INSTALL -s" > cnelson> LDFLAGS="$LDFLAGS -s"

Re: snmptrap application, Best practice

2006-03-07 Thread Wes Hardaker
> On Tue, 21 Feb 2006 10:07:59 +0100, "Christian Dahlqvist" <[EMAIL > PROTECTED]> said: Christian> I' would like to know what is the best practice in my Christian> case. I want to use snmptrap in a embedded system with Christian> limited memory to send trap/inform to a manager. Can I Chri

Re: hpux11 with net-snmp 5.3.0.1 compike fail

2006-03-07 Thread Wes Hardaker
> On Tue, 21 Feb 2006 15:09:19 +, Dave Shield <[EMAIL PROTECTED]> said: Dave> net-snmp-5.3.0.1/agent/mibgroup/ is 33 characters, so that Dave> would still leave us 60+ to play with. There's no real reason Dave> why we have to stick to the exact names of MIB modules and/or Dave> objects.

Re: mib2c

2006-03-07 Thread amit limaye
wes i eventually got it work my SMI had some line termination errors which was causing it not to find some nodes thus throwing the errors i set the debug level in snmp.conf and found out tht problem downloaded a new set MIB and everything works now. But now i m facing one more problem I want

Re: differentiating between 2 devices of the same type

2006-03-07 Thread Wes Hardaker
> On Wed, 22 Feb 2006 21:07:09 +0100 (MET), "amit limaye" <[EMAIL > PROTECTED]> said: amit> Does the get request need a specific IP address or can it be broadcast as amit> well. SNMP isn't designed for broadcasting (though people have forced it to work). You need to send each SNMP requ

Re: snmpgetnext with multiple varbindes problem

2006-03-07 Thread Wes Hardaker
> On Thu, 23 Feb 2006 10:21:28 +0530, <[EMAIL PROTECTED]> said: nanda> To iterate over the var binds, you can use kanda> var = var->next_variable; No you shouldn't iterate over that variable. The main incoming SNMP request may contain variables outside the scope of the current module.

Re: Getting output as pss->s_snmp_errno != (-11) failed

2006-03-07 Thread Wes Hardaker
> On Thu, 23 Feb 2006 10:59:46 +0530, "Santhosh" <[EMAIL PROTECTED]> said: santhosh> the output i have got is netsnmp_assert pss->s_snmp_srrno != (-11) santhosh> failed snmp_api.c:3119 snmp_build() snmpwalk : Error building ASN.1 santhosh> representation (Can't build OID for the variable) If

Re: mib2c

2006-03-07 Thread Wes Hardaker
> On Fri, 24 Feb 2006 21:21:13 +0100 (MET), "amit limaye" <[EMAIL > PROTECTED]> said: amit> [EMAIL PROTECTED] mibs]# echo $MIBS amit> HCNUM-TC amit> i have exported the MIBS variable I'm not sure exactly why you're running into that error. It appears from a really high-level view that

Re: Error building ASN.1 representation

2006-03-07 Thread Wes Hardaker
> On Tue, 28 Feb 2006 03:43:00 -0800 (PST), venkayamma dudipally <[EMAIL > PROTECTED]> said: venkayamma> But i got the string values successfully, for getting venkayamma> the unsigned integer variables i am getting the venkayamma> following error at the agent. venkayamma> "send response

Re: excluding subtrees with views.

2006-03-07 Thread Wes Hardaker
> On Thu, 02 Mar 2006 14:27:33 +, Dave Shield <[EMAIL PROTECTED]> said: Dave> So according to that description, a view such as Dave> view notSystem excluded .1.3.6.1.2.1.1 Dave> would actually not cover *any* MIB objects whatsoever. Dave> With our current implementation, it would allo

Re: Can't get libtool to recognize -s

2006-03-07 Thread Wes Hardaker
> On Thu, 02 Mar 2006 12:36:25 -0500, [EMAIL PROTECTED] said: cnelson> My change to configure.in had put this in configure: cnelson> if test "${enable_stripped+set}" = set; then cnelson> enableval="$enable_stripped" cnelson> INSTALL="$INSTALL -s" cnelson> LDFLAGS="$LDFLAGS -s" cnelson> fi; I

Re: invoking grep from mib2c

2006-03-07 Thread Wes Hardaker
> On Fri, 3 Mar 2006 17:59:13 +0530, <[EMAIL PROTECTED]> said: kanda> [EMAIL PROTECTED]@ kanda> #if [[ $(grep -c "$i.parent" tst.txt) != 0 ]];then echo "working 123";fi kanda> [EMAIL PROTECTED]@ That's not perl in there... that looks more like sh. Try this instead: @startperl@ system("grep

Re: Doubt regarding linking MIB file in Net-Snmp

2006-03-07 Thread Wes Hardaker
> On Thu, 2 Mar 2006 08:44:53 -0800, "v.balaji mca" <[EMAIL PROTECTED]> > said: v> I don't know how to design a good mib . Now i have designed a simple mib v> after reading some materials from the net. It's hard to design good mibs... I do recommend the book "understanding snmp mibs" by

Re: SNMPWALK problem

2006-03-07 Thread Wes Hardaker
> On Thu, 2 Mar 2006 22:09:59 +0800, "Roger Marc Sison" <[EMAIL PROTECTED]> > said: Roger> Im having problem with my SNMP. I've installed my SNMP on my Roger> pc (red hat OS) using a private IP address. There is no Roger> problem quering (SNMPWALK) same segment but whenever I tried Roge

Re: Process and Memory - Reg

2006-03-07 Thread Wes Hardaker
> On 7 Mar 2006 04:04:34 -, "madhan raj" <[EMAIL PROTECTED]> said: madhan> I am using Net-SNMP 5.3.0.1 in my router. Just i want to hide madhan> the informations related to memory of my router and also the madhan> processes running in my router which all can be seen using madhan> some MIB

Re: Coverity Open Source Defect Scan of NetSNMP

2006-03-07 Thread Wes Hardaker
> On Sun, 05 Mar 2006 22:51:32 -0800, Ben Chelf <[EMAIL PROTECTED]> said: Ben> I'm the CTO of Coverity, Inc., a company that does static source Ben> code analysis to look for defects in code. Hi Ben, I'm the founder and lead-developer of Net-SNMP. I've registered with your site to look at y

Re: Regarding OS Type

2006-03-07 Thread Wes Hardaker
> On Sat, 4 Mar 2006 16:30:42 +0530, "Justin Joseph" <[EMAIL PROTECTED]> > said: Justin> I am working with both Windows and Linux OS. I am interested Justin> in getting the OS type (like Windows 2000/2003/XP or Redhat 9 Justin> etc. ) of a PC / Server. sysDescr (mib2.system.sysDescr) will

Re: snmpd as Master and sub-agent

2006-03-07 Thread Wes Hardaker
> On Mon, 6 Mar 2006 17:37:11 -0600, "David Hill" <[EMAIL PROTECTED]> said: David> 1. Can I launch 1 snmpd as the "master agent" (snmpd.conf David> as master agent) and another snmpd as a sub-agent ( with -X David> argument) and reading snmpdx.conf directly with the PROC, LOAD, David> DI

Re: Drivers snmp

2006-03-07 Thread Wes Hardaker
> On Fri, 3 Mar 2006 16:10:54 +0100, [EMAIL PROTECTED] said: mercedes> Do you know some SW driver to translate SNMP V1 & 2 to SNMPV3? mercedes> Or some physical device to do this translation? Our snmp agent can "proxy" v1/v2c requests to and from SNMPv3. See the "proxy" configuration directi

Re: linkup linkdown monitoring impacts the performance

2006-03-07 Thread Wes Hardaker
> On Fri, 24 Feb 2006 10:29:31 +0100 (CET), "Peder Chr. Norgaard" <[EMAIL > PROTECTED]> said: Peder> The monitoring solution is inherently a terrible inefficient Peder> way of generating data for what is basically an alarm: you face Peder> an unholy choice between heavy load even when eve