snmptable problem
"Arazo Camprecios, Marc" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all,
I've implemented many scalars in my snmp subagent and all of them are
working well, my problem comes with a table:
I've used the mib2c.iterate.conf to generate the table, then I've
compiled the code and afterwards I've executed the subagent I have
create with subagent.m2c. When I try to get or set my table I get "No
such object available at this OID" and when I try with snmptable I get
"was that a table?"
The MIB is loaded, in fact I can get and set the scalars without any
problem.
What do I have to do to get a "good" answer from the table? Thanks!
The MIB code for the table is the following:
-- 1.3.6.1.3.1.1.1.4.4.8
pppBsdcompTable OBJECT-TYPE
SYNTAX SEQUENCE OF PppBsdcompEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"PPP: BSD compression table"
::= { ppp 8 }
-- 1.3.6.1.3.1.1.1.4.4.8.1
pppBsdcompEntry OBJECT-TYPE
SYNTAX PppBsdcompEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"PPP: BSD compression entry"
INDEX { pppBsdcompIndex }
::= { pppBsdcompTable 1 }
PppBsdcompEntry ::=
SEQUENCE {
pppBsdcomp
Integer32,
pppBsdcompIndex
Integer32
}
-- 1.3.6.1.3.1.1.1.4.4.8.1.1
pppBsdcomp OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"PPP: BSD compression"
::= { pppBsdcompEntry 1 }
-- 1.3.6.1.3.1.1.1.4.4.8.1.2
pppBsdcompIndex OBJECT-TYPE
SYNTAX Integer32 (1..2)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"PPP: BSD compression index"
::= { pppBsdcompEntry 2 }
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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