Re: create table with pass directive

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 8 April 2010 18:12, Michael Musenbrock <[email protected]> wrote:
> If I do a snmpwalk on that oid, it looks quite ok for me:
>
> ##### start Snmpwalk output ##########
>
> # snmpwalk -mALL -v2c -c public -Os localhost .1.3.6.1.4.1.232.6.2.7.2
> cpqHePostMsgIndex.1 = INTEGER: 1
> cpqHePostMsgIndex.2 = INTEGER: 2
> cpqHePostMsgIndex.3 = INTEGER: 3
> cpqHePostMsgCode.1 = INTEGER: 2
> cpqHePostMsgCode.2 = INTEGER: 2
> cpqHePostMsgCode.3 = INTEGER: 2
> cpqHePostMsgDesc.1 = STRING: "test 1"
> cpqHePostMsgDesc.2 = STRING: "test 2"
> cpqHePostMsgDesc.3 = STRING: "test 3"
>
> ##### end Snmpwalk output ##########

Yup - that looks fine.
(To be picky, the MIB object cpqHePostMsgIndex should be defined
 as "not-accessible", and omitted from the script.  But that shouldn't
 cause the problems you are seeing).


> For me it looks like that there is some index or count
> information missing?!

I don't think so - though it's not really possible to tell from the above.
You might try running the query with '-Of' (or '-On') instead of '-Os' to
check that the full OIDs being returned are correct.




> But if i going to to a snmptable, it says 'no entries':
>
> ##### start Snmptable output ##########
>
> # snmptable -mALL -v2c -c public -Os localhost .1.3.6.1.4.1.232.6.2.7.2
> cpqHePostMsgTable: No entries
>
> ##### end Snmptable output ##########

The only other thing that springs to mind is to use SNMPv1,
or the flag '-CB',  so that the table is retrieved using GETNEXT
rather than GETBULK

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.