error in tutorial "Using and loading MIBs"

"Günther Thomsen" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
In the tutorial "Using and loading  MIBs" [1], snmptranslate is used
without output option:
--8<--
% snmptranslate -m +CISCO-RHINO-MIB -IR ciscoLS1010ChassisFanLed
 .1.3.6.1.4.1.9.5.11.1.1.12
-->8--


The command used in that way will yield (in NET-SNMP 5.2.1.2 as
included in CentOS 5) however only:
--8<--
% snmptranslate -m +CISCO-RHINO-MIB -IR ciscoLS1010ChassisFanLed
ciscoLS1010ChassisFanLed
-->8--
which will confuse the layman as it conflicts with the example and
doesn't seem to do much useful.

The desired effect can be requested by specifying the output option
'n' (output numerically) as in
--8<--
% snmptranslate -m +CISCO-RHINO-MIB -IR -On ciscoLS1010ChassisFanLed
 .1.3.6.1.4.1.9.5.11.1.1.12
-->8--

hth
    Guenther


[1] http://net-snmp.sourceforge.net/wiki/index.php/TUT:Using_and_loading_MIBS

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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.