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

2010-02-10 Thread Dave Shield
On 10 February 2010 07:34, srikapilan.gan...@wipro.com wrote: group operator usm user1 rouser user1 You are mixing two styles of access control. Either use rouser *OR* use view/group/access Do NOT try to mix the two - particularly with the same username. But, my query for any of my MIB is

Reg 'snmptrapd' process

2010-02-10 Thread Pradeep Kalale Sudarshan
Hello, I am Pradeep from Bangalore, India. I use the 'snmptrapd' process of your NET SNMP package (version 5.1.2) I need one urgent info/clarification related to the above said process. I use this process to 'catch' some traps generated and handle it using the 'traphandle' in 'snmptrapd.conf'

Re: Reg 'snmptrapd' process

2010-02-10 Thread Dave Shield
On 10 February 2010 04:19, Pradeep Kalale Sudarshan pradeep.sudars...@gmail.com wrote: I use the 'snmptrapd' process of your NET SNMP package (version 5.1.2) The first thing to say is that this is a very old version of the software, and the 5.1.x line is no longer being supported. I would

Re: create SNMPv3 user with hashed password

2010-02-10 Thread Dave Shield
On 10 February 2010 02:45, EYRE Bernadette bernadette.e...@alcatel-lucent.com wrote: Hello Dave, Please address queries to the list as a whole - not to me personally. I am *not* the sole support for this project (though it sometimes feels like it!) Is it possible to create snmpv3 user with

etherlike-mib on Linux

2010-02-10 Thread Josef Moellers
Hi, I'd like to amend the etherlike-mib code for Linux by adding code to fill the (.3) dot3StatsFCSErrors (.7) dot3StatsDeferredTransmissions (.10) dot3StatsInternalMacTransmitErrors (.11) dot3StatsCarrierSenseErrors (.13) dot3StatsFrameTooLongs (.16) dot3StatsInternalMacReceiveErrors fields.

Fwd: help - SNMP Trap manager registration and deregistrationdynamically...

2010-02-10 Thread majid namnabat
-- Forwarded message -- From: majid namnabat maj@gmail.com Date: Wed, Feb 10, 2010 at 12:49 PM Subject: Re: help - SNMP Trap manager registration and deregistrationdynamically... To: net-snmp-us...@lists.sourceforge.net I make a mistake. The section to set

Re: etherlike-mib on Linux

2010-02-10 Thread Dave Shield
On 10 February 2010 09:23, Josef Moellers josef.moell...@ts.fujitsu.com wrote: I'd like to amend the etherlike-mib code for Linux Any comment/objection while I locally write/test? Go right ahead. We look forward to seeing whatever you come up with. Dave

Defining MIB

2010-02-10 Thread Prakash
Hi Dave, How to define a MIB for the following structure. .privete(4).enterprise(1).abc(16142).newyork(3).machine(1).app(4).noOfMessag esPending; .privete(4).enterprise(1).abc(16142).newyork(3).machine(1).app(4).noOfMessag esSent;

Re: Patch to support null-bytes in octet strings using python bindings

2010-02-10 Thread Dave Shield
On 9 February 2010 14:45, Tommy Beadle tbea...@arbor.net wrote: I would like to propose the attached patch to the Python bindings. Thanks for that patch. It's been applied to the 5.4.x, 5.5.x and main trunk code, and should appear in the next releases on these three lines. Dave

Re: Defining MIB

2010-02-10 Thread Dave Shield
On 10 February 2010 09:58, Prakash prakash.r...@saventech.com wrote: Hi Dave, Please address queries to the list as a whole - not to me personally. I am *not* the sole support for this project (though it sometimes feels like it!) How to define a MIB for the following structure. What do you

Re: etherlike-mib on Linux

2010-02-10 Thread Josef Moellers
Dave Shield wrote: On 10 February 2010 09:23, Josef Moellers josef.moell...@ts.fujitsu.com wrote: I'd like to amend the etherlike-mib code for Linux Any comment/objection while I locally write/test? Go right ahead. We look forward to seeing whatever you come up with. The patch

-e option in trapsess statement

2010-02-10 Thread lanas
Folks, Maybe the user mailing list was not the right place for this. I will file a bug about the following, if nobody explains otherwise. The -e option in trapsess (snmpd.conf) sets the contextEngineID. This is easily observable using tcpdumps. The -E option in trapsess also sets the

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

2010-02-10 Thread srikapilan.gandhi
Hi Dave, Thanks for you suggestion. I understand it is much simpler to use rouser, but my requirement is that I should be able to define views and be able to associate a user to a particular view. For example, a view testView may include everything and exclude a particulat set of

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

2010-02-10 Thread Dave Shield
On 10 February 2010 13:21, srikapilan.gan...@wipro.com wrote: I understand it is much simpler to use rouser, but my requirement is that I should be able to define views and be able to associate a user to a particular view. Please read the 'snmpd.conf' man page. This has been supported since

Read values from subagent

2010-02-10 Thread Andrea Agosti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, I'm building a subagent and it need to read some values from snmp server itself. There's a way to get a value from the same tree without the need of creating a snmp session as shown in snmpdemoapp.c? What I need is something like: int

Re: Read values from subagent

2010-02-10 Thread Dave Shield
On 10 February 2010 16:00, Andrea Agosti cif...@gmail.com wrote: I'm building a subagent and it need to read some values from snmp server itself. From the SNMP server (agent) or from the underlying system? Remember that the SNMP agent is simply a middleman. The majority of the information that

Re: etherlike-mib on Linux

2010-02-10 Thread Dave Shield
On 10 February 2010 11:02, Josef Moellers josef.moell...@ts.fujitsu.com wrote: I'd like to amend the etherlike-mib code for Linux The patch (against 5.5) is appended. OK - that patch has been applied to the 5.5.x and main development branches. Thanks Dave

Re: -e option in trapsess statement

2010-02-10 Thread Thomas Anders
lanas wrote: The -e option in trapsess (snmpd.conf) sets the contextEngineID. This is easily observable using tcpdumps. The -E option in trapsess also sets the contextEngineID. This goes against the snmpcmd manual page where -e sets the authoritative security engineID. There is no way to

Good place to start...

2010-02-10 Thread Sylvain Dery
Hi, I'm looking for agent coding tutorials; is http://www.net-snmp.org/wiki/index.php/Tutorials is the place to start? Should I be worried by the fact that it was last updated on July 2008? Is it valid for both the 5.5 and the 5.4.2.1 versions? Thanks, Sylvain

Re: etherlike-mib on Linux

2010-02-10 Thread Stephen Hemminger
On Wed, 10 Feb 2010 12:02:44 +0100 Josef Moellers josef.moell...@ts.fujitsu.com wrote: Dave Shield wrote: On 10 February 2010 09:23, Josef Moellers josef.moell...@ts.fujitsu.com wrote: I'd like to amend the etherlike-mib code for Linux Any comment/objection while I locally

Re: Good place to start...

2010-02-10 Thread Dave Shield
On 10 February 2010 20:05, Sylvain Dery sylvain-d...@hotmail.com wrote: I'm looking for agent coding tutorials; is http://www.net-snmp.org/wiki/index.php/Tutorials is the place to start? Yes Should I be worried by the fact that it was last updated on July 2008? No   Is it valid for both the

Configuring snmptrapd.conf

2010-02-10 Thread Prakash
Hi All, How to configure the snmptrapd.conf to send traps to remote SNMP Managers/Clients. My current configurations file has the following lines. disableAuthorization yes traphandle .1.3.6.1.4.1.2021.991.17 /usr/bin/perl /home/prakash/snmp/traps/traphandler.pl traphandle default /usr/bin/perl