Re: clarification in net snmp

2011-01-23 Thread Dave Shield
On 20 January 2011 14:40, deepa ramar login2de...@gmail.com wrote: 1). when i am accessing  snmpget -O qv -I r -c public x.x.x.x -v 3 -u  admin -a  MD5 -A Key -x DES -X Key -l authPriv mibname.id.mac-address(01.00.5E.01.01.01) it shows that: Unknown Object Identifier (Index out of range: 5E)

Re: problem with InetAddress

2011-01-20 Thread Dave Shield
On 20 January 2011 11:49, Jacek Poplawski jacekpoplaw...@gmail.com wrote: There was no reply to my issue for 7 days so I will try to explain it once again. Both Wes and I responded to your post (on the same day), explaining what we thought was happening. So it's a little unfair to say that

Re: problem with InetAddress

2011-01-20 Thread Dave Shield
On 20 January 2011 12:20, Jacek Poplawski jacekpoplaw...@gmail.com wrote: Both Wes and I responded to your post (on the same day), explaining what we thought was happening. But the reply was that escaped address should work and as I wrote before it doesn't. Actually, I expressed a belief

Re: problem with InetAddress

2011-01-20 Thread Dave Shield
On 20 January 2011 13:22, Jacek Poplawski jacekpoplaw...@gmail.com wrote: Try   TCP-MIB::tcpConnectionState.ipv4.4.192.168.85.92.52219.ipv4.4.192.168.85.53.22 Thanks! It works. What about ipv6? Do I need to pass decimal values too? Probably, yes. I don't believe the OID parser is clever

Re: catching DEBUGMSG in my own mib module

2011-01-19 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 19

Re: net-snmp version 5.4 on AIX 5.3.0.0

2011-01-19 Thread Dave Shield
On 19 January 2011 08:31, Lopez Pedro pedro.lo...@nagra.com wrote: I have the following problem, I use the method snmp_set_var_typed_value with a return a value as an ASN_COUNTER64, I receive the following message: No such name error If I change the return value by ASN_COUNTER everything

Re: catching DEBUGMSG in my own mib module

2011-01-19 Thread Dave Shield
On 19 January 2011 08:53, Egor reader.of.dr...@gmail.com wrote: I don't have another one snmpd. I haven't /usr/locale/ folder. Sorry - I thought you'd said that you did. My system is Openwrt, so it's very simply and tiny system. I see my own MIBs by using SNMP manager, so my module is

Re: typo in documentation

2011-01-19 Thread Dave Shield
On 19 January 2011 11:48, Jacek Poplawski jacekpoplaw...@gmail.com wrote: On the http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd there is a sentence: When the specific type is 6, the trap is an enterprise specific trap. I believe it should be: When the generic type is 6, the

Re: catching DEBUGMSG in my own mib module

