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 -----
[EMAIL PROTECTED]:~# 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 -----
[EMAIL PROTECTED]:~# 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to