Re: UCD memory object inconsistencies

2006-02-24 Thread Thomas Anders
Dave Shield wrote: As watchers of the CVS list will have realised, I've been doing some work on the UCD 'memory' group, and I've come across a couple of inconsistencies, which I thought I'd mention here. CVS MAIN doesn't even compile for me anymore (on Linux/x86): ucd-snmp/memory.c: In functio

How to disable/remove part of a MIB

2006-02-24 Thread cnelson
We have an enterprise MIB that is divided into a public section where you can get information about our devices and a "private" or "experimental" section which we use for testing. There are entries in the testing section that could make the device less secure than I would wish so I'm trying to fig

mib2c

2006-02-24 Thread amit limaye
I have been trying to generate header files from the MIB using mib2c. What i am interested in is generating the the OID list from it. This is wht my my sheel output look like [EMAIL PROTECTED] mibs]# echo $MIBS HCNUM-TC i have exported the MIBS variable When i run mib2c it give me this error

Re: linkup linkdown monitoring impacts the performance

2006-02-24 Thread David T. Perkins
HI, I'm concerned a little over the use of different terms that mean essentially the same thing, since this may confuse many people. That is, I've seen "alarm", "alert", etc. In all cases, it appears to me, that you are trying to find an efficient coding technique to determine when to generate an

UCD memory object inconsistencies

2006-02-24 Thread Dave Shield
As watchers of the CVS list will have realised, I've been doing some work on the UCD 'memory' group, and I've come across a couple of inconsistencies, which I thought I'd mention here. a) Should 'memSwapError' monitor 'memAvailSwap' or 'memTotalFree' ? Different architectures implement th

Re: CVS: net-snmp/agent/mibgroup/hardware/memory memory_aix.c,1.1 memory_darwin.c,1.1 memory_dynix.c,1.1 memory_freebsd.c,1.1 memory_hpux.c,1.1 memory_netbsd.c,1.1 memory_solaris.c,1.1 memory_linux.c,

2006-02-24 Thread Dave Shield
On Fri, 2006-02-24 at 17:32 +0100, Thomas Anders wrote: > > Extend memory HAL to cover all (well, most) supported architectures. > > Not yet tested on most of these systems, so there may easily be problems. > > But at least this should serve to keep Thomas happy > > It does, thanks! I'll see

Re: CVS: net-snmp/agent/mibgroup/hardware/memory memory_aix.c,1.1 memory_darwin.c,1.1 memory_dynix.c,1.1 memory_freebsd.c,1.1 memory_hpux.c,1.1 memory_netbsd.c,1.1 memory_solaris.c,1.1 memory_linux.c,

2006-02-24 Thread Thomas Anders
Dave Shield wrote: Update of /cvsroot/net-snmp/net-snmp/agent/mibgroup/hardware/memory In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25964/agent/mibgroup/hardware/memory Modified Files: memory_linux.c Added Files: memory_aix.c memory_darwin.c memory_dynix.c memory_freebsd.c memory_

Re: linkup linkdown monitoring impacts the performance

2006-02-24 Thread Robert Story
On Fri, 24 Feb 2006 10:29:31 +0100 (CET) Peder wrote: PCN> If you work on a system with "netlink" support (a linux system, for PCN> instance) and don't shrink from a bit of C coding you can make a solution PCN> that gives the alarms immediately, and costs absolutely nothing on PCN> run-time. The t

Re: implementing ifHCinoctets Solaris

2006-02-24 Thread Robert Story
On Fri, 24 Feb 2006 16:53:52 +0100 Malcolm wrote: MT> -I note that the kernel statistics are read in the file kernel_sunos5.c via MT> kstats. ifInoctets is derived from ipackets (amultiplied by 308 to get MT> octets presumably) . So I therefore gather for the ifHCinoctets counter MT> ipackets64 wou

Re: implementing ifHCinoctets Solaris