2011-01-18 Thread Dave Shield
On 18 January 2011 15:30, Egor reader.of.dr...@gmail.com wrote: When I try to start by command:         /usr/sbin/snmpd -Lf /var/snmpdlog -p /var/run/snmp.pid -DALL What happens if you try with /usr/sbin/snmpd -Lf /var/snmpdlog -p /var/run/snmp.pid -Dtoken ? (where token matches the

Net-SNMP 5.5.1.pre2 available for testing

2011-01-14 Thread Dave Shield
A copy of version 5.5.1.pre2 is now available from the sourceforge download servers.   The main changes from 5.5.1.pre1 are the application of a number of fixes from the FreeBSD, NetBSD and OpenBSD patch archives. We believe that this version should work significantly better on these (and

Re: error in compilling name_interface.c generated by mib2c

2011-01-14 Thread Dave Shield
On 14 January 2011 13:58, Egor reader.of.dr...@gmail.com wrote: I have a net-snmp-5.4.2.1, want to make mib-module with own OIDs. So, I made MIB file, then used mib2c utility, and got 11 files: myMibTable.c myMibTable.h etc So these files are designed to implement a MIB table. In

Re: SNMP OID Inquery

2011-01-13 Thread Dave Shield
2011/1/13 mark_hu...@alphanetworks.com snmpset -v2c -c 192.168.10.1 1.3.6.1.4.171.12.9.6.1.1.3.3.1 i 6000 i: Bad object type: 6 It always show  Bad object type First problem - this OID does not match the one in the description you posted (1.3.6.1.4.171 vs 1.3.6.1.4.*1*.171.)

Re: SVN trunk multi-platform build errors

2011-01-13 Thread Dave Shield
On 12 January 2011 22:05, Niels Baggesen n...@users.sourceforge.net wrote: Right, having spent the evening with it, it now compiles for OpenBSD 4.7, NetBSD 4 and 5, FreeBSD 7 and 8, DragonFly 1.12 and 2.6, and RedHat/CentOS 4, 5, 6 ... You can find the results at

Re: problem with InetAddress

2011-01-13 Thread Dave Shield
On 13 January 2011 16:58, Wes Hardaker harda...@users.sourceforge.net wrote: JP Could you explain should 4 (between 1 and IP) be in the OID or JP not? WH Yes.  It gives the length of address following it so that it can be WH properly decoded.  Although you could determine the length from the IP

Re: API function to extract integer from netsnmp_request_info ?

2011-01-12 Thread Dave Shield
On 12 January 2011 06:07, Abraham Varricatt abraham.varricatt+s...@googlemail.com wrote: what are varbind structures? varbinds are the fundamental mechanism for passing management information between client apps and an SNMP manager. See any SNMP book or primer for more information. The

Re: API function to extract integer from netsnmp_request_info ?

2011-01-11 Thread Dave Shield
On 11 January 2011 15:52, Abraham Varricatt abraham.varricatt+s...@googlemail.com wrote: there is a function called snmp_set_var_typed_value().. I've figured out that we essentially pass the result of a GET operation into this function, so the snmpd agent will report it back. Correct.

Re: SVN trunk multi-platform build errors

2011-01-11 Thread Dave Shield
On 11 January 2011 07:23, Niels Baggesen n...@users.sourceforge.net wrote: after Dave's mighty BSD job FreeBSD still compiles, NetBSD and OpenBSD still doesn't. But until further I will leave to him to complete it OK - I've now applied all of the patches where I feel that I understand

Re: SVN trunk multi-platform build errors

2011-01-07 Thread Dave Shield
On 7 January 2011 13:32, Niels Baggesen n...@users.sourceforge.net wrote: On Thu, Jan 06, 2011 at 04:50:28PM +, Dave Shield wrote: My inclination would be to apply the patches individually, rather than all in one go.   That might be a bit more work, but should make it easier to identify

Re: Request help about how to use the dynamic tables

2011-01-06 Thread Dave Shield
2011/1/6 Chen Figo figo.c...@nagra.com: You suggestion is very good, but it's different from our design.. Fair enough - if you insist on working in a non-standard way, and don't feel able to provide the information that I've asked for, then I'm not really able to provide any assistance.

Re: snmpd footprint just under 2MB !! - is this usual?

2011-01-06 Thread Dave Shield
On 6 January 2011 11:47, Abraham Varricatt abraham.varricatt+s...@googlemail.com wrote: I'm compiling the net-snmp agent (snmpd) to run on an embedded platform. After compilation, the resulting executable has a file size of 1.9MB !! Is this normal? Are their any special steps that could be

Re: SVN trunk multi-platform build errors

2011-01-06 Thread Dave Shield
On 5 January 2011 22:23, Niels Baggesen n...@users.sourceforge.net wrote: I have been looking at the patches that the BSD's apply to our baby in their ports, [and] then it compiles on FreeBSD 4,7,8, NetBSD 4,5, DragonFly 1.12,2.6, OpenBSD 4.7, RHEL 4,5,6, Solaris 8,10,11 I must admit

Re: use of Groups/Conformance info

2011-01-05 Thread Dave Shield
On 5 January 2011 06:10, Ravi Kumar mynets...@gmail.com wrote: Could any one plz give an reason with example that why do we need Groups/Conformance info while writhing a mib file. Groups are used in two places: - compliance definitions - agent capability definitions So let's take these two

Re: Request help about the

2011-01-05 Thread Dave Shield
On 5 January 2011 10:33, Chen Figo figo.c...@nagra.com wrote: 1. create a snmp mib according to the configuration parameters with a particular algorithm, such as attribute name, host name…... . BTW, the generated mib files will change everyday. That feels a somewhat unusual scenario. The idea

Re: doubt in nested table implementation

2011-01-03 Thread Dave Shield
On 2 January 2011 09:44, sujata patra sujata_patra2...@yahoo.com wrote: Issue I am facing is an implementation issue. While refreshing the data or loading for the first time , Do I have to load the whole tree data to  all the tables ? As you say, this is an implementation issue. That means

Re: CFV: doc fixes in configure for TLS and DTLS

2010-12-31 Thread Dave Shield
On 31 December 2010 16:57, Wes Hardaker harda...@users.sourceforge.net wrote: I'd like to include the following changes in the final 5.6.1 release. +1 Dave -- Learn how Oracle Real Application Clusters (RAC) One Node

Re: snmp error access via Net-Snmp

2010-12-30 Thread Dave Shield
On 29 December 2010 13:34, deepa ramar login2de...@gmail.com wrote: While testing snmp get as   snmpget -O qv -I r -v 1 -c public x.x.x.x sysLocation.0 Yes - that looks OK to me. (and it does work as expected when I run this command) Unknown output option passed to -O: Is there nothing

Re: bundling the libraries into the agent ?

2010-12-29 Thread Dave Shield
On 29 December 2010 05:55, Abraham Varricatt abraham.varricatt+s...@googlemail.com wrote: Please see the FAQ entry    How can I compile the project to use static linking? Thank you for pointing that out. I must have missed that, the first time I read the FAQ. However, even with that flag, I

Re: bundling the libraries into the agent ?

2010-12-28 Thread Dave Shield
On 28 December 2010 06:10, Abraham Varricatt abraham.varricatt+s...@googlemail.com wrote: Is it possible to configure net-snmp so as to produce a single executable - snmpd (the agent) WITHOUT external library dependencies (libnetsnmpagent.so, libnetsnmpmibs.so ... etc)? Yes Please see the FAQ

Re: Using mib2c

2010-12-23 Thread Dave Shield
On 23 December 2010 00:32, Luis QuaggaSnmp quaggas...@gmail.com wrote: I'm not sure how to use mib2c when I have a MIB with different OIDs, I read that I have to use mib2c with conf templates, for example, with integer template, but, if the MIB has differents OBJECT-TYPE ? If you use the

Net-SNMP 5.5.1.pre1 available for testing

2010-12-23 Thread Dave Shield
A copy of version 5.5.1.pre1 is now available from the sourceforge download servers.   This contains a number of patches and bug fixes over the previous 5.5 release.  The CHANGES file for this release is attached, listing most of the more significant updates.   See the ChangeLog file in the

Re: CFV: patch from Bill Fenner for agentx oids with multiple varbinds

2010-12-22 Thread Dave Shield
On 22 December 2010 04:42, Wes Hardaker harda...@users.sourceforge.net wrote: We actually need two votes now per patch now:  - 5.5.1 (now in pre1) +1(though I'd be tempted to set the two lengths at the start of the loop, rather than the end)  - 5.6.1 (now in rc1) Hmm this

Re: CFV: patch from Bill Fenner for agentx oids with multiple varbinds

2010-12-22 Thread Dave Shield
On 22 December 2010 16:13, Robert Story rst...@freesnmp.com wrote: DS  - 5.6.1 (now in rc1) DS DS Hmm   this isn't really a show-stopper, so strictly speaking DS shouldn't be applied. I dunno... I think broken AgentX processing is a pretty big deal. But remember the definition of show

Re: CFV: Fix for bug 3109144: cant load vacmView from persistent storage

2010-12-22 Thread Dave Shield
On 22 December 2010 14:55, Niels Baggesen n...@users.sourceforge.net wrote: The bug describes how the view mask is lost when read from the snmpd persistent file. 5.5.1: +1 5.6.1: +1 iff rc2 scheduled -1 otherwise Dave

Re: CFV: patch from Bill Fenner for agentx oids with multiple varbinds

2010-12-22 Thread Dave Shield
On 22 December 2010 21:51, Wes Hardaker harda...@users.sourceforge.net wrote: DS Maybe we need to review our definitions of show stopper at DS next month's admin meeting. Probably a worthy discussion. I've added this to the agenda. (Having first created an agenda to add it to :-)) Dave

Re: CFO: rename dtls config tokens

2010-12-21 Thread Dave Shield
On 21 December 2010 15:39, Wes Hardaker harda...@users.sourceforge.net wrote: GN localCert peerCert Those are fine with me too. But I also thought we might need more than just 2... How about a single directive cert, with the first parameter indicating the type/scope/colour/etc of the

Re: CFV: v3 trap/engineID fix

2010-12-10 Thread Dave Shield
On 10 December 2010 05:24, Wes Hardaker harda...@users.sourceforge.net wrote: This is cleaner and clearer so I'm fine with applying it for 5.6.1. +1 Dave -- ___

Re: CFV: openssl version check for dtls support

2010-12-07 Thread Dave Shield
On 6 December 2010 21:57, Wes Hardaker harda...@users.sourceforge.net wrote: MF I would prefer if this error showed up somewhere close to the transport MF search code and not down here but if could be moved later. I was trying to stick with existing convention of testing functions in the

Re: how to read the netsnmp api doc?

2010-11-28 Thread Dave Shield
On 28 November 2010 09:58, sujata patra sujata_patra2...@yahoo.com wrote: There are few api 's which are not  described in the wiki api doc . What does that mean ? It means that nobody has written any documentation for that API. Like netsnmp_table_array_register()  is not described ... Does 

Re: what is Mib file for net-snmp/agent/mibgroup/hardware/cpu/cpu.c ?

2010-11-26 Thread Dave Shield
On 26 November 2010 08:52, sujata patra sujata_patra2...@yahoo.com wrote: net-snmp/agent/mibgroup/hardware/cpu/cpu.c file show that it is registering oid { 1, 3, 6, 1, 4, 1, 8072, 1, 33 }. Not quite. It is using that OID as an index value, when registering the CPU hardware module within the

Re: SNMP in Quagga

2010-11-24 Thread Dave Shield
On 24 November 2010 06:57, Bart Van Assche bvanass...@acm.org wrote: It might be a better idea to convert Quagga from SMUX to AgentX. If you do this properly, it will be possible to choose at run-time between running Quagga as a stand-alone agent or an AgentX-subagent. I would strongly support

Re: SNMP in Quagga

2010-11-23 Thread Dave Shield
On 23 November 2010 12:09, Quagga Snmp quaggas...@gmail.com wrote: I´m working in a project of my university. The tarjet is to insert a snmp daemon in Quagga (routing suite). Is anyone working in this? I'm no expert on Quagga, but I believe it already has SNMP support (running as a SMUX

Re: SNMP in Quagga

2010-11-23 Thread Dave Shield
On 23 November 2010 15:29, Quagga Snmp quaggas...@gmail.com wrote: In this situation, in PC(1) is necessary to install two things: quagga AND stock snmpd. In my project, I want the snmp daemon into quagga. I need install only one thing: quagga I think that's somewhat misleading. In the

Re: extra configurations needed for porting net-snmp?

2010-11-20 Thread Dave Shield
On 16 November 2010 04:18, Abraham Varricatt abraham.varricatt+s...@googlemail.com wrote: For the MIB modules that come default with net-snmp, do we need to make any extra configuration settings (like change source code ... etc) other than running the ./configure script? I'm cross-compiling

Re: snmptrapd does not log snmpv3 traps?

2010-11-16 Thread Dave Shield
On 15 November 2010 22:59, Claus Klein claus.kl...@arcormail.de wrote: When I understand right, to setup the trap-receiver (snmptrapd), I have do get the engineID of the trapsender (snmpd) with [snip] The formal situation is that both sides of the connection should be configured using

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-16 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ]

Re: snmptrapd does not log snmpv3 traps?

2010-11-15 Thread Dave Shield
On 14 November 2010 22:25, Claus Klein claus.kl...@arcormail.de wrote: I use this trap session configuration: snmpd.conf:trapsess -v 3 -u unsec -l noAuthNoPriv udp:localhost:162 This is what happens on snmptrapd: read_config: ./snmptrapd.conf:23 examining: createUser unsec MD5 --

Re: how to debug SIGSEGV ?

2010-11-11 Thread Dave Shield
AV I'm cross-compiling the net-snmp agent on a MIPS platform. Running the snmpd AV agent I get this, AV AV snmpd AV error : SIGSEGV The first thing I'd suggest would be to run the agent using snmpd -f -Le (or similar) to make sure you see any output messages. RS And you can't get a stack

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-11 Thread Dave Shield
On 11 November 2010 15:16, Robert Story rst...@freesnmp.com wrote: On Thu, 11 Nov 2010 09:20:22 +0300 Phill wrote: PX Has faced a strange situation. There are 4 tables in one MIB-file. All tables are realised in the subagent through AgentX. Net-SNMP works as the master. All fields of the

Re: Not able to set a column in ifTable.

2010-11-02 Thread Dave Shield
On 2 November 2010 06:46, Manjit manjit.si...@globaledgesoft.com wrote: Here i came across a function _mfd_ifTable_commit, in this function a certain part of code is repeated twice. [snip] Please help me to understand why this code is written twice. Programmer error. Replace programmer,

Re: Extending and debugging snmpd - Netbeans / Eclipse - MIBs

2010-11-01 Thread Dave Shield
On 31 October 2010 22:47, Chris King ch...@chriskingmusic.com wrote: What do the coders use to develop net-snmp A source tree, 'make' and a simple text editor. And sometimes gdb I can't speak for the others, but I personally don't tend to use IDEs for software development. I'm an old fogey, and

Re: net snmp - More than one network interfaces

2010-11-01 Thread Dave Shield
On 1 November 2010 15:47, Shibu George shibu.geo...@nestgroup.net wrote: I have properly configured the snmpd.conf file with access control and trap destination details. I am able to contact the snmp agent from machine itself (using the snmpget). But I was not able contact the snmp agent

Re: SF.net SVN: net-snmp:[19553] trunk/net-snmp/agent/mibgroup/examples

2010-10-28 Thread Dave Shield
On 28 October 2010 21:02, Leonardo Chiquitto leonardo.li...@gmail.com wrote: CHANGES: snmpd: BUG: 3058101: Writeable 'long' instances work on 64-bit systems, but not writable 'int's This chunk broke the build on branch v5-3-patches: Oops. Thanks Now fixed. Dave

Re: CFV: fix includeAllDisks directive in trunk

2010-10-25 Thread Dave Shield
On 8 September 2010 16:57, Dave Shield d.t.shi...@liverpool.ac.uk wrote: As I recall:   - the initial code just looked for the config token include and      ignored everything else.   Hence it used an exact 'strcmp' comparison.  -  my re-working looked for  includeDir, includeFile

Re: Negative request id as perceived by wireshark and/or agents

2010-10-22 Thread Dave Shield
On 22 October 2010 14:45, Doug Manley doug.man...@gmail.com wrote: To address this, we see two possible solutions: 1. Force every agent on the planet to support proper RequestIDs. 2. Add an option to net-snmp to wrap request IDs on the 31-bit boundary. I don't think that option #1 is viable,

Re: upgraded trunk autoconf and libtool

2010-10-21 Thread Dave Shield
On 21 October 2010 15:10, Wes Hardaker harda...@users.sourceforge.net wrote: TA Please update TA http://www.net-snmp.org/wiki/index.php/Build_System#Tool_Versions TA when you're done. Done! I've just tweaked that page to use a tabular format which is (IMO) a little easier to follow. I've

Re: upgraded trunk autoconf and libtool

2010-10-21 Thread Dave Shield
On 21 October 2010 15:54, Wes Hardaker harda...@users.sourceforge.net wrote: I really really wish that tables in mediawiki were easier to write quickly.  I know another wiki language that does this:  | x | y |  | 1 | 2 | As opposed to {| || x || y || |- || 1 || 2 || |} See how

Re: Please kindly advise

2010-10-20 Thread Dave Shield
On 18 October 2010 19:39, Ghelani Hinesh h.ghel...@rbht.nhs.uk wrote: I am attempting to make the (snmpwalk process run silently so I am using the following code) sComputer = . Set objWMIService = GetObject(winmgmts: {impersonationLevel=impersonate}!\\ sComputer \root\cimv2) Const

Re: Please kindly advise

2010-10-20 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 19

Re: Re[2]: lmsensors patch

2010-10-20 Thread Dave Shield
2010/10/20 maap maap m...@mail.ru: I moved to the new kernel and now all sensors are managed by kernel, so fan and temperature sensors's indexes been changed Yes - that's perfectly normal with SNMP. You cannot assume that index values are necessarily stable across restarts of the agent.

Re: how to identify variable 'type' and 'value' from pdu structure

2010-10-20 Thread Dave Shield
On 19 October 2010 15:13, Renjith R. V. renjith...@nestgroup.net wrote: I am not sure what went wrong here. Can you please go through the below code snippet and try to find out what could be the issue? I'm sorry - I don't have the time to do your debugging for you. I have paid employment, that

Re: how to identify variable 'type' and 'value' from pdu structure

2010-10-20 Thread Dave Shield
On 20 October 2010 09:08, Renjith R. V. renjith...@nestgroup.net wrote: The issue with previous try: It seems that convert_v1pdu_to_v2() function doesn't update pdu-version parameter as needed (not sure whether this is intentional or not). That's quite likely. The two conversion functions were

Re: how to identify variable 'type' and 'value' from pdu structure

2010-10-20 Thread Dave Shield
On 20 October 2010 11:44, Renjith R. V. renjith...@nestgroup.net wrote: Have a look at what error the 'snmp_send' routine is returning. I have checked errno, snmp_errno and  err_string values once snmp_send() returned 0; But there is nothing in these fields(empty). Of course there isn't.

Re: lmsensors patch

2010-10-19 Thread Dave Shield
2010/10/16 maap maap m...@mail.ru: I was so disapointed when discovered that default net-snmp lmsensors module uses single index for all sensor's entries, even they are placed in different oid tables. Could you perhaps describe why this is a problem? You have four separate tables, each of

Re: how to identify variable 'type' and 'value' from pdu structure

2010-10-19 Thread Dave Shield
On 19 October 2010 08:56, Renjith R. V. renjith...@nestgroup.net wrote: I could see the forward_handler in Snmptrapd. But seems it is not getting called. Do I need to enable/configure anything in snmptrapd to do so? $ man snmptrapd.conf forward OID|default DESTINATION

Re: how to identify variable 'type' and 'value' from pdu structure

2010-10-19 Thread Dave Shield
On 19 October 2010 12:35, Renjith R. V. renjith...@nestgroup.net wrote: Now I need to convert the SNMP V1 trap received to SNMP V3/V2 and then forward. That's not currently supported. (Though it's on the list of Requested Features) Can you provide information to do the same inside

Re: how to identify variable 'type' and 'value' from pdu structure

2010-10-19 Thread Dave Shield
On 19 October 2010 13:58, Renjith R. V. renjith...@nestgroup.net wrote: I have tried with convert_v1pdu_to_v2(). But it doesn't worked. Upon checking the syslog file, it showed the error snmptrapd[19529]: Forward failed: Cannot send V2 PDU on V1 session Can you please tell me what could be

Re: how to identify variable 'type' and 'value' from pdu structure

2010-10-19 Thread Dave Shield
On 19 October 2010 14:20, Renjith R. V. renjith...@nestgroup.net wrote: I haven't created any new session. The session related code in forward_handler() is attached below. I have updated session.version with the version available in v2_pdu which is created using convert_v1pdu_to_v2(). Yes -

Re: clib_build (Re: SF.net SVN: net-snmp:[19463] branches/V5-6-patches/net-snmp/testing/ fulltests)

2010-10-15 Thread Dave Shield
My feeling for this, was that the clib_ prefix would be for the base library only and should stay that way and another prefix should be used for the agent library. How about the suffix cagentlib for agent library tests ? Silly question time: What's the meaning of the leading 'c' in

Re: Autoconf version check

2010-10-14 Thread Dave Shield
On 13 October 2010 23:18, Wes Hardaker harda...@users.sourceforge.net wrote: MF One big drawback is that AC_AUTOCONF_VERSION was introduced in 2.62 MF so any releases with a requirement below that can't use this. Yep, that's one of the reasons I went with the other way (at least for the older

Re: Invalid privacy protocol specified after -x flag: aes256

2010-10-13 Thread Dave Shield
On 13 October 2010 05:25, Tapan Kanta Mishra (tamishra) tamis...@cisco.com wrote: Could you please confirm If snmpwalk/ get support AES 256 protocol? Yes - any vaguely recent version (5.1 or above) should include AES support.   Version:  5.0.9 The 5.0.x line is long obsolete, and no longer

Re: Invalid privacy protocol specified after -x flag: aes256

2010-10-13 Thread Dave Shield
On 13 October 2010 09:28, Tapan Kanta Mishra (tamishra) tamis...@cisco.com wrote: I did try in winxp but result is different, here is my syntax snmpget -v 3 -u teaccesskk -l authPriv -a SHA -A hhjajjsa -x aes -X asadaswa ip sysUpTime.0 Invalid privacy protocol specified after -x flag:

Re: Invalid privacy protocol specified after -x flag: aes256

2010-10-13 Thread Dave Shield
On 13 October 2010 09:40, Tapan Kanta Mishra (tamishra) tamis...@cisco.com wrote: No sure If I did include OpenSSL I'm using Windows XP, Do you have any document to do that. See README.win32 Dave -- Beautiful is

Re: Invalid privacy protocol specified after -x flag: aes256

2010-10-13 Thread Dave Shield
On 13 October 2010 11:10, Tapan Kanta Mishra (tamishra) tamis...@cisco.com wrote: I Install openSSL but facing same issue Have you recompiled the code to make use of OpenSSL? Dave -- Beautiful is writing same markup.

Re: Invalid privacy protocol specified after -x flag: aes256

2010-10-13 Thread Dave Shield
On 13 October 2010 17:03, Wes Hardaker harda...@users.sourceforge.net wrote: Could you please confirm If snmpwalk/ get support AES 256 protocol? DS Yes - any vaguely recent version (5.1 or above) should include AES DS support. Actually, no.  Net-SNMP implements the standard which uses

Re: net-snmp/session_api.h broken in 5.6?

2010-10-13 Thread Dave Shield
On 13 October 2010 17:16, Wes Hardaker harda...@users.sourceforge.net wrote: BF I updated net-snmp to 5.6, and all of my net-snmp consumers broke.  It BF looks like net-snmp/library/snmp_api.h (included from BF net-snmp/session_api.h accidentally used netsnmp_transport * BF instead of struct

Re: CFV: net-snmp final from trunk tomorrow (Wednesday)

2010-10-07 Thread Dave Shield
On 6 October 2010 17:00, Bart Van Assche bvanass...@acm.org wrote: DS -  We were talking about having some form of (optional) DS automatic build report emailed to us The Valgrind nightly build infrastructure might be a good start. That might well be useful - either mailing the output to a

Re: CFV: net-snmp final from trunk tomorrow (Wednesday)

2010-10-06 Thread Dave Shield
On 5 October 2010 23:35, Wes Hardaker harda...@users.sourceforge.net wrote: I don't think doing another rc release is worth it, even though the ipv6 change seems semi-scary.  I don't think we'll get more feedback about it after the fact, so I'd rather do a full release tomorrow... Thoughts?

Re: CFV: net-snmp final from trunk tomorrow (Wednesday)

2010-10-06 Thread Dave Shield
On 6 October 2010 14:16, Wes Hardaker harda...@users.sourceforge.net wrote: DS -  We were talking about having some form of (optional) DS automatic build report emailed to us, DS Did anything ever come of this? No, not yet.  And it's to late to start on it for 5.6, unfortunately. Sure -

Re: question about ucd snmp4.2 and net snmp 5.1

2010-10-06 Thread Dave Shield
On 6 October 2010 15:57, l.baris...@akka.eu wrote:  I would like some information about the difference between ucd snmp 4.2 and net snmp 5.1. Well the most important information about these two release branches is that they are both obsolete. No development or support work is

Re: API of send Trapv1

2010-10-05 Thread Dave Shield
2010/10/5 생각하기 bakdor...@hanmail.net I want to send Trapv1 From the SNMP agent, or from an application? I realize that send_easy_trap and netsnmp_send_trap and send_enterprise_trap_var are not proper to send SNMPv1 Trap.. You realise incorrectly. If you are sending notifications from

Re: send send_easy_trap

2010-10-05 Thread Dave Shield
2010/10/5 생각하기 bakdor...@hanmail.net I 'm going to send SNMPTrapv1 use send_easy_trap I can receive the SNMPv2 Trap named notiport but i can't receive SNMPv1Trap using send_easy_trap what is the problem ?! From the FAQ How can I get the agent to send an SNMPv1 (or SNMPv2c) trap?

Re: Changing the sysobjectid

2010-10-01 Thread Dave Shield
On 1 October 2010 21:13, dave.redw...@compucom.com wrote: How do I modify the snmp agent to get it to report a different enterprise number? $ man snmpd.conf sysDescr STRING sysObjectID OID sets the system description or object ID for the agent.

Re: CFV: IPv6 support broken for Solaris 8

2010-09-28 Thread Dave Shield
On 28 September 2010 14:20, Niels Baggesen n...@users.sourceforge.net wrote: IPv6 detection for Solaris was broken with the configure.d rewrite. The following patch re-enables it. My main concern about this patch is that it amends the configure script, and hence potentially affects all builds,

Re: Inconsistency in Bridge entries..

2010-09-16 Thread Dave Shield
On 16 September 2010 06:54, Mygapula, Sudheer IN BLR SISL sudheer.mygap...@siemens.com wrote: It’s observed that the dot1dTpFdbAddress and dot1dTpFdbPort array sizes are not same; even though they are columns of the same table our precondition to build the terminal topology is that the sizes of

Re: configure script settings?

2010-09-09 Thread Dave Shield
On 9 September 2010 08:18, Abraham Varricatt abraham.varricatt+s...@googlemail.com wrote: Is it possible to have some kind of settings file for the ./configure script? Try './configure -C ' This should cache (and subsequently re-use) most of the settings that you specify on the command

Re: reg snmp sub-agent

2010-09-09 Thread Dave Shield
On 8 September 2010 07:43, Ravi Kumar mynets...@gmail.com wrote: Could any one plz give me  an example in which we need a separate snmp sub-agent. Need - probably never. Could be useful - very easily. Consider a routing agent, running on a gateway box. This will inherently contain all the

Re: CFV: fix includeAllDisks directive in trunk

2010-09-08 Thread Dave Shield
On 3 September 2010 17:48, Robert Story rst...@freesnmp.com wrote: On Fri, 03 Sep 2010 09:17:29 -0700 Wes wrote: WH I'm actually wondering why we're not doing a full strcasecmp and why WH we're using the 'n' version?  Robert? good question.. I think that I initially only had the 'i' test

Re: when using -n context-name in SNMPv3 command, the commands timeout

2010-08-26 Thread Dave Shield
On 26 August 2010 03:17, Eyre, Bernadette (Bernadette) bernadette.e...@alcatel-lucent.com wrote: I created a user as noAuth user. The user is able to do snmpget, snmpset, snmpwalk, etc. However when I add -n option with context name to the command line, the command responds with Timeout:

Re: CFV: fix some tls tests

2010-08-24 Thread Dave Shield
On 23 August 2010 21:34, Robert Story rst...@freesnmp.com wrote: do you think a CFV is needed for changes to non-default test scripts? i.e. scripts that won't be run unless explicitly requested by the user? Probably not, no. Changes to test scripts (and to mib2c templates) feel to lie

Re: TRAPS sent for excluded MIBS

2010-08-23 Thread Dave Shield
On 23 August 2010 08:19, mayank.mitt...@wipro.com wrote: Do we have any patches now to support this notify view over traps ? No. Nobody has submitted anything to address this issue since the discussion earlier this year. Please suggest as this has become a high priority defect in our code.

Re: RFV: Do not use opensll libs unless HAVE_LIBCRYPTO is defined

2010-08-23 Thread Dave Shield
On 23 August 2010 16:54, Wes Hardaker harda...@users.sourceforge.net wrote: RS updating existing ifdefs seems fine... what's with the extra ifdefs for the RS variable decls? I'd expect to see a corresponding ifdef where the vars are RS used. I agree with Robert: I questioned the exact same

Re: SNMP Help

2010-08-20 Thread Dave Shield
On 20 August 2010 07:07, Muhammad farid ud din muhammad_faridud...@yahoo.com wrote: Dear Sir/Madam, I am Farid working as system engineer at NEC, NEC is working as vendor of Microwave equipment to telecom. I need VB 6 code to trap, NEC Microwave equipment. Help me regarding, to provide

Re: creating noAuthNoPriv user from a cloneFrom user

2010-08-19 Thread Dave Shield
On 19 August 2010 19:44, Eyre, Bernadette (Bernadette) bernadette.e...@alcatel-lucent.com wrote: I added my clone-from user in the persistent file in /etc/netsnmp/snmpd.conf file as follow: createUser InitialNoAuth group   MyRWGroup3       usm             InitialNoAuth access  MyRWGroup3    

Re: SNMP V2c walk Authentication

2010-08-18 Thread Dave Shield
On 18 August 2010 12:43, Hemanth Raju hemanth.r...@globaledgesoft.com wrote: Issue:  On my network device SNMP v2c walk is successfull from any manager using community private. What are the access control settings in your snmpd.conf file? Dave

Re: SNMP V2c walk Authentication

2010-08-18 Thread Dave Shield
On 18 August 2010 13:07, Hemanth Raju hemanth.r...@globaledgesoft.com wrote:            we disabled snmpd.conf and our snmp agent is a thread but not daemon. so I think there could be some API to handle this. The simplest would probably be to call 'netsnmp_config()' with the config line that

Re: trunk: build is broken

2010-08-16 Thread Dave Shield
On 16 August 2010 11:10, Bart Van Assche bvanass...@acm.org wrote: I'm not sure which commit caused this, but I get the following output for a clean build on the trunk (r19329): make[1]: *** No rule to make target `netsnmp_agent_api.3', needed by `all'. Try now. Dave

Re: CFV: default hex output for bytes to 2 digits if no separator

2010-08-16 Thread Dave Shield
On 16 August 2010 08:10, Robert Story rst...@freesnmp.com wrote: When outputting MIB values for hex digit, the code will output a leading 0 for values less than 16 if NETSNMP_DS_LIB_2DIGIT_HEX_OUTPUT is set. The attached patch makes the following changes: [snip] In general, the patch you're

Re: CFV: default hex output for bytes to 2 digits if no separator

2010-08-16 Thread Dave Shield
On 16 August 2010 15:48, Robert Story rst...@freesnmp.com wrote: Well, a concern here is that trying to do something sensible for all cases is a bit a rats nest. Here are a few examples where the output is decidedly unsensible, but for which I have no easy fix: Value   Hint      Current

Re: CFV: mib2c guidance

2010-08-13 Thread Dave Shield
On 13 August 2010 18:13, Wes Hardaker harda...@users.sourceforge.net wrote: I think I'll take a stab at adding some additional text to the options, if that's ok with you? Fine - go right ahead. Dave -- This SF.net

Re: Memory reporting issues

2010-08-11 Thread Dave Shield
On 2 July 2010 13:47, John Waller johnwal...@troversolutions.com wrote: Physical Memory: The Physical Memory is calculated based on the values populated in the HOST-RESOURCES-MIB:hrStorageTable (1.3.6.1.2.1.25.2.2.3). The OIDs used are hrStorageSize (1.3.6.1.2.1.25.2.3.1.5),

<    1   2   3   4   5   6   7   8   9   10   >