snmptranslate and read_objid()

2005-06-15 Thread Mihir Lala
If I run snmptranslate as follows: snmptranslate -m MIBS/smi.my:MIBS/v2-smi.my:/MIBS/ENTERPRISE-1-STATS.my .1.3.6.1.4.1.5.2.4.2.0.1 ...where 5 is the enterprise Id and ENTERPRISE-1-STATS.my is a proprietary MIB for this enterprise, then I get the output as: ENTERPRISE-1-STATS-MIB:stat1

Re: Walk ends badly when proxy enabled

2005-06-15 Thread Robert Story
On Mon, 13 Jun 2005 17:56:54 -0700 John wrote: JH> Robert Story wrote: JH> JH> >On Wed, 8 Jun 2005 09:39:24 -0400 Robert wrote: JH> >I'm not sure if this will fix the issue, or if it is the right thing to JH> >do, but it's the best I can come up with in 5 minutes.. Let me know if it JH> >helps...

Re: Need help building rpm for net-snmp-5.2.1 - what is libbeecrypt.la

2005-06-15 Thread Robert Story
On Wed, 15 Jun 2005 17:05:04 -0400 Chuck wrote: CC> When trying to build using "rpmbuild -ba", I get a message that CC> "libbeecrypt.la" is missing. CC> CC> Does anyone know what package contains that file? beecrypt-devel -- NOTE: messages sent directly to me, instead of the lists, will be dele

Re: net-snmp compilation problem

2005-06-15 Thread Robert Story
On Tue, 14 Jun 2005 20:01:31 +0200 TFC wrote: T> I'm trying to compile net-snmp 5.2.1 what platform? T> I'm always getting an error during the make process: T> T> ucd-snmp/versioninfo.c: In function `var_extensible_version': T> ucd-snmp/versioninfo.c:97: error: `usr' undeclared (first use in thi

Re: agentx connection problem

2005-06-15 Thread Robert Story
On Tue, 14 Jun 2005 19:16:15 +0200 Thomas wrote: TA> Dave Shield wrote: TA> > On Tue, 2005-06-14 at 17:26, Paras Sharma wrote: TA> >> Problem solved. Subagent was looking for /var/run/agentx. TA> >> TA> >> Now starting snmpd with -x unix:/var/run/agentx TA> TA> It's the default on some distr

Re: array-user table set handling

2005-06-15 Thread Robert Story
On Mon, 13 Jun 2005 14:25:10 -0700 George, wrote: GG> I have a MIB implementation having tables and scalars. GG> The table is implemented using array-user.conf (Netsnmp v5.0.9).The GG> problem is that when I do a snmpset, the set_xxx routine(s) are not GG> being called. GG> GG> The error returned

Re: Host restricting

2005-06-15 Thread Robert Story
On Tue, 14 Jun 2005 10:59:00 +0100 Dave wrote: DS> SNMPv3 access control cannot apply restrictions based on DS> source addresses. If a request is received with valid DS> authentication information, then it's accepted. Everytime this question comes up, I tell myself I should go check the v3 specs

Re: snmptrapd memory leak ??

