Re: Can the MIB field names associated with each row be displayedonly? - SNMP

This is a discussion on Re: Can the MIB field names associated with each row be displayedonly? - SNMP ; 2008/9/3 Need Help : > In a MIB table definition, each table entry has it's own field name with > associated unique OID value. Is there a way to display the field name of > each entry in the table ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: Can the MIB field names associated with each row be displayedonly?

  1. Re: Can the MIB field names associated with each row be displayedonly?

    2008/9/3 Need Help :
    > In a MIB table definition, each table entry has it's own field name with
    > associated unique OID value. Is there a way to display the field name of
    > each entry in the table using snmptranslate or something?


    snmptable will do this automatically when retrieving the table values.
    or use 'snmptable -Ch ..... myTable' to display *just* the column names.

    Otherwise, try
    ' snmptranslate -Tp -IR myTable'

    Dave

    -------------------------------------------------------------------------
    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.p...r_id=100&url=/
    _______________________________________________
    Net-snmp-coders mailing list
    Net-snmp-coders@lists.sourceforge.net
    https://lists.sourceforge.net/lists/...et-snmp-coders


  2. Re: Can the MIB field names associated with each row be displayedonly?

    2008/9/4 Need Help :
    > The syntax for "snmptable" is the following:
    >
    > USAGE: snmptable [OPTIONS] AGENT TABLE-OID
    >
    > What does "AGENT " mean?


    Exactly the same as for any other Net-SNMP command-line tool.
    The address of the remote agent that you wish to query.

    So if you would normally run

    snmpwalk -v 1 -c public localhost myTable

    then try

    snmptable -v 1 -c public localhost myTable
    or
    snmptable -Ch -v 1 -c public localhost myTable

    Dave

    -------------------------------------------------------------------------
    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.p...r_id=100&url=/
    _______________________________________________
    Net-snmp-coders mailing list
    Net-snmp-coders@lists.sourceforge.net
    https://lists.sourceforge.net/lists/...et-snmp-coders


+ Reply to Thread