Re: 'Inter-Tables indexing' and perl

Turbo Fredriksson <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Bah!
Message-ID <[email protected]>
Quoting Dave Shield <[email protected]>:

>     [ First - *please* don't mail me privately, without copying
>      any responses to the mailing list.  I don't have the time
>      or inclination to offer private, unpaid, SNMP consultancy.
>      Keep discussions to the list, where others can both learn
>      and offer advice.  Thanks.   ]

I was sure I did. Sometimes I 'press the wrong button' (R
for 'reply' instead of 'F' for 'wide reply to'). Sorry.

> On Wed, 2005-11-09 at 09:36 +0100, Turbo Fredriksson wrote:
>> Quoting Dave Shield <[email protected]>:
>
>> > The fact that snmptable is displaying a column heading implies that
>> > the MIB file is still defining this object as accessible.
>> > Can you check that the MIB file includes
>> >
>> > 	MAX-ACCESS  not-accessible
>> >
>> > for this object.
>> 
>> That's the problem, it IS 'not-accessible'!
>> 
>>           b9stIndexTotals              OBJECT-TYPE
>>             SYNTAX                     CounterIndex
>>             MAX-ACCESS                 not-accessible
>>             STATUS                     current
>>             DESCRIPTION                "Reference Index for each counter."
>>             ::= { b9stTotalsEntry 1 }
>
> Hmmm....
>
> I'm a suspicious bugger, and I'm wondering whether snmptable might be
> picking up a different version of the MIB file.
>
> Can you try running
>
> 	snmptable -Dparse-mibs ....
>
> and scour the output for where it talks about loads BAYOUR-COM-MIB
> Check the exact path of the file that it's loading.

----- s n i p -----
root@aurora:~# snmptable -Dparse-mibs bind9Stats.3 2>&1 | grep BAYOUR
parse-mibs:   Module 41 BAYOUR-COM-MIB is in /usr/share/snmp/mibs/BAYOUR-COM-MIB.txt
parse-mibs: Parsing MIB: 41 BAYOUR-COM-MIB
parse-mibs: Processing IMPORTS for module 41 BAYOUR-COM-MIB
----- s n i p -----

That's the correct file.

----- s n i p -----
root@aurora:~# smidump -f tree /usr/share/snmp/mibs/BAYOUR-COM-MIB.txt | grep b9stIndexTotals
                       |  |  +--b9stTotalsEntry(1) [b9stIndexTotals]
                       |  |     +-- --- CounterIndex  b9stIndexTotals(1)
----- s n i p -----

The 'b9stIndexTotals' isn't shown there, so it MUST be 'not-accessible'...



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.