Net-SNMP Component for discovery

2011-08-01 Thread Vijaya Lakshmi Dasari
Hi, Thanks for your reply. Please let me know if there is a method to send a multicast SNMP query to devices.(using this to discover MFPs) Regards, Vijayalakshmi. > -Original Message- > From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On > Behalf Of Dave Shield > Se

Re: snmp questions

2011-08-01 Thread Pete Snmp
Dave, Thanks for clarifying the doubts. Two more , please don't mind 1) Whats the intention and concept behind "lexicographical" ordering in SNMP? Is this because we need a particular sequence to retrieve the data? so we choose increasing order of OID and hence lexicographical ordering? 2) Thi

Re: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-01 Thread Garrett Cooper
On Sat, Jul 23, 2011 at 9:00 AM, Dheeraj Gautam wrote: > Hi, > > On our system we added bonded interface with link-agg-layer3+4 mode and > bonded two 1G Ethernet interfaces to the bond. But IF-MIB::ifSpeed is showing > as 10Mbps only. > > IF-MIB::ifSpeed.10 = Gauge32: 1000 > > We expected th

Re: waring message when using libnetsnmp.a

2011-08-01 Thread Dave Shield
On 25 July 2011 02:17, bend_chen wrote: >   I encountered the same problem used netsnmp 5.7. > I change to 5.6,is ok. This is a known issue with the 5.7 release, which has been fixed in the development code. It's very likely that we'll be releasing a new version 5.7.1 fairly shortly, to addres

Re: Net-SNMP Component for discovery

2011-08-01 Thread Dave Shield
On 26 July 2011 11:38, Vijaya Lakshmi Dasari wrote: >  I am working on a project where we need to discover ipv6 supported devices > in the network. > >  Kindly let me know if there is a discovery module in Net-SNMP. No - there's not. SNMP was primarily designed for managing systems that you alre

Re: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-01 Thread Dave Shield
On 23 July 2011 17:00, Dheeraj Gautam wrote: > On our system we added bonded interface with link-agg-layer3+4 mode and bonded > two 1G Ethernet interfaces to the bond. But IF-MIB::ifSpeed is showing as > 10Mbps only. > We are using Net-SNMP version 5.3.1 That's a very old version of the agent.

Re: snmp questions

2011-08-01 Thread Dave Shield
On 1 August 2011 19:15, Pete Snmp wrote: > 1) How come walk returns a valid entry without providing an OID to start with? $ man snmpwalk If no OID argument is present, snmpwalk will search the subtree rooted at SNMPv2-SMI::mib-2 > As walk uses get_next internally ! The command

Re: snmp questions

2011-08-01 Thread Pete Snmp
Dave, Thanks a lot for quick response. Couple of doubts 1) How come walk returns a valid entry without providing an OID to start with? As walk uses get_next internally ! 2)I couldn't get what you mentioned about counters ! Could you please explain this with an example 3)Regarding table

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 6:26 PM, Bob ONeil wrote: > All applications indicate at load several MIBs that it can't loaded > (attached screenshots). > There is a regression in Net-SNMP with regard to MIB loading in version 5.7 compared to 5.6 - please use the source code from git:// net-snmp.git.sou

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 4:15 PM, wrote: > Thanks for the quick response. It looks like it has built now. What was the > perl/NetSNMP.xs file doing that caused it not to build? > I'm not sure what that file should be doing. But you won't miss it, as you can see in that file: $ cat perl/NetSNMP.xs

Fw: Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Ali . Bruce
- Forwarded by Ali Bruce/UKMAIN/MM1 on 01/08/2011 17:05 - Ali Bruce/UKMAIN/MM1 01/08/2011 15:15 To bvanass...@acm.org cc Subject Re: Unable to build Net-Snmp with embedded perl Bart, Thanks for the quick response. It looks like it has built now. What was the perl/NetSNMP.xs file

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Dave Shield
On 31 July 2011 23:05, wrote: > 1.  I am trying to use the exact same working AgentX code under Windows > that tests and works under Linux, but connecting to the agent fails. Remember that by default, AgentX uses a named socket (/var/agentx/master) which is not supported under Windows. You'll h

Re: Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 2:55 PM, wrote: > NetSNMP.def : error LNK2001: unresolved external symbol > boot_Bundle__NetSNMP > Does removing perl/NetSNMP.xs before you start build.bat help ? Bart. -- Got Input? Slashdot Ne

Re: rare crash with

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 2:53 PM, Rudy Gevaert wrote: > On 08/01/2011 12:45 PM, Bart Van Assche wrote: > >> Has this issue already been analyzed with Valgrind ? >> > > I only ran gdb attached to the cyrus master daemon to get a backtrace. > I haven't got any experience with valgrind, or debugging c

Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Ali . Bruce
Hello, I am new to using Net-Snmp. I am trying to build Net-Snmp version 5.7 with embedded-perl support using the Visual Studio C++ build option. I am using the version perl5 (revision 5 version 10 subversion 0) of Perl from ActivePerl. To compile Net-Snmp I am using the Win32\build.bat scrip

Re: rare crash with

2011-08-01 Thread Rudy Gevaert
On 08/01/2011 12:45 PM, Bart Van Assche wrote: > > Has this issue already been analyzed with Valgrind ? Hi Bart, Thanks for responding to this! I only ran gdb attached to the cyrus master daemon to get a backtrace. I haven't got any experience with valgrind, or debugging c code... Are there an

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 12:05 AM, wrote: > 3. While I have Active Perl installed, the build.bat process when > specifying Perl install fails. > With which ActivePerl version and which Visual Studio version did this happen ? Also, what is the first error message reported in win32/perlmake.out ? I

Re: rare crash with

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 11:01 AM, Rudy Gevaert wrote: > I'm using Debian squeeze 64bit with snmpd 5.4.3~dfsg-2. > > On this system I'm running several Cyrus IMAP server instances. Every > cyrus instances is started to connect to a snmp agentx: > > snmp 7292 0.0 0.0 51596 4096 ?S

rare crash with

2011-08-01 Thread Rudy Gevaert
Hello, I'm using Debian squeeze 64bit with snmpd 5.4.3~dfsg-2. On this system I'm running several Cyrus IMAP server instances. Every cyrus instances is started to connect to a snmp agentx: snmp 7292 0.0 0.0 51596 4096 ?SJul15 10:38 /usr/sbin/snmpd -Lsd -Lf /dev/null -u s

Re: net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 12:05 AM, wrote: > While I am able to buidl and exeucte net-snmp, but I have the following > issues/observations: > > 1. I am trying to use the exact same working AgentX code under Windows > that tests and works under Linux, but connecting to the agent fails. There must

net-snmp AgentX connection failure and OpenSLL and Perl build issues

2011-08-01 Thread boneil
While I am able to buidl and exeucte net-snmp, but I have the following issues/observations: 1. I am trying to use the exact same working AgentX code under Windows that tests and works under Linux, but connecting to the agent fails. I noticed that when net-snmp 1.5.7 loads up, there are mayb