2006-02-24 Thread Dave Shield
On Fri, 2006-02-24 at 16:53 +0100, Malcolm Townsend wrote: > I note also there is an interface.c file in both /mibII and > in /mibgroup/if-mib/data_access. Forget about the mibII code - that's the original version, inherited from the CMU package. The 'if-mib' subtree is the new re-implementation,

implementing ifHCinoctets Solaris

2006-02-24 Thread Malcolm Townsend
Hi, I would be interested in having a stab at getting th ifHCinoctets 64counter (ifxtable) counter to work for Solaris. I have an ultra 5 with Solaris 9. I know little C, but have friends who can help me. I've started to have a look at the source code to try and understand what is going on. I'm a

Re: dot3 MIB

2006-02-24 Thread Dave Shield
On Fri, 2006-02-24 at 07:34 -0500, Dominique bastien wrote: > I want to implement the dot3 MIB (RFC3635) and MAU-MIB > (RFC3636) inside netSNMP, but I current face the > problem of using mib2c. I found some tutorial page but > they always talking about one node at the time. That's not correct. Th

dot3 MIB

2006-02-24 Thread Dominique bastien
Hi, I want to implement the dot3 MIB (RFC3635) and MAU-MIB (RFC3636) inside netSNMP, but I current face the problem of using mib2c. I found some tutorial page but they always talking about one node at the time. I try this: env MIBS="+EtherLike-MIB" mib2c -c mib2c.scalar.conf dot3StatsIndex But

RE: linkup linkdown monitoring impacts the performance

2006-02-24 Thread Peder Chr. Norgaard
On Fri, 24 Feb 2006 [EMAIL PROTECTED] wrote: > Date: Fri, 24 Feb 2006 15:28:18 +0530 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Cc: net-snmp-coders@lists.sourceforge.net > Subject: RE: linkup linkdown monitoring impacts the performance > > > Hi Peder, > > Could you plea

RE: linkup linkdown monitoring impacts the performance

2006-02-24 Thread siddesh.rajappa
Hi Peder, Could you please share the tutorial example you have tried? Or let us know from where we could get it? We would like to try this option... The impact of this monitoring is very high in our Agent implementation for wireless device. Regards, Siddesh -Original Message- From: P

Re: linkup linkdown monitoring impacts the performance

2006-02-24 Thread Dave Shield
On Fri, 2006-02-24 at 10:29 +0100, Peder Chr. Norgaard wrote: > The monitoring solution is inherently a terrible inefficient way of > generating data for what is basically an alarm: you face an unholy choice > between heavy load even when everything is OK, and large delay in being > told that some

Re: linkup linkdown monitoring impacts the performance

2006-02-24 Thread Peder Chr. Norgaard
On Fri, 24 Feb 2006, Dave Shield wrote: > On Fri, 2006-02-24 at 13:59 +0530, [EMAIL PROTECTED] wrote: > > > monitor -r 5 -e linkUpTrap "Generate linkUp" ifOperStatus != 2 > > monitor -r 5 -e linkDownTrap "Generate linkDown" ifOperStatus == 2 > > > Since this set-up makes frequently so man

Re: linkup linkdown monitoring impacts the performance

2006-02-24 Thread Dave Shield
On Fri, 2006-02-24 at 13:59 +0530, [EMAIL PROTECTED] wrote: > monitor -r 5 -e linkUpTrap "Generate linkUp" ifOperStatus != 2 > monitor -r 5 -e linkDownTrap "Generate linkDown" ifOperStatus == 2 > Since this set-up makes frequently so many system calls... > it affects the devices thruput

linkup linkdown monitoring impacts the performance

2006-02-24 Thread siddesh.rajappa
Hi,   I am using net-snmp-5.2.1 in power-pc, To send linkup and linkdown traps, the following configuration has been made in snmpd.conf file.   linkUpDownNotifications yes monitor  -r 5 -e linkUpTrap   "Generate linkUp" ifOperStatus != 2 monitor  -r 5 -e linkDownTrap "Generate li