Re: snmpwalk times out while returning result (5.5 49.el6_5.1, CentOS, used by Cacti)

2014-06-17 Thread Joel Hansell
Hi Christ, This sounds like the SNMP agent on your remote machine is having problems retrieving that data. You already took a network trace using Wireshark, right? If you want, you can try doing a manual SNMP get-next command for the last OID seen. You should see the same timeout occur. That will s

Re: Distinguishing scalar and tabular objects

2014-06-11 Thread Joel Hansell
MIB for the exact syntax. Best regards, Joel Hansell On Wed, Jun 11, 2014 at 2:10 PM, wrote: > Hi, > > I am usng net-snmp and I am developing mib browser in .Net framework > > How to distinguish whether an mib object is scalar or tabular? > > Is there any api function av

Re: OID to text conversion

2014-04-20 Thread Joel Hansell
bble.org/) Open-source by GPL (i.e. restricted distribution), but commercial license available if you want to distribute your code. Haven't used in many years, but it looks like it's still maintained. As far as I know, it's purely a MIB parser. Best regards, Joel Hansell On Sat, Apr

Re: SNMP Protocol

2014-04-10 Thread Joel Hansell
I'm sure such an answer will lead to more questions, please go ahead. :-) Regards, Joel Hansell On Thu, Apr 10, 2014 at 4:25 PM, wrote: > question about SNMP Protocol: where is installed MIB files > (vendor-specific): on the Network management station (NMS) or on

Re: snmptrapd does not write to log after logrotate

2014-03-31 Thread Joel Hansell
-read the config efter 4096 SIGHUPs are received... BR, Joel Hansell On Mon, Mar 31, 2014 at 10:32 AM, Stefan Billeb wrote: > Hello, > > I am using snmptrapd along with snmptt on my server. > I recently did the following configuration on my server: > > * Set the listening of sn

Re: SNMP get response result

2014-03-14 Thread Joel Hansell
, Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad) wrote: > Thanks Joel for quick response. > > > > We can get snmp-get response = 1 only in case of timeout or there are any > other scenarios where we can get it as "1" ? > > > > -- > > With

Re: SNMP get response result

2014-03-13 Thread Joel Hansell
turned from the Agent, then you'll have to parse the printed output. Best regards, Joel Hansell On Thu, Mar 13, 2014 at 7:04 AM, Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad) wrote: > Hello, > I would like to know the response of snmp get in case of failure. We are >

Re: SNMP Get error

2014-03-13 Thread Joel Hansell
it. I don't want to recommend any particular tool, but search terms such as "mib browser" or "MiB compiler" should give good results. Best regards, Joel Hansell Den 13 mar 2014 00:42 skrev "Ruan Batista" : > Hi, > > When I execute a snmp get in a esp

Re: Snmptrapd fails to read config after being sent 4096 SIGHUPs?

2014-02-04 Thread Joel Hansell
Hello, I was unable to reproduce the problem on 5.7.1, so I assume that this was already fixed. I'll upgrade our production installation to 5.7.2 as soon as possible. BR, Joel Hansell On Tue, Feb 4, 2014 at 3:09 PM, Joel Hansell wrote: > Hi again, > > As an update, I was able to

Re: Snmptrapd fails to read config after being sent 4096 SIGHUPs?

2014-02-04 Thread Joel Hansell
in 5.6.2... I'm trying to reproduce the bug on 5.7.1 now, but unfortunately, since snmptrapd takes about a second to restart on SIGHUP, the test takes just over an hour to execure. BR, Joel Hansell On Tue, Feb 4, 2014 at 10:58 AM, Joel Hansell wrote: > Hi list, > > Here's one

Snmptrapd fails to read config after being sent 4096 SIGHUPs?

2014-02-04 Thread Joel Hansell
ying time between failures. I'm grateful for any input. Regards, Joel Hansell -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper

Re: SNMP using another MIB

2012-05-28 Thread Joel Hansell
Hi Rodgrio, This is a mailing list intended for users of the program suite net-snmp, to be able to discuss tool usage. This is not a general SNMP Q&A mailing list, and does not cover the SNMP4j product. Try the regular support channels for SNMP4j. BR, Joel Hansell On Mon, May 28, 2012 at 1

Re: snmpbulkget ?