2005-06-15 Thread Robert Story
On Mon, 13 Jun 2005 12:48:56 -0500 Wu, wrote: WLA> I am using snmptrapd to receive the snmp traps, if I do not want to keep WLA> any number traps around in memory, do I set up a snmptrpad.conf file in WLA> /usr/etc/snmp/snmptrapd.conf ( this directory looks unusual, but this WLA> directory stated

Re: Problem while debugging with DDD

2005-06-15 Thread Robert Story
On Tue, 14 Jun 2005 09:53:44 +0530 Sridhar wrote: SS> Any inputs on the displaying of following line at the GDB window. SS> SS> list table_iterator.c:1 Line 1 of "table_iterator.c" is at address SS> 0x40130150 but contains no code. line 1 of table_iterator.c is likely to be a comment, so this w

Re: snmpd hangs on AIX 5.2

2005-06-15 Thread Robert Story
On Mon, 13 Jun 2005 13:01:36 +0800 Sawant, wrote: SP> Warning: no access control information configured. SP> It's unlikely this agent can serve any useful purpose in this state. Well, if you get this warning, the agent won't respond to any requests. SP> the command I'm running is --> /usr/local

Re: Problem with some IF and IP mib objects.

2005-06-15 Thread Robert Story
On Tue, 14 Jun 2005 12:57:50 +0530 krushna wrote: KB> >On Fri, 10 Jun 2005 18:56:34 +0530 krushna wrote: KB> >KB> I see that ifinNuCastPkts has been deprecated in favour of KB> >KB> ifInMulticastPkts and ifInBroadcastPkts. Also ifOutNUcastPkts is KB> >deprecated KB> >KB> in favour of ifOutMulticas

Need help building rpm for net-snmp-5.2.1 - what is libbeecrypt.la

2005-06-15 Thread Chuck Cottrill
Need help building rpm for net-snmp-5.2.1 - what is libbeecrypt.la?   I need to build a binary rpm for net-snmp-5.2.1, for linux redhat enterprise workstation. I need to have control over the build myself (for internal deployment), and I’m trying to Understand the interaction between th

nlist: No such file or directory AIX 5.2

2005-06-15 Thread skantner
I have compiled net-snmp 5.2.1 on AIX 5.2 using the IBM C compiler V7. My configure looked like this: CC=cc ./configure --disable-shared --with-defaults When I run /usr/local/sbin/snmpd,  it immediately stops, and there is one line in /var/log/snmpd.log:   "nlist: No such file or directory" What fi

RE: snmp_synch_response

2005-06-15 Thread George, Geo
Thanks Robert. Actually I am facing another problem with snmp_synch_response. Problem is Not able to do an internal Query for OID and get its value. Response PDU always returns "NO_SUCH_NAME". Attached is the code portion. == static netsnmp_session *callback_

Re: how to delete row from non-simple MIB table

2005-06-15 Thread Steve S. Law
--- Dave Shield <[EMAIL PROTECTED]> wrote: > On Wed, 2005-06-15 at 03:16, Steve S. Law wrote: > > My MIB > is a > > table generated by mib2c tool using iterate.conf. > One > > row in the table corresponds to one application > > process being monitored. >

Can't load HP mibs

2005-06-15 Thread Blaqb0x
hi, I'm trying to load the STATISTICS-MIB and CONFIG-MIB from HP. I simply copied hpSwitchConfig.mib and hpSwitchStat.mib into /usr/share/snmp/mibs then added "mibs ALL" to the snmp.conf file. When I try to snmpwalk I get a bunch of errors like these - Cannot

Realtime snmp based monitoring

2005-06-15 Thread Syed Ali
I am looking for a free realtime snmp based monitoring tool with a web gui, any recommendations? I have been using mrtg, but it's not realtime, the default refresh rate cannot be less than 5 minutes. I need 1 second updates on a web based graph for cpu utilization, and network utilization. --

Re: how to delete row from non-simple MIB table

2005-06-15 Thread Dave Shield
On Wed, 2005-06-15 at 03:16, Steve S. Law wrote: > My MIB is a > table generated by mib2c tool using iterate.conf. One > row in the table corresponds to one application > process being monitored. How do the iterator 'get_{first,next}' hook routines obtain

Re: Setting up snmpd so that the interfaces are viewable

2005-06-15 Thread Dave Shield
On Wed, 2005-06-15 at 03:16, Jeff Silverman wrote: > I am trying to view the interface OIDs (1.3.6.1.2.1.2) on my > linux server, but all I can see are the system OIDs (1.3.6.1.2.1.1). Please see the FAQ entry: I can see the system group, but nothing else. Why? > Next question: on page

Re: loading MIB files

2005-06-15 Thread Dave Shield
On Wed, 2005-06-15 at 01:49, Nourdeh, Allen (US SSA) wrote: > I am trying to load my new MIB file into net-snmp 5.2.1 on linux. > I put the file into the /usr/local/share/snmp/mibs directory, > and created the snmp.conf file with the following entry in > the /usr/local/share/snmp directory: > mi