Re: cannot do snmpset on ipForwarding

2007-03-22 Thread David Wu
Hi Dave, On Thu, 22 Mar 2007 05:32:55 -0400, Dave Shield <[EMAIL PROTECTED]> wrote: > On 21/03/07, David Wu <[EMAIL PROTECTED]> wrote: >> I recently compiled the net-snmp-5.4 with ./configure (no other options) >> on a x86(suse 8.2) machine. > > Can you check the source tree, to see which versi

Re: Embedding NetSNMP : small footprint

2007-03-22 Thread Kelby Rogers
Hi M. I am running net-snmp on a 8MB Flash powerPC. To get the size down see the FAQ section on  "How can I reduce the installation footprint or speed up compilation?" http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_05 Also make sure to strip the symbols from your libraries to save space

Re: HELP: About cross-compile net-snmp to uclinux of ARM platform

2007-03-22 Thread Kelby Rogers
I have succesfully updated the buildroot.uclibc.org net-snmp makefile from v5.1.2 to v5.4 running on an embedded powerPC. You may be able to adapt the buildroot makefile to use with uclinux. If you are unfamiliar with buildroot this is an extract from the buildroot website: "Buildroot is a

Re: Latest RPM for Centos 3.x x86_64?

2007-03-22 Thread Les Mikesell
Les Mikesell wrote: > I'm trying to use opennms to collect data from some CentOS3.x x86_64 > boxes but I am getting an error "Integer too large: cannot decode" > that http://bugzilla.opennms.org/cgi-bin/bugzilla/show_bug.cgi?id=1316 > says is a bug in net-snmp that was fixed in a later versi

Re: trap information interchange: in text format

2007-03-22 Thread Joao Miguel Ferreira
Hi Dave, I just foun the time to make some tests... about your question: > > VARBIND_OID=".1.3.6.1.2.1.a.b.c.d.e" > > VARBIND_TYPE="Integer" > > VARBIND_VALUE="1000" > > VARBIND_OID=".1.3.6.1.2.13.45.w.v.z.q" > > VARBIND_TYPE="Srting" VARBIND_VALUE="Hello World" > > How would you handle string

HELP: About cross-compile net-snmp to uclinux of ARM platform

2007-03-22 Thread jin zhou
Dear all, I have some troubles about cross-compile net-snmp to ARM platform.Because the version of net-snmp package in the uclinux-dist is too old,so i want to cross-compile a newer package to replace it.Then: #CC=arm-elf-gcc LDFLAGS="-elf2flt -staic" ./configure --host=armv-samsun

Re: Monitoring disk usage

2007-03-22 Thread cnelson
> On 22/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > The other possibility would be to set up a "monitor" entry on > > > dskUsed. Slightly forced, but a delta monitor compared against > > > 0 might fo the trick. > > > > That sounds great but I admit the snmpd.conf man page isn't > >

Re: Monitoring disk usage

2007-03-22 Thread Dave Shield
On 22/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > The other possibility would be to set up a "monitor" entry on dskUsed. > > Slightly forced, but a delta monitor compared against 0 might fo > > the trick. > > That sounds great but I admit the snmpd.conf man page isn't sufficiently > cle

Re: Monitoring disk usage

2007-03-22 Thread cnelson
> > ... > > The other possibility would be to set up a "monitor" entry on > > dskUsed. Slightly forced, but a delta monitor compared against 0 > > might fo the trick. > > That sounds great but I admit the snmpd.conf man page isn't > sufficientlyclear to me for me to do that. Got any examples?

Re: Monitoring disk usage

2007-03-22 Thread cnelson
> ... > The other possibility would be to set up a "monitor" entry on dskUsed. > Slightly forced, but a delta monitor compared against 0 might fo > the trick. That sounds great but I admit the snmpd.conf man page isn't sufficiently clear to me for me to do that. Got any examples? --

Re: Monitoring disk usage

2007-03-22 Thread Dave Shield
On 22/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Have a look at the 'file' directive. > > Maybe that might be of some use. > > That's good for the files I know I have links for but I was hoping for a > way that I could catch new logging to files I forgot to link to > /dev/null. Unless

Re: Monitoring disk usage

2007-03-22 Thread cnelson
> On 22/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have several programs which log to /var/log. I > > could end up with an ever-growing log file. > > > > What I'd like to do is be able to remotely determine if any file in > > /var/log is growing. I suppose I could have a start

Access not within mapped region at address

2007-03-22 Thread mehdi KADIRI
Hi, I am using netsnmp 5.3 on readhat enterprise 4. I am writting an agentx sub agent and i am getting the following back trace using valgrind : Invalid read of size 1 ==26756==at 0x52ECBF: agentx_check_packet (in /usr/lib/libnetsnmpagent.so.10.0.0) ==26756==by 0x6A7F76: _sess_read (i

Re: Monitoring disk usage

2007-03-22 Thread Dave Shield
On 22/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have several programs which log to /var/log. I > could end up with an ever-growing log file. > > What I'd like to do is be able to remotely determine if any file in > /var/log is growing. I suppose I could have a startup script wh

Monitoring disk usage

2007-03-22 Thread cnelson
I've seen and experimented with the disk directive in snmpd.conf but it's not quite doing what I need and I'm hoping someone can suggest a way to use it or another method to accomplish what I need. I have several programs which log to /var/log. Generally, there are links there that point to /dev/

RE: MIB2C for compiling MIB

2007-03-22 Thread Adam Bell
I could not find something like this either. I wrote a bash script and named every scalar, table, and trap so I could run them all. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Madan Mohan Sent: Thursday, March 22, 2007 2:04 AM To: net-snmp-users@lists

Re: MIB2C for compiling MIB

2007-03-22 Thread Dave Shield
On 22/03/07, Madan Mohan <[EMAIL PROTECTED]> wrote: > Is there any way we can compile the entire MIB through > mib2C compiler in a single shot? For what purpose? What exactly are you trying to do? Dave - Take Surveys

Re: snmpd: unknown token: master, agentxsocket

2007-03-22 Thread Dave Shield
On 22/03/07, Ling <[EMAIL PROTECTED]> wrote: > I am using uClinux from snapgear. I didn't run "configure", I just ran the > makefile comes with this package. Then you'll need to speak to the snapgear people about how their package is configured. It looks as if the configuration you are using does

Re: table of tables

2007-03-22 Thread Dave Shield
On 21/03/07, José ESTEVES <[EMAIL PROTECTED]> wrote: > I would like to define a table of table You can't. That's not valid SMI structure. > How must I define them and how can I access such data ? You need do define "parallel" tables, with the second table sharing the same index objects as the f

Re: cannot do snmpset on ipForwarding

2007-03-22 Thread Dave Shield
On 21/03/07, David Wu <[EMAIL PROTECTED]> wrote: > I recently compiled the net-snmp-5.4 with ./configure (no other options) > on a x86(suse 8.2) machine. Can you check the source tree, to see which version of the IP-MIB code is being used?(i.e. which object files have been created) There shoul

Re: trap information interchange: in text format

2007-03-22 Thread Joao Miguel Ferreira
Thank you Dave. I got it. jmf On Wed, 2007-03-21 at 23:06 +, Dave Shield wrote: > On 21/03/07, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote: > > > At a minimum, you'll need to be able to handle: > > > > > >SNMPv1) trap type (2 integers) > > > enterprise (OID)

logging in net-snmp

2007-03-22 Thread anand anand
Hello all, I am using net-snmp 5.2.1 for Solaris I have put the following option in the snmp.conf file :- doDebugging = 1. With this i am able to see the logs generated in the snmpd.log file. But after running net-snmp for 48 hrs the log file size grows very huge, consuming a l

Regarding LM-Sensors

2007-03-22 Thread Gaurav Ghimire
Dear all, Just a question while we poll for the disk usages we have to edit the snmpd.conf file but while polling the LM-SENSORS-MIB.txt do we have to edit it somewhere in snmpd.conf or does anything need to be edited. If yes please do guide me. Regards, Gaurav --