perl / translate bit string into English

2016-04-10 Thread Stuart Kendrick
00 11 11 01 = 0 BB 1 = 0BB1 But instead, SNMP.pm spits out 'BC ', i.e. B followed by C followed by a pair of spaces. I don't see how to translate 'BC ' back into a string of bits, which I could then parse to produce English text. (4) Am I headed off into the weeds? Or might there cheese a

RE: correlation of MIB files and MIB support on SNMP agents

2015-07-09 Thread Stuart Kendrick
I don't know -- you are roaming past my expertise level here. I look forward to hearing from someone more knowledgeable about this process. --sk -Original Message- From: Martin T [mailto:m4rtn...@gmail.com] Sent: Thursday, July 09, 2015 5:43 AM To: Stuart Kendrick Cc: net-snmp-users

RE: correlation of MIB files and MIB support on SNMP agents

2015-07-09 Thread Stuart Kendrick
AM To: Stuart Kendrick Cc: net-snmp-users@lists.sourceforge.net Subject: Re: correlation of MIB files and MIB support on SNMP agents One more question- how properly vendors usually keep the MIB files and MIB support on SNMP agent in correlation? I mean are there sometimes features listed in MIB

RE: purpose of MIB files in SNMP management stations

2015-07-08 Thread Stuart Kendrick
Speaking from an operational perspective, I myself would add to your list 'documentation' -- i.e., when I want to better understand what a variable and its values mean, I read the relevant section in the MIB files. If they serve any other purpose, I would like to hear about it. As an aside

RE: correlation of MIB files and MIB support on SNMP agents

2015-07-08 Thread Stuart Kendrick
Yes, I understand the relationship between SNMP agents MIB files in the way you and DPS describe below. Rephrasing using my words: - Manufacturer decides to support, say, monitoring fan state. Let's take Cisco as an example - Cisco writes the CISCO-ENVMON-MIB file, including an Object

specyfing MIB::ObjectValue using Perl module

2015-06-20 Thread Stuart Kendrick
to coexist in my= MIB collection ... and both specify a pethMainPsePower.1 variable ... ergo= my efforts in this regard.] --sk Stuart Kendrick Allen Institute -- ___ Net-snmp

specifying MIB::ObjectValue

2015-06-18 Thread Stuart Kendrick
to coexist in my MIB collection ... and both specify a pethMainPsePower.1 variable ... ergo my efforts in this regard.] --sk Stuart Kendrick Sr. Network Engineer T: 206.548.8465 [Description: C:\AllenInstitute_Email_signature_html_6e825420.png] www.alleninstitute.orghttp://www.alleninstitute.org

Re: snmpwalk from root does not reach subagent

2013-07-09 Thread Stuart Kendrick
For what it is worth, I see this issue occasionally even when I specify '.1' ... generally on implementations from minor vendors I end up doing the following ... snmpwalk -c public {host} .iso host.walk snmpwalk -c public {host} enterprises.{foo} host.walk And even that doesn't always

disable MIB parsing

2013-04-17 Thread Stuart Kendrick
.1.3.6.1.4.1.9.9.97.1.4.7.0 I was imagining a '-Px' option for disabling MIB parsing ... but I don't see it. Perhaps this is not possible? --sk Stuart Kendrick FHCRC -- Precog is a next-generation analytics platform capable of advanced

