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

2014-06-17 Thread Joel Hansell
surely narrow it down to an agent-side problem. As a work-around, you could skip walking the ipAddressTable entirely, if you don't need that data. But since it's Cacti, I guess you're doing network discovery and this is out of the question? BR, Joel On Tue, Jun 17, 2014 at 11:40

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
ple, if snmpget fails to execute because the system has too many active processes and cannot allocate a new PID, I'll bet it doesn't return 0. Likewise if the process receives a kill signal before finishing. But again, this is just speculation. BR, Joel On Fri, Mar 14, 2014 at 12:35 PM

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
h insight into the source code tell me in which version this change happened? Of course, it's easy enough for me to change the syntax to read "OID: %N.0%q" (without the period), but I would love to have a version of the snmptrapd.conf for each behavior, and hopefully know on

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
mplete type (etc for a few lines) So it's an improvement but not perfect yet. =) I have no problem using net-snmp with the MIB loading enabled, but if you wish I am happy to keep troubleshooting if it will improve the software. BR, Joel

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

jobs list?

2011-02-22 Thread Joel Thompson
ement and hands-on developer. - Bachelors U.C. Berkeley Applied Math Masters U. Santa Clara - Computer Engineering Please respond to me directly, as to not pollute the email list. Thanks, Joel -- Free Software Download: Inde

Re: pthread_create and yet thread disappears

2011-02-11 Thread Joel Thompson
Has anyone successfully created a THREAD (posix or other) in a Module? If so, can you share how it was done? Thanks, Joel On 2/9/2011 9:54 PM, Joel Thompson wrote: > I wrote a Module upon INIT of the module > it starts a posix thread (w/ pthread_create), to Monitor some resource. > T

pthread_create and yet thread disappears

2011-02-10 Thread Joel Thompson
leeping for" or "MonitorMain: done sleep", or "MonitorMain: exiting" messages. Thanks for any insight/info. -Joel Here is the pertinent code: in init: pthread_t pvmMonitorThread=0; int rc=0; rc = pthread_create(&pvmMonitorThread, NULL, MonitorMain, (void *)NULL)

pthread_create and yet thread disappears

2011-02-10 Thread Joel Thompson
leeping for" or "MonitorMain: done sleep", or "MonitorMain: exiting" messages. Thanks for any insight/info. -Joel Here is the pertinent code: in init: pthread_t pvmMonitorThread=0; int rc=0; rc = pthread_create(&pvmMonitorThread, NULL, MonitorMain, (void *)NULL)

Re: agent/module, monitoring, and traps

2011-01-28 Thread Joel Thompson
Thanks Dave! Would you mind telling me which MIB would do the trick for me? and how I might implement the "get status". Also how would I implement the "commands" (startup/shutdown/ping). And finally what would the TRAP portion look like? Thanks again! appreciate it. -Joel

Re: agent/module, monitoring, and traps

2011-01-27 Thread Joel Thompson
t? gotchas/pitfalls/success? How about my Agent/Module approach? Seems pretty logical, but is that how SNMP is used - send a command and then let SNMP via my handler do something, and set status variables...etc.? Thanks! Joel Original email Attached again: Hi Folks, I've successfully insta

agent/module, monitoring, and traps

2011-01-26 Thread Joel Thompson
NMS, then it probes actual state of RESOURCE, and will set state variable accordingly, but will not generate TRAP in #3. Thank you for any advice you have. I really appreciate it. Sincerely, Joel -- Special Offer-- Down

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
Hi Chris, Thanks for the advice. I am frankly a little surprised that this functionality is not included in the Perl API, but I guess parsing the text output from snmptrapd is also feasible, if a little more work. (copying to list for archiving) /Joel On Thu, Dec 16, 2010 at 12:58 AM, Chris

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

Re: Trap Handle directive not working

2008-01-24 Thread Joel Parker
Got it working, thanks Dave and Mike. It was executing all the time, just couldn't see the output. Had it write to a file and all is well -- Joel Parker - Original Message From: Joel Parker <[EMAIL PROTECTED]> To: Dave Shield <[EMAIL PROTECTED]> C

Re: Trap Handle directive not working

2008-01-24 Thread Joel Parker
'/usr/sbin/hello hello' trace: netsnmp_ds_set_boolean(): default_store.c, 191: netsnmp_ds_set_boolean: Setting LIB:13 = 1/True trace: command_handler(): snmptrapd_handlers.c, 803: snmptrapd: execute format Any ideas ? I changed the hello code to print to stderr and still nothing.

Trap Handle directive not working

2008-01-23 Thread Joel Parker
I am running version : NET-SNMP Version: 5.1.2 Web: http://www.net-snmp.org/ Email: [EMAIL PROTECTED] I have a simple hello world c program, that runs fine from the command line. Running the command: snmptrapd -f -Le 1969-12-31 19:42:13 NET-SNMP version 5.1.2 Started

Re: [Nagiosplug-devel] nagios check_carp for OpenBSD carp(4)

2006-12-19 Thread Joel Knight
snmp/ The MIBs currently work with Net-SNMP 5.1 which is what's in the OpenBSD ports tree. The patch to ucd-snmp was obsolete some time ago. .joel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge

proc/procfix case (un)sensitive

2005-09-14 Thread joel
Hi, I have issues with my Linux (gentoo) server that leads to "cron" and "CRON" processes. "cron" are OK one, "CRON" are one that can be killed. When I use the "proc" directive from snmpd.conf, it doesn't make any diff between both. That is, even if there are only "CRON" (aka, no "cron"), the "pr

Re: disman problem?

2004-10-06 Thread Joel Parker
Both patches, the one in the bug and the mine, seemed to work fine. Maybe I missed the patch at the bottom of the bug report at that time and came up with mine. I had forgotten about it since my patch worked for me. Thanks for the response. Joel On Fri, 2004-10-01 at 10:01, Robert Story wrote