SnmpTable Infinite Loop?

2009-02-06 Thread Vinh Hoang
I'm have subagent generated be mib2c of a snmp table. And I'm returning SNMP_ERR_GENERR, in "tablename"_handler(...) in the case MODE_GET. I'm only returning the error if the request was not a valid one, ie request for a row not on the table. Anyways when I try to do a table get by using GETNEXT,

Re: snmpwalk don't show all open ports ipv6

2009-02-06 Thread Dave Shield
2009/2/6 Péricles Oliveira : > I had tried to use the net-snmp 2.1 till 3.x Hmmm... I somehow doubt that. I don't believe there has *ever* been a version 2 of our software. I seem to remember that the UCD-SNMP package started at v3.0 > but when i

snmpwalk don't show all open ports ipv6

2009-02-06 Thread Péricles Oliveira
Hi @all I had tried to use the net-snmp 2.1 till 3.x on a linuxbox RHEL4, but when i tried to use the snmpwalk to get TCP port info, the informations to IPV6 port not appear. Someone can help about it? Thanks in advance Péricles Oliveira __

Re: Modifying IFTABLE_CACHE_TIMEOUT via snmpd.conf (WIP)

2009-02-06 Thread Robert Story
On Fri, 6 Feb 2009 08:47:50 + Dave wrote: DS> > It could be really useful if there was a way to set/change initial DS> > values by specifying a timeout value in snmpd.conf DS> DS> I suggest you talk to the author of the IF-MIB support :-) :-) I meant in a generic way, so that any ca

Re: Sending Traps for different destinations at the same time

2009-02-06 Thread Wes Hardaker
> On Fri, 30 Jan 2009 13:52:01 -, "Angela Lazaro" > said: AL> I'm using net-snmp 5.3.2 and I'm trying to find a way to send traps to AL> different destinations at the same time. So far I've tried to defined AL> different trapsess in the snmpd.conf file (the configuration file for AL

Re: snmpset and non-root user

2009-02-06 Thread Pranesh Kulkarni
By Mistake I gave as SNMPV2/USM . I will try in SNMPV3/USM I am now using as commity(secret) string . On Fri, Feb 6, 2009 at 3:15 PM, Dave Shield wrote: > 2009/2/6 Pranesh Kulkarni : > > Thanks to Dave and Robert, > > I am using SNMP v2c , so I cannot do this . > > Then use an appropri

Re: snmpset and non-root user

2009-02-06 Thread Dave Shield
2009/2/6 Pranesh Kulkarni : > Thanks to Dave and Robert, > I am using SNMP v2c , so I cannot do this . Then use an appropriate (secret) community string. That is the access control mechanism used for SNMPv1/2c > I will give try in SNMPV2/USM . That doesn't make sense. USM is a security

Re: snmpset and non-root user

2009-02-06 Thread Pranesh Kulkarni
Thanks to Dave and Robert, I am using SNMP v2c , so I cannot do this . I will give try in SNMPV2/USM . Thanks, Pranesh On Fri, Feb 6, 2009 at 2:01 PM, Dave Shield wrote: > 2009/2/5 Robert Story : > > On Tue, 3 Feb 2009 13:13:50 +0530 Pranesh wrote: > > PK> I am running my agent a

RE: SNMPGET error

2009-02-06 Thread Kumar, Santhosh IN BLR SISL
Yes I did the same and my problem got solved. Thanks for your reply. Regards, santhosh -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, February 06, 2009 2:20 PM To: Kumar, Santhosh IN BLR SISL Cc: net-snmp-c

Re: SNMPGET error

2009-02-06 Thread Dave Shield
2009/1/20 Kumar, Santhosh IN BLR SISL : > As per the Procedure given in Tutorial section I have generated the .c and > .h file for the object "nstAgentModuleObject" existing in the > NET-SNMP-TUTORIAL-MIB for WINDOWS. Did you update the "netsnmpmibs" VC++ project and 'mib_module_inits.h' file, as

Re: Modifying IFTABLE_CACHE_TIMEOUT via snmpd.conf (WIP)

2009-02-06 Thread Dave Shield
2009/2/5 Robert Story : > On Wed, 21 Jan 2009 17:28:25 +0100 Daniel wrote: > DMM> I wasn't aware of this nice feature, I have just tried it with snmpset > DMM> and works like a charm with if-mib. > > Me either! Strange - it was you who originally told me that the IF-MIB rewrite worked with the cac

Re: snmpset and non-root user

2009-02-06 Thread Dave Shield
2009/2/5 Robert Story : > On Tue, 3 Feb 2009 13:13:50 +0530 Pranesh wrote: > PK> I am running my agent as the subagent under the root user. If I am > PK> login as normal user , and do the snmpset operation , it is allowing to > set > PK> the parameter.But my requirement says , it should only