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
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
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
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
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
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
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
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
.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
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
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
/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
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
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
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
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
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:
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
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
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
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
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
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
/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
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
/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
-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
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
, 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
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
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
;
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
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
!
--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
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
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
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
... 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
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
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
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
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
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
!
--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
, 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
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
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
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
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
-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
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
, 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
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
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
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
-- 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
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
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
, 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
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
-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
61 matches
Mail list logo