RE: snmpset - OSPF-MIB

2010-06-30 Thread Nina Cukic
Hi Mike, thanks for reply! Is there any chance to change the code for OSPF-MIB, to make it writeble? Does this mean that all protocols (RIP,OSPF and BGP) that are supported by SMUX are only from monitoring? Best regards! Nina --- On Thu, 1/7/10, Mike Ayers wrote: From: Mike Ayers Subjec

RE: snmpset - OSPF-MIB

2010-06-30 Thread Mike Ayers
> From: Nina Cukic [mailto:ninacu...@yahoo.co.uk] > Sent: Wednesday, June 30, 2010 4:07 PM > Well I am still having problem with snmpset when I am usig to change > variables in OSPF-MIB. > > I have a quetion: > > Does the line in code snmp_ospf.c: > > /* > * No writes for now > */ >

snmpset - OSPF-MIB

2010-06-30 Thread Nina Cukic
Once again me! Well I am still having problem with snmpset when I am usig to change variables in OSPF-MIB. I have a quetion: Does the line in code snmp_ospf.c:   /* * No writes for now */     *write_method = NULL;     /* means that it is forbidden to write in read-write or read-cr

snmpset - OSPF-MIB

2010-06-30 Thread Nina Cukic
Once again me! Well I am still having problem with snmpset when I am usig to change variables in OSPF-MIB. I have a quetion: Does the line in code snmp_ospf.c:   /* * No writes for now */     *write_method = NULL;     /* means that it is forbidden to write in read-write or read-c

Re: snmpwalk hangs on hrDeviceIndex

2010-06-30 Thread Wes Hardaker
It's likely that it's trying to walk a device that has incredibly long timeouts associated with polling it. If the device in question has a floppy drive, this is certainly it. You should probably use the "ignoreDisk" configuration token to snmpd.conf to skip this device. -- Wes Hardaker Cobham

Re: net-snmp python binding bug

2010-06-30 Thread Wes Hardaker
> On Wed, 30 Jun 2010 13:08:43 -0700, "Mike Ayers" > said: >> from sys import stderr MA> Only the latter worked for me. I've done just this in the repository; thanks for pointing it out. -- Wes Hardaker Cobham Analytic Solutions ---

RE: net-snmp python binding bug

2010-06-30 Thread Mike Ayers
> From: Omer Zak [mailto:w...@zak.co.il] > Sent: Wednesday, June 30, 2010 12:23 PM I defer to wisdom, as I think there have been some changes in python since last I used it, or I'm remembering the wrong language... > Looks like you need to either change stderr to sys.stderr, or to add at

Re: net-snmp python binding bug

2010-06-30 Thread Omer Zak
Looks like you need to either change stderr to sys.stderr, or to add at the beginning: from sys import stderr Either change will get you to use a defined variable (which represents the error chanel). --- Omer On Wed, 2010-06-30 at 22:35 +0800, jessinio liang wrote: > hi, every body. > > when I

Re: net-snmp python binding bug

2010-06-30 Thread jessinio liang
Do you meaning: File "netsnmp/client.py", line 38 print stderr "ERROR: unknown key", key ?? On Thu, Jul 1, 2010 at 12:23 AM, Mike Ayers wrote: > > From: jessinio liang [mailto:jessi...@gmail.com] > > Sent: Wednesday, June 30, 2010 7:36 AM > > > file : ./python/netsnmp/client.py > > > >

RE: net-snmp python binding bug

2010-06-30 Thread Mike Ayers
> From: jessinio liang [mailto:jessi...@gmail.com] > Sent: Wednesday, June 30, 2010 7:36 AM > file : ./python/netsnmp/client.py > > code: > 34 for key in keys: > 35 if sessArgs.has_key(key): > 36 sessArgs[key] = kargs[key] > 37 else: > 38 print std

net-snmp python binding bug

2010-06-30 Thread jessinio liang
hi, every body. when I using net-snmp python binding, I found a bug: my test code: 1 import netsnmp 2 import sys 3 import os 4 5 o = netsnmp.Varbind("sysDescr") 6 netsnmp.snmpwalk( NotInList = o, Version = 2, DestHost="localhost", Community="public") when I run the code, python comp

Memory reporting issues

2010-06-30 Thread John Waller
Hi. I am using a monitoring product, Orion, from Solar Winds. We have been experiencing reporting issues for a few months now. Per Solar Winds, I moved away from the default SUN Solaris snmp and installed net-snmp. I tried to compile 5.5, 5.4.3 and 5.3.3 on several servers and failed every time.

Re: external authentification

2010-06-30 Thread Torsten Bitterlich
Am Mittwoch 30 Juni 2010 15:33:39 schrieb Wes Hardaker: > > On Wed, 30 Jun 2010 08:51:05 +0200, Torsten Bitterlich > > said: > >> > >> Well, it shouldn't be needed... But since you likely have a slightly > >> different version of OpenSSL maybe it is! So I'll change the source to > >> inc

snmpwalk hangs on hrDeviceIndex

2010-06-30 Thread SREENIVAS P
Hi, I have compiled the net-snmp 5.4.3 on the aix 5.3 from source. System Model: IBM,9111-520 Machine Serial Number: 654A49E Processor Type: PowerPC_POWER5 Processor Implementation Mode: POWER 5 Processor Version: PV_5 Number Of Processors: 1 Processor Clock Speed: 1499 MHz CPU Type: 64-bit Kernel

Re: external authentification

2010-06-30 Thread Wes Hardaker
> On Wed, 30 Jun 2010 08:51:05 +0200, Torsten Bitterlich > said: >> Well, it shouldn't be needed... But since you likely have a slightly >> different version of OpenSSL maybe it is! So I'll change the source to >> include it in the svn repo as well. >> TB> I'm using Debian Lenny (5.0.