Re: 'Inter-Tables indexing' and perl

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[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.   ]

On Wed, 2005-11-09 at 09:36 +0100, Turbo Fredriksson wrote:
> Quoting Dave Shield <[email protected]>:

> > Remind me - how are you implementing this table?
> 
> Do you mean MIB vise (http://www.bayour.com/bind9-snmp/BAYOUR-COM-MIB.txt),
> code wise (http://www.bayour.com/bind9-snmp/bind9-snmp-stats.pl) or do
> you want pseudocode?

Codewise.
You're using the pass-persist mechanism - I remember now.



> > 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.

Dave


-------------------------------------------------------
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.