Re: Controlling interfaces with SNMP

2006-06-12 Thread Thomas Anders
Arun Raju wrote: > I am using > Net-Snmp version 5.1.2 > linux red hat 5.3 [...] > Now when i perform > snmpset -d -v 2c localhost interfaces.ifTable.ifEntry.ifAdminStatus i 2 > o/p--> noWritable. Try net-snmp 5.3.x (I'd recommend 5.3.1.pre3 or later) which ships with a rewritten IF-MIB impleme

Re: none

2006-06-12 Thread Wes Hardaker
> On Mon, 12 Jun 2006 10:02:49 -0700 (PDT), "David T. Perkins" <[EMAIL > PROTECTED]> said: David> However, I disagreee with his label of "cheaper agents" in David> characterization of why only "createAndGo" is specified David> and used by some MIB designers and agent implementors. Cheape

Re: What error should return when a VACM authorization fails for a SET

2006-06-12 Thread Wes Hardaker
> On Mon, 12 Jun 2006 10:39:09 -0700 (PDT), rwilcox <[EMAIL PROTECTED]> > said: rwilcox> Thanks, I was getting ready to look into making the changes rwilcox> and submit a patch. Can you let me know when the patch is rwilcox> available? It'll be in all releases from 5.2.3 and up. 5.3.1

Re: What error should return when a VACM authorization fails for a SET

2006-06-12 Thread rwilcox
Thanks, I was getting ready to look into making the changes and submit a patch. Can you let me know when the patch is available? --- Wes Hardaker <[EMAIL PROTECTED]> wrote: > > On Wed, 31 May 2006 15:01:55 -0700 (PDT), > rwilcox <[EMAIL PROTECTED]> said: > > rwilcox> If VACM determines th

Re: What error should return when a VACM authorization fails for a SET

2006-06-12 Thread Wes Hardaker
> On Wed, 31 May 2006 15:01:55 -0700 (PDT), rwilcox <[EMAIL PROTECTED]> > said: rwilcox> If VACM determines that a particular SET operation rwilcox> is in error(anything but VACM_SUCCESS), what should rwilcox> the response-pdu's error-status be? I am reading rwilcox> RFC 3416 p. 19 Secti

Re: none

2006-06-12 Thread David T. Perkins
HI, I agree with Wes below on the technical point that requiring support for "createAndWait" is upto the MIB designer and specifier of the MODULE-COMPLIANCE specification. However, I disagreee with his label of "cheaper agents" in characterization of why only "createAndGo" is specified and used by

Re: Controlling interfaces with SNMP

2006-06-12 Thread Arun Raju
The dump say the request is sent and received back.. and using snmptranslate found that ifAdminStatus has RW permission .. FYI.. Regards - Arun Raju/BLR/HSS 06/12/2006 10:19 PM FSS-Private To Wes Hardaker <[EMAIL PROTECTED]> cc [EMAIL PROTECTED] Subject Re: Controlling int

Re: How to import a new MIB

2006-06-12 Thread Wes Hardaker
> On Thu, 1 Jun 2006 13:16:55 -0700, Chris Zimmermann <[EMAIL PROTECTED]> > said: Chris> On Fedora Core4, I did a full build/install of netsnmp 5.3.0.1 and Chris> tried to run "mib2c -h". I get the following error: Chris> ERROR: You don't have the SNMP perl module installed. Hmm... th

Re: Controlling interfaces with SNMP

2006-06-12 Thread Arun Raju
I am using Net-Snmp version 5.1.2 linux red hat 5.3 step 1 /etc/rc.d/init.d/snmpd  start  -c  /usr/share/snmp/snmpd.conf Starting snmpd:                                        [OK] step 2 checked   /var/log/snmpd.log    Then there was no errors. The following was my snmpd.conf  i edited to prov

Re: HPUX 11.11 PS_RISC1.1

2006-06-12 Thread Johannes Schmidt-Fischer
Hello Michael, maybe you have similar problems as Thomas had when compiling 5.3.1.pre2 for HP-UX (in his case some ntoXX() macros weren't expanded properly but instead made into a call to a function that cannot be found in linking). What Thomas found was the following: "Yep, it appears to be a g

Re: none

2006-06-12 Thread Wes Hardaker
> On Sat, 03 Jun 2006 09:18:32 +, "Anurag Verma" <[EMAIL PROTECTED]> > said: Anurag> So, from subagent implementation, I was thinking that for this Anurag> to happen, the SNMP subagent should "cache" all the requests Anurag> coming in different SNMP PDU and create a row instance for t

Re: NetSNMP 5.0.3.1 Questions

2006-06-12 Thread Wes Hardaker
> On Tue, 6 Jun 2006 13:08:16 -0400, "Phan, Hao T" <[EMAIL PROTECTED]> said: Hao> My question is how can I get rid of the 6 (mac address len) so my index Hao> is simply the mac address itself? If the MIB definition for that object is *exactly* 6 octets in length, then it's ok to get rid of it

Re: Controlling interfaces with SNMP

2006-06-12 Thread Wes Hardaker
> On Wed, 7 Jun 2006 07:44:02 -0700 (PDT), hailkumoso hailkumoso <[EMAIL > PROTECTED]> said: hailkumoso> * disable the interface (eth0) or the Mac port using SNMP hailkumoso> API's. I know we can use the set command but am not sure hailkumoso> of which OID to use for? hailkumoso> * e

Re: struct tree & getting description field

2006-06-12 Thread Wes Hardaker
> On Thu, 08 Jun 2006 13:55:46 -0700, Rob Ballantyne <[EMAIL PROTECTED]> > said: Rob> I have noticed that struct tree contains a char *description field. Rob> I assume that this is for the 'DESCRIPTION' portion of the OBJECT-TYPE Rob> ASN.1 Macro. I've looked around in the mib tree, usin

Re: tcp wrapper and connection logging.

2006-06-12 Thread Wes Hardaker
> On Fri, 09 Jun 2006 00:28:19 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: >> 2) make a new ds_boolean tag and turn it into a --long argument and >> config token and use that and split the functionality between -a >> (log requests received by the demon) and the tcp_wrappers part of >