Re: wiping mib_indexes/*

2012-08-18 Thread Stuart Kendrick
On 8/9/2012 3:04 AM, Dave Shield wrote: If you look in the IETF folder, you should see five duplicate names (four of the form T11-FC*, plus DOCS-IETF-SUBMGT-MIB) In fact, the names aren't exact duplicates - there is actually a space at the end of the second version. This space is what is

Re: wiping mib_indexes/*

2012-08-09 Thread Stuart Kendrick
OK - I think I've tracked down the problem. These index files seem to use DOS-style line endings (i.e. CR/LF) Unfortunately, the code to process them includes some very Unix-centric thinking, and is explicitly looking for the LF character. (See 'snmplib/parse.c:add_mibdir()') I'm only

Re: wiping mib_indexes/*

2012-08-08 Thread Stuart Kendrick
/snmp/mibs ... is this a problem? == Would you have tips on how to narrow the fault domain? I figure I could replicate the problem with a /much/ smaller collection of MIB files ... but then I'm not sure what I would do once I had that shrunken collection in hand. ? --sk Stuart Kendrick FHCRC On 8

Re: wiping mib_indexes/*

2012-08-08 Thread Stuart Kendrick
2012 14:09, Stuart Kendrick skend...@fhcrc.org wrote: == I don't see a '.index' file anywhere in /opt/local/share/snmp/mibs ... is this a problem? No. The index file was moved from the directory containing the MIB files, (which could legitimately be mounted on read-only storage), to come under

wiping mib_indexes/*

2012-08-05 Thread Stuart Kendrick
my MIB file collection, and I haven't needed Step #4. Is this new? A bug? Or have I passed some threshold? [~2900 MIB files] net-snmp-5.7.1 running under CentOS 5.8 ? --sk Stuart Kendrick FHCRC -- Live Security

Re: network interface overruns - how I can get hold of this with snmp?

2012-04-07 Thread Stuart Kendrick
Ahh, I see. And I don't know the answer. If you find out what kind of mapping exists between ifIn/OutDiscards and dropped and/or overruns, I hope you'll post -- I would find it useful to know this also --sk [...] I'm looking for the overruns: number as in the ifconfig display: # ifconfig

Re: network interface overruns - how I can get hold of this with snmp?

2012-04-06 Thread Stuart Kendrick
I rely on ifInDiscards and ifOutDiscards to report queue discards -- are you looking for something different? IF-MIB::ifInDiscards guru snmptranslate -Of -IR ifInDiscards .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifInDiscards guru --sk Stuart Kendrick FHCRC On 4/6/2012 2:06

Re: snmptrapd does not resolve hostnames / debug token

2012-04-03 Thread Stuart Kendrick
Hi Bart, Yup, the latest branch has fixed the issue. Thanx --sk You could try to clone the Net-SNMP git repository and to build and install the V5-7-patches branch. From the changelog: commit 2cc9504b9bb8625b94be6cda7e60993d059cd928 Date: Wed Oct 26 09:01:23 2011 +0200 CHANGES:

snmptrapd does not resolve hostnames / debug token

2012-03-30 Thread Stuart Kendrick
anything obvious (when searching for 'name' or 'host' or 'addr'). Any suggestions on a debug token to try? Other suggestions for trouble-shooting? --sk Stuart Kendrick FHCRC -- This SF email is sponsosred by: Try Windows

Fixing bugs in SNMP.pm

2010-01-19 Thread Stuart Kendrick
a funding partner or two, without which this effort will fizzle. --sk Stuart Kendrick FHCRC -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating

SNMP.pm / specifying MIB module as well as the leaf identifier

2010-01-11 Thread Stuart Kendrick
rather than input. net-snmp-5.5 perl-5.10.1 --sk Stuart Kendrick FHCRC Longer snippet of code below: # Define SNMP session $session = new SNMP::Session (Community = $read, DestHost = $host

munging Perl's stack

2010-01-11 Thread Stuart Kendrick
Hi Wes, hi Tom, Any insights into this issue? http://archives.devshed.com/forums/networking-100/munging-perl-s-stack-use-of-freed-vlaue-in-iteration-1378806.html I've replicated it under net-snmp-5.5 and perl-5.10.1, so I guess I can predict your answer Ick, gross, run away. :) Or, less

Re: munging Perl's stack

2010-01-11 Thread Stuart Kendrick
thanx for the confirmation thomas --sk Thomas Anders wrote: Stuart Kendrick wrote: Any insights into this issue? http://archives.devshed.com/forums/networking-100/munging-perl-s-stack-use-of-freed-vlaue-in-iteration-1378806.html I've replicated it under net-snmp-5.5 and perl-5.10.1, so I

Re: munging Perl's stack

2010-01-11 Thread Stuart Kendrick
Hi Thomas, I don't have the skills to do this. But I might (might) be able to find someone who has money. If I had money, would that help? How much? --sk Thomas Anders wrote: Stuart Kendrick wrote: Any insights into this issue? http://archives.devshed.com/forums/networking-100/munging

Re: compiling under x86_64

2009-12-11 Thread Stuart Kendrick
/local/lib/perl5/5.10.1/x86_64-linux-thread-multi /usr/local/lib/perl5/5.10.1 /usr/local/lib/perl5/site_perl/5.10.1/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.1 . gnat Thank you for the suggestion, --sk Stuart Kendrick wrote: Hi Thomas

Re: Dell Mibs

2009-12-02 Thread Stuart Kendrick
Would you try the following and report the results you see? gnat snmptranslate -IR -On mIBMajorVersionNumber .1.3.6.1.4.1.674.10892.1.1.1 gnat snmpget -v 2c -c *** foo mIBMajorVersionNumber.0 MIB-Dell-10892::mIBMajorVersionNumber.0 = INTEGER: 5 gnat where 'foo' is the name of the host you

Re: compiling under x86_64

2009-12-01 Thread Stuart Kendrick
/perl5/site_perl/5.10.1/x86_64-linux-thread-multi /opt/vdops/lib/perl5/site_perl/5.10.1 /opt/vdops/lib/perl5/site_perl . gnat --sk Thomas Anders wrote: Stuart Kendrick wrote: I'm trying to compile net-snmp on a 64-bit box What exact version of net-snmp are you trying to compile

compiling under x86_64

2009-11-30 Thread Stuart Kendrick
-5.5/agent' make: *** [subdirs] Error 1 gnat gnat uname -a Linux gnat 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:12:36 EST 2009 x86_64 x86_64 x86_64 GNU/Linux gnat gnat pwd /opt/local/src/perl-5.10.1 gnat grep fPIC config.sh cccdlflags='-fPIC' gnat --sk Stuart Kendrick Fred Hutchinson Cancer

Re: zeroDotZero

2008-01-18 Thread Stuart Kendrick
bingo thank you, --sk Mike Ayers wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Kendrick Sent: Thursday, January 17, 2008 9:57 AM Did not find 'zeroDotZero' in module SNMPv2-SMI SNIP/ meanwhile, SNMPv2-SMI.txt contains a definition for zeroDotZero

zeroDotZero

2008-01-17 Thread Stuart Kendrick
, Counter64, zeroDotZeroFROM SNMPv2-SMI [...] what is it about MIB file syntax that i am not understanding? --sk stuart kendrick fhcrc - This SF.net email is sponsored by: Microsoft Defy all

Re: MIB for cpu temperature and/or cpu cooling fans, hardware, monitoring

2007-03-20 Thread Stuart Kendrick
ahh, that's it. no output from 'sensors' all the Linux boxes i'm using right now employ Dell hardware. a range of Dell hardware, but Dell hardware nevertheless i can take it from here; thanx for pursuing this with me --sk stuart kendrick fhcrc Bruce Shaw wrote: Net-snmp sensors module

RE: MIB for cpu temperature and/or cpu cooling fans, hardware, monitoring

2007-03-16 Thread Stuart Kendrick
bruce, so how do i enable LM-SENSORS-MIB going under Linux? i install the lmmon package ... and then compile net-snmp and install the resulting snmpd? --sk stuart kendrick fhcrc Message: 2 Date: Wed, 14 Mar 2007 13:38:50 -0600 From: Bruce Shaw [EMAIL PROTECTED] Subject: RE: MIB for cpu

perl / translateObj

2007-02-09 Thread Stuart Kendrick
; say SNMP::translateObj('.1.3.6.1.4.1.9600.1.1.5.1.1.1.48'); guru ./test cpuInstance.1.48 guru what does it take to persuade Perl to translate that .1.48 into .0 ? --sk stuart kendrick fhcrc - Using Tomcat but need to do

Re: snmpbulkwalk doesn't finish

2006-10-04 Thread Stuart Kendrick
i've opened a case with Cisco's TAC, asking them to add this to someone's to-do list --sk Dave Shield wrote: On 03/10/06, Stuart Kendrick [EMAIL PROTECTED] wrote: ok, so here's how this section started (CISCO-FLASH-MIB): ChecksumString ::= TEXTUAL-CONVENTION DISPLAY-HINT x

Re: snmpbulkwalk doesn't finish

2006-10-03 Thread Stuart Kendrick
! --sk Dave Shield wrote: On 28/09/06, Stuart Kendrick [EMAIL PROTECTED] wrote: #2 0x2b9ec19cdec6 in sprint_realloc_octet_string (buf=0x7fffe92142d0, buf_len=0x7fffe92142c8, out_len=0x7fffe92142c0, allow_realloc=1, var=0x2161cb0, enums=0x0, hint=0x1d4e521 , units=0x0

Re: snmpbulkwalk doesn't finish

2006-09-28 Thread Stuart Kendrick
hi dave, The most useful thing would be a stack trace of exactly where it has got to. Try 'bt' I'm not 100% convinced by that source listing. ok, here's output from both 'list' and 'bt': [...] Loaded symbols for /lib64/libnss_files.so.2 0x2b9ec1fbe6a5 in strlen () from

snmpbulkwalk doesn't finish

2006-09-08 Thread Stuart Kendrick
at a bug in net-snmp? or am i looking at a bug in Cisco's SNMP agent? can you think of a work-around? i imagine that i could write a script which would hack the enterprise MIB into chunks and walk each chunk ... but that feels laborious to me --sk stuart kendrick fhcrc

Re: snmpbulkwalk doesn't finish

2006-09-08 Thread Stuart Kendrick
ahh, yes. but ... it affects both --sk Dave Shield wrote: On 08/09/06, Stuart Kendrick [EMAIL PROTECTED] wrote: i've found that snmpbulkwalk becomes unhappy when doing this against some devices -- thus far, all Cisco switches am i looking at a bug in net-snmp? or am i looking at a bug

Re: Collecting CPU Memory Utilization on Cisco Catalyst 6500

2005-12-19 Thread Stuart Kendrick
... you might find some of the variables useful, if not the code itself. --sk stuart kendrick fhcrc Subject: Re: Collecting CPU Memory Utilization on Cisco Catalyst 6500 From: Dave Shield [EMAIL PROTECTED] To: Tam Vo [EMAIL PROTECTED] Cc: net-snmp-users@lists.sourceforge.net Date: Mon, 19 Dec 2005

Re: truncating unsigned value to 32 bits

2005-11-29 Thread Stuart Kendrick
yup, that fixes it! --sk On Tue, 29 Nov 2005, Wes Hardaker wrote: On Mon, 28 Nov 2005 14:33:27 -0800 (PST), Stuart Kendrick [EMAIL PROTECTED] said: Stuart truncating unsigned value to 32 bits Stuart when i grab this one particular variable, i see the above Stuart warning

truncating unsigned value to 32 bits

2005-11-28 Thread Stuart Kendrick
Aug 19 11:58:59 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux guru net-snmp 5.3.pre3 --sk stuart kendrick fhcrc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search

Re: Unexpected index type

2005-11-21 Thread Stuart Kendrick
1 RFC1213-MIB::ifDescr.1 = STRING: lo guru the module-identity section in this MIB file starts as follows: netSnmpExtendMIB MODULE-IDENTITY LAST-UPDATED 20040508Z what clues do you read in this output? --sk On Mon, 21 Nov 2005, Thomas Anders wrote: Stuart Kendrick wrote: what does

diff between 5.2 and 5.3 trains

2005-11-21 Thread Stuart Kendrick
what's the difference between the 5.2 and the 5.3 trains? y'all seem to be working on both of them simultaneously, which puzzles me ... i have a linear kind of mind-set, which thinks that 5.2 precedes 5.3 ... but obviously not in this case just curious ... --sk

Unexpected index type

2005-11-20 Thread Stuart Kendrick
hi, what does this error message mean? conceptually, what am i missing? guru snmpget -c public localhost ifDescr.1 Unexpected index type: 0 ifIndex 1 RFC1213-MIB::ifDescr.1 = STRING: lo guru net-snmp-5.3.pre3 --sk stuart kendrick fhcrc

Re: SNMP.pm status

2005-08-23 Thread Stuart Kendrick
! --sk stuart kendrick fhcrc On Tue, 23 Aug 2005, Alex Burger wrote: Stuart Kendrick wrote: however, i'm increasing finding it difficult to code around the bugs in SNMP.pm. https://sourceforge.net/tracker/index.php?func=detailaid=1206712group_id=12694atid=112694 I have attached

Re: SNMP.pm status

2005-08-23 Thread Stuart Kendrick
, using SNMP.pm, whereas it works fine when invoked from a command-line tool. if i can gather additional information for you, do let me know. --sk stuart kendrick fhcrc On Mon, 22 Aug 2005, Alex Burger wrote: Hi Stuart. Stuart Kendrick wrote: hi, what's the status of the perl module

SNMP.pm status

2005-08-21 Thread Stuart Kendrick
knew a little more about the status of support for SNMP.pm within the net-snmp project, i would be able to make choices more effectively. insights appreciated --sk stuart kendrick fhcrc --- SF.Net email is Sponsored by the Better Software

Re: Did not find zeroDotZero

2005-07-19 Thread Stuart Kendrick
the paucity of my understanding of MIB files, it suited me. i haven't detected any consequences thus far. --sk stuart kendrick fhcrc Subject: Did not find zeroDotZero Date: Tue, 12 Jul 2005 11:22:28 -0700 From: Nathan Way [EMAIL PROTECTED] To: net-snmp-users@lists.sourceforge.net I'm running Net

snmp.conf / list of 'mibdirs'

2005-07-17 Thread Stuart Kendrick
this? --sk stuart kendrick fhcrc --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed

ifIndex in enterprise MIB

2005-05-22 Thread Stuart Kendrick
query a variable. that would be a lot of work ... is anyone else in the habit of doing this (specifying MIB-file::object value)? or have i run into a zebra? (i.e, an unusual case) --sk stuart kendrick fhcrc --- This SF.Net email

Re: perl module / object value / oid translation

2005-04-25 Thread Stuart Kendrick
-MIB.my) trace: parse(): parse.c, 4153: [...] so ... to my eyes ... looks like the Perl module is finding and loading at least some of this MIB file ... but perhaps not loading all of it? is there a more verbose level of debugging i can enable, around MIB parsing? --sk stuart kendrick fhcrc

perl module / object value / oid translation

2005-04-24 Thread Stuart Kendrick
in this count. ::= { ciscoFlashPartitionEntry 6 } WHATS NEXT would anyone have tips on how i could analyze this issue more deeply? tia, --sk stuart kendrick fhcrc --- SF email is sponsored

Re: Use of freed value in iteration

2004-08-06 Thread Stuart Kendrick
, Version 7.6(7).Copyright (c) 1995-2004 by Cisco Systems, Inc.. '; guru i would really like this to work ... i'm in the middle of a big project, and this issue has me stumped. if you can think of a way for me to analyze the issue further, please drop me a line. --sk stuart kendrick fhcrc Re

Re: Use of freed value in iteration

2004-08-06 Thread Stuart Kendrick
now, if i handed one to bulkwalk, i got back what i want. -i don't understand why bulkwalk is returning two 'things' to me ... is it supposed to? and what would i do with $val2 ... if it did contain something? insights appreciated. --sk stuart kendrick fhcrc

bulkwalk oid vs bulkwalk vb

2004-08-06 Thread Stuart Kendrick
of blessed Varbinds ... but perhaps i'm missing something. --sk stuart kendrick fhcrc --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big

Use of freed value in iteration

2004-08-04 Thread Stuart Kendrick
appreciated. --sk stuart kendrick fhcrc --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open

Re: 5.1.2.pre2 notes (fwd)

2004-08-04 Thread Stuart Kendrick
-- Forwarded message -- Date: Mon, 2 Aug 2004 09:05:31 -0700 (PDT) From: Stuart Kendrick [EMAIL PROTECTED] To: Dave Shield [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: 5.1.2.pre2 notes (fwd) hi dave, ok, here is a packet trace with the script asking twice

Re: 5.1.2.pre2 notes (fwd)

2004-08-02 Thread Stuart Kendrick
hi dave, ok, here is a packet trace with the script asking twice for .1.3.6.1.4.1.9.5.1.4.1.1.6.1.1: Source Destination Protocol Info 140.107.74.123 [...].50.5 SNMP GET iso.3.6.1.4.1.9.5.1.4.1.1.6.1.1 140.107.50.5 [...].74.123 SNMP RESPONSE iso.3.6.1.4.1.9.5.1.4.1.1.6.1.1

Re: 5.1.2.pre2 notes (fwd)

2004-08-01 Thread Stuart Kendrick
hi dave, ok, i installed 5.1.2.rc2, i'm still seeing the same issue. guru snmpget -V NET-SNMP version: 5.1.2.rc2 guru here are some details. for grins, i verified that the translate function is working in both the command-line utility and SNMP.pm: guru snmptranslate -On -IR portOperStatus.1

Re: perl module dependent on source tree

2004-07-01 Thread Stuart Kendrick
, 14 Jun 2004 17:46:49 -0700 (PDT), Stuart Kendrick [EMAIL PROTECTED] said: Stuart i think i've discovered that the Perl module bundled with NET-SNMP Stuart searches its compile directory for 'default_store.so', rather than Stuart @INC: Well, it shouldn't but building against installed libraries

5.1.2.pre2 notes

2004-06-18 Thread Stuart Kendrick
i'm playing with 5.1.2pre2 -- here is what i'm seeing: -the perl module's ability to perform snmpgets has become unreliable for me. i'm using a Cisco Catalyst 4006 as my target ... i can successfully get sysDescr.0 (SNMPv2-MIB.txt), sysBootedImage (CISCO-STACK-IMAGE.my) ... but not

perl module dependent on source tree

2004-06-14 Thread Stuart Kendrick
-modules --sk stuart kendrick fhcrc seattle, wa --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San