2012-05-23 Thread Joel Hansell
ening, and why you should not see this particular output? BR, Joel Hansell On Wed, May 23, 2012 at 4:13 PM, czezz wrote: > Hello, > I need an advice about that short SNMP "tcpdump" that I attach below. > That dump presents series of SNMPBULKGET queries. > > However what I c

Change in logging format for snmptrapd?

2012-05-16 Thread Joel Hansell
Hi, We're using snmptrapd to log traps into a file, which in turn is parsed by a script of ours. The format string looks like this for v1 traps: format1 % VARS:\t.1.3.6.1.2.1.1.3.0 = Timeticks: (%T)|#|.1.3.6.1.6.3.1.1.4.1.0 = OID: %N.0.%q|#|%vEOR\n (Yes, we are assuming that "|#|" and "EOR" are

Re: How to Write and Compile MIB in linux

2012-04-26 Thread Joel Hansell
some use of the Visual MIBuilder from MG-Soft: http://www.mg-soft.si/builder.html If you prefer writing by hand, load your MIB into a MIB browser for syntax check. The one for AdventNet (Zoho corp) is free of charge, for example. It gives pretty detailed error mes

Re: lost interface ID on Linux machine

2012-04-23 Thread Joel Hansell
t to know which interface is which, you can just inspect the ifDescr field instead? As an aside, some systems seem to be able to have ifIndex persistence enabled, like some Cisco equipment: http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080134eec.shtml Regards, Joel Hansell

Running snmptrapd as a service on HP-UX

2012-04-16 Thread Joel Hansell
from various Linux distributions that handle it, but of course HP-UX doesn't work (exactly) the same way as Debian. Best regards, Joel Hansell -- For Developers, A Lot Can Happen In A Second. Boundary is the first to

Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-18 Thread Joel Hansell
On Tue, Jan 17, 2012 at 3:07 PM, Dave Shield wrote: > Perhaps you could try the same patch (attached) and let us know if it > works for you. > > If either of you can confirm that it fixes the problem, then we'll include > it in future releases. Thanks Dave! I tried you patch, first with sun cc,

Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-17 Thread Joel Hansell
On Tue, Jan 17, 2012 at 10:50 AM, Joel Hansell wrote: > Hi Thomas, > Thanks for your reply. > I managed to get GCC 3.4.6 up and running, but unfortunately I got the > same result. I first re-built Perl with GCC, then tried to use that > Perl binary in compiling net-snmp with emb

Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-17 Thread Joel Hansell
On Tue, Jan 17, 2012 at 1:46 AM, Thomas Anders wrote: > Joel Hansell wrote: >> However, when running "make" I get the below sequence of errors and >> the build terminates. > > Interesting. Thanks for the report. > >> Is this a bug in the configur

Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-16 Thread Joel Hansell
ong with my config flags? Would a switch to GCC help? (I'd rather avoid that though.) By the way, can anyone explain (or link to an explanation) of why embedded perl support and large files are mutually exclusive on Solaris? This procedure is unwieldy to say the least, since every Perl build im

Re: mib structure subtable problem

2010-12-21 Thread Joel Hansell
-subModuleEntry -moduleTableID (external index) -subModulID (index INTEGER) -sub module information vars... Also consider using the Counter or Counter64 types for your counter values. Best regards, Joel Hansell On Mon, Dec 20, 2010 at 4:27 PM, wrote: > Hallo, > > i try t

Re: How can my perl script receive SNMP traps?

2010-12-17 Thread Joel Hansell
e, to have it make some difference that you > have lived and lived well". (Ralph Waldo Emerson) > > > From: Joel Hansell > To: net-snmp-users@lists.sourceforge.net > Sent: Wed, December 15, 2010 8:15:52 AM > Subject: How can my perl script

Re: snmpdemoapp: Timeout -- using net-snmp-5.5 compiled for linux

2010-12-16 Thread Joel Hansell
ut when running your snmpwalk command to that host.) Best regards, Joel Hansell On Wed, Dec 15, 2010 at 6:18 PM, Immad Mir wrote: > Hi all > > I am trying to get the test application (from > http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application#Net-SNMP_Command_Line_Applicat

How can my perl script receive SNMP traps?

2010-12-15 Thread Joel Hansell
would give me cross-platform issues I was hoping to avoid. Best regards, Joel Hansell -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next leve