Incorrect expansion of VACM

2010-03-24 Thread Susheel Jalali
At the webpage: http://net-snmp.sourceforge.net/tutorial/tutorial-4/commands/snmpv3.html The correct expansion of VACM = VIEW-Based Access Control. But in the above page, you guys have expanded it thus: VACM is the Version-based Access Control Module and controls which users . You

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Dave Shield
On 24 March 2010 06:29, sanjaykumar sanjay.ku...@globaledgesoft.com wrote: Does net-snmp-5.4.1 version code have the EtherLike-MIB implementation ? No. The code for the EtherLike-MIB was only received in late 2008, and the 5.4.x line was started over a year previously. New functionality is only

Re: Incorrect expansion of VACM

2010-03-24 Thread Dave Shield
On 24 March 2010 05:06, Susheel Jalali sjal...@alphion.com wrote: At the webpage: http://net-snmp.sourceforge.net/tutorial/tutorial-4/commands/snmpv3.html The correct expansion of VACM = VIEW-Based Access Control. But in the above page, you guys have expanded it thus: VACM is the

How to proxy traps from Net-SNMP subagent

2010-03-24 Thread Krishna Mohan
Hi, I have a situation where two agents (1) legacy agent (2) Net-SNMP agent reside on a network device.   Legacy agent acts as a subagent to Net-SNMP agent using proxy feature in the latter.   I’ve successfully tested my Net-SNMP proxy configuration where in Net-SNMP agent forwards manager

Re: NET SNMP Sub agent And Master Agent Ping Interval

2010-03-24 Thread Ashish vashishtha
can anyone suggest on the below issue than please reply. Regards Ashish On Mon, Mar 22, 2010 at 7:47 PM, Ashish vashishtha ashish.vashish...@gmail.com wrote: Hello Dev and All, i want to configure the ping interval between the master agent and sub agent. i want that if master agent is

Re: How to proxy traps from Net-SNMP subagent

2010-03-24 Thread Dave Shield
On 24 March 2010 08:45, Krishna Mohan gkmoha...@yahoo.co.in wrote: can we send Legacy agent traps to manager via Net-SNMP agent? No. You can send traps from the legacy agent to the Net-SNMP snmptrapd daemon, and have this forward them to the manager. See 'snmptrapd.conf(5)' for details.

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Kavita Raghunathan
Ok. I understand this version does not come with Etherlike-MIB. But I thought I could start with any MIB file (from an RFC, or proprietary) and generate stubs. For now, let me ask you: how do I use EtherLike-MIB.txt to generate .c and .h, even if they are only stubs ? ( and I have to implement

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Dave Shield
On 24 March 2010 13:45, Kavita Raghunathan kavita.raghunat...@skyfiber.com wrote: But I thought I could start with any MIB file (from an RFC, or proprietary) and generate stubs. Correct. For now, let me ask you: how do I use EtherLike-MIB.txt to generate .c and .h, even if they are

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Kavita Raghunathan
Please see my comments. On 3/24/10 8:51 AM, Dave Shield d.t.shi...@liverpool.ac.uk wrote: On 24 March 2010 13:45, Kavita Raghunathan kavita.raghunat...@skyfiber.com wrote: But I thought I could start with any MIB file (from an RFC, or proprietary) and generate stubs. Correct. Big sigh

agentx comms problem

2010-03-24 Thread Thomas Andrews
Hi, I am trying to get a working agentx module by following the tutorial at http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent Problem: when I do this: snmpget -v1 -c public localhost nstAgentSubagentObject.0 I get: Error in packet Reason: (noSuchName) There is no

about SNMP_NOSUCHINSTANCE and SNMP_NOSUCHOBJECT

2010-03-24 Thread bai haoquan
Hi all, I found sth wrong when I use mib2c.raw-table.conf to develop my agent. That is about netsnmp_set_request_error(reqinfo, request,SNMP_NOSUCHINSTANCE);, it will cause a dead loop if I use SNMP_NOSUCHINSTANCE, but if I use SNMP_NOSUCHOBJECT instead, that will be OK. After I read the

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Dave Shield
On 24 March 2010 13:58, Kavita Raghunathan kavita.raghunat...@skyfiber.com wrote:       For now, let me ask you: how do I use EtherLike-MIB.txt to generate .c and .h, even if they are only stubs ? Copy the MIB file into the appropriate directory, and then run     mib2c -c

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Kavita Raghunathan
Thanks for the response. I'll keep looking at the if-mib and see if I can figure it out or use mib2c to use a different template on it. Actually I see so much information in Agent.txt and README.mib2c that I missed before I sent out this email and I would have surely had my wrist slapped at most

Fw: type BITS displays extra data

2010-03-24 Thread Kathy McLeod
Hi again - Based on note below, I am using the following constants for values 0, 1, 2, and 3: static char bits[] = {0x80, 0x40, 0x20, 0x10}; Here is my table: index lldpPortConfigAdminStatus lldpPortConfigNotificationEnable lldpPortConfigTLVsTxEnable 1 1

Re: about SNMP_NOSUCHINSTANCE and SNMP_NOSUCHOBJECT

2010-03-24 Thread Dave Shield
On 24 March 2010 14:55, bai haoquan baihaoq...@gmail.com wrote: I want to know what is the difference between SNMP_NOSUCHINSTANCE The OID that you asked for refers to a MIB object that does exist (and is implemented by this agent), but the instance subidentifier(s) do not correspond to a valid

Fw: type BITS displays extra data

2010-03-24 Thread Kathy McLeod
In answer to the last part of my question, I see by looking at the MIB comments that those are actually the names of the bits. Having a DUH moment, I guess. Does the rest look correct? Kathy McLeod Dept S82 CCB - SNMP IBM Rochester, MN (507) 253-4803 - Forwarded by Kathy

Why mib2c generates different .c/.h depending on style?

2010-03-24 Thread Kavita Raghunathan
Hello, I have now been able to use mib2c on our proprietary old MIB and generate .c/.h files after fixing some tweaking. When I apply mib2c on the MIB, there is a question asked like shown below. If I pick Net-SNMP style code, there is almost nothing in the .c file and its meaningless. When I

proper OID for netsnmp_register_cache_handler

2010-03-24 Thread khan_don
Hello, I've been experimenting with the caching (netsnmp 5.3.1-14.el5 yeah RedHat) and I've noticed something that I do not understand. First of all here are the details: mod ::= t 1.3.6.1.4.1.1139.16.10 -- top level module OID sw ::== { modMIB 1 } //SW_OID swTable ::= { sw 1} // SWTABLE_OID

Re: Question on vacm view access mask parameter

2010-03-24 Thread Fatima Peter
Thanks Mike, Fatima On Wed, Mar 24, 2010 at 4:42 PM, Mike Ayers mike_ay...@tva.tvworks.com wrote: From: Fatima Peter [mailto:fatima.pe...@gmail.com] Sent: Friday, March 19, 2010 1:33 PM     I have a question on the mask parameter in the vacm view access when it is included and excluded. I

Re: How to proxy traps from Net-SNMP subagent

2010-03-24 Thread Krishna Mohan
Dave, Thanks for your response. -KrishnaMohan --- On Wed, 24/3/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: How to proxy traps from Net-SNMP subagent To: Krishna Mohan gkmoha...@yahoo.co.in Cc: net-snmp-users