MIB output given even if snmpv3 user configured with diff privileges

2010-03-02 Thread srikapilan.gandhi
Hi, I am am using NET-SNMP version 5.4.1.2. I have configured snmp V3 users as shown below. snmpd.conf --- view all included 1 view none excluded 1 access admin "" any noauth exact all all all access operator "" any noauth exact all

Re: MIB output given even if snmpv3 user configured with diff privileges

2010-03-02 Thread Dave Shield
On 2 March 2010 12:58, wrote: > I have configured snmp V3 users as shown below. > > snmpd.conf > --- > > access operator "" any noauth exact all none all > access operator "" any auth exact all none all > group operator usm user1 > createU

RE: MIB output given even if snmpv3 user configured with diff privileges

2010-03-02 Thread srikapilan.gandhi
Hi Dave, Thanks for the explanation. Is there a way to configure different users with different privileges( noauth, auth & priv ) to be associated with the same group "operator". If the above could be done, kindly suggest the procedure. Thanks & Regards, Kapil. ___

Re: MIB output given even if snmpv3 user configured with diff privileges

2010-03-02 Thread Dave Shield
On 2 March 2010 13:24, wrote: > Is there a way to configure different users with different privileges( > noauth, auth & priv ) to be associated with the same group "operator". No. Privileges are associated with groups, not with individual users (or communities). If you want to enforce the use o

Re: Re-init agentX subagent fails

2010-03-02 Thread Robert Story
I didn't see a response to this old message, and I hope you solved the problem on your own. Just answering for the archives in case someone else ran into this same problem. On Fri, 8 Jan 2010 15:51:40 +0100 Mario wrote: MG> When I uninitialize the subagent inside my application and later try a re

Re: apps/snmptrap.c

2010-03-02 Thread Robert Story
[ First - *please* don't mail me directly unless you want private, *paid* consulting services. Keep discussions on the list, where others can both learn and offer advice. Thanks. ] On Tue, 2 Mar 2010 11:40:48 +0200 maxim wrote: MM> i new in snmp and i need expl

Re: monitoring link transistions without polling

2010-03-02 Thread Robert Story
On Thu, 07 Jan 2010 10:36:36 -0800 Wes wrote: WH> SH> Has anyone done a WH> SH> patch to use an event based mechanism. Something that uses existing WH> SH> Linux netlink link state messages to trigger the appropriate traps? WH> WH> It's been discussed a lot, yes. I can't remember who was workin

RE: MIB output given even if snmpv3 user configured with diff privileges

2010-03-02 Thread srikapilan.gandhi
Hi Dave, Thanks for the help. Regards, Kapil. From: dave.shi...@googlemail.com on behalf of Dave Shield Sent: Tue 3/2/2010 7:15 PM To: Srikapilan Gandhi (WT01 - Telecom Equipment) Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: MIB output given even if

Re: com2sec[6]

2010-03-02 Thread Robert Story
On Mon, 11 Jan 2010 00:49:49 +0100 Magnus wrote: MF> Assume the following (admittedly absurd) configuration MF> MF> com2sec test4 www.google.com test4 MF> com2sec6 test6 ipv6.google.com test6 MF> MF> Both host names return multiple ip addresses. MF> MF> The result of the com2sec directive is tha

Re: hrStorage looses track of remounted file system (bug #1689551)

2010-03-02 Thread Robert Story
On Mon, 11 Jan 2010 12:29:56 -0200 Leonardo wrote: LC> Dave, I'm interested in using a part of your work on the new filesystem LC> MIB to fix the problem described in this bug. To avoid reinventing the LC> wheel, do you think you can send me the definition of struct LC> netsnmp_fsys_info? Just won

Re: [PATCH] snmpd: allow setting trap source address

2010-03-02 Thread Robert Story
On Wed, 13 Jan 2010 19:37:45 -0800 Stephen wrote: SH> It is documented in snmp.conf(5) that setting clientaddr is supposed SH> to be used as trap source address, but it doesn't work. The issue is SH> that the configuration handler for this value is in snmplib which is not SH> used in snmpd. It sho

Re: Issue with Net-SNMP -5.4.2.1 version

2010-03-02 Thread Robert Story
On Wed, 20 Jan 2010 12:18:06 +0530 Matty wrote: MR> We currently use Net-SNMP -5.4.2.1 version, but there seems to be an MR> issue that the SNMP traps were often sent from a different SNMP Agent MR> address if the server has more IP aliases. You can specify the address you'd like to use in snmpd.c

Re: About MIB Creation using NET-SNMP...

2010-03-02 Thread Robert Story
On Wed, 20 Jan 2010 13:32:10 +0530 (IST) ganeshyell...@bel.co.in wrote: GCI> GCI>This is Ganesh Y. I am facing problems in implementing GCI> snmp agent. Could you explain how to start in creating our own MIB database and generating GCI> c code for that?. I am working on Windows en

Re: ioctl 35123 returned -1

2010-03-02 Thread Robert Story
On Tue, 26 Jan 2010 15:49:51 + (UTC) Niall wrote: NM> I've noticed recently there are a number of... NM> NM> snmpd[N]: ioctl 35123 returned -1 NM> NM> ...messages in syslog. [...] NM> An update that claims to have resolved a bug that triggers this error is said to have been applied to vers

Re: SF.net SVN: net-snmp:[18064] trunk/net-snmp

2010-03-02 Thread Robert Story
On Mon, 25 Jan 2010 22:17:40 +0100 Magnus wrote: MF> On Mon, 2010-01-25 at 16:01 +, rst...@users.sourceforge.net wrote: MF> > move snmp_get_statistic helper to helpers dir; update all_helpers header MF> MF> I have to question this. MF> MF> The reason I originally had to put it in mibgroup/uti

Re: [PATCH] snmpd: allow setting trap source address

2010-03-02 Thread Stephen Hemminger
On Tue, 2 Mar 2010 10:54:53 -0500 Robert Story wrote: > On Wed, 13 Jan 2010 19:37:45 -0800 Stephen wrote: > SH> It is documented in snmp.conf(5) that setting clientaddr is supposed > SH> to be used as trap source address, but it doesn't work. The issue is > SH> that the configuration handler for

Re: apps/snmptrap.c

2010-03-02 Thread maxim maxim
I have a some questions about apps/snmptrap.c: 1. Why i need a *0* in the and of oid objid_snmptrap[] = { 1, 3, 6, 1, 6, 3, 1, 1, 4, 1, *0* }; (in text format is SNMPv2-MIB::snmpTrapOID.*0*)? 2. What is a role of snmp_add() and snmp_add_var() functions? Thanks net-snmp-coders@lists.sourcef

Re: Solaris 10 64-bit build?

2010-03-02 Thread Mike Walker
My problem now is just how to set CFLAGS="-xtarget=native -xarch=native64" for building net-snmp. If I set it via "configure" (i.e.: "./configure CFLAGS="-xtarget=native -xarch=native64"), then configure stops with errors relating to "c compiler cannot generate executables". If I allow configure

Re: Solaris 10 64-bit build?

2010-03-02 Thread Thomas Anders
Mike Walker wrote: > My problem now is just how to set CFLAGS="-xtarget=native > -xarch=native64" for building net-snmp. > > If I set it via "configure" (i.e.: "./configure CFLAGS="-xtarget=native > -xarch=native64"), then configure stops with errors relating to "c > compiler cannot generate execu

Re: Solaris 10 64-bit build?

2010-03-02 Thread Magnus Fromreide
On Tue, 2010-03-02 at 14:30 -0500, Mike Walker wrote: > My problem now is just how to set CFLAGS="-xtarget=native > -xarch=native64" for building net-snmp. > > If I set it via "configure" (i.e.: "./configure > CFLAGS="-xtarget=native -xarch=native64"), then configure stops with > errors relating t

Re: Solaris 10 64-bit build?

2010-03-02 Thread Mike Walker
This definitely helps me get further along the path. It correctly forces Sun Studio 12 and successfully generates a 64bit libnetsnmp.so file. But make now crashes further in the net-snmp build. Looks like right after reporting "running Mkbootstrap for NetSNMP::default_store()", make crashes, now

Re: Solaris 10 64-bit build?

2010-03-02 Thread Thomas Anders
Mike Walker wrote: > This definitely helps me get further along the path. It correctly > forces Sun Studio 12 and successfully generates a 64bit libnetsnmp.so > file. But make now crashes further in the net-snmp build. Looks like > right after reporting "running Mkbootstrap for > NetSNMP::defaul