RE: snmptranslate -IR -Tp reserved word problem

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0DA93D5D@mailserver.metatv-ds.metatv.com>
	I'm not certain, but...

> From: 飞飞 [mailto:[email protected]]
> Sent: Wednesday, December 30, 2009 9:53 PM

> - (is a reserved word): At line 710 in
> /usr/local/share/snmp/mibs/SV7000GUI-MIB.txt

	I do not believe you can place comment markers (--) inside a comment.

> OBJECT (is a reserved word): At line 710 in
> /usr/local/share/snmp/mibs/SV7000GUI-MIB.txt

	I believe you need to add a space after the comment markers.

> : (is a reserved word): At line 710 in
> /usr/local/share/snmp/mibs/SV7000GUI-MIB.txt

	I do not believe you can put a comment marker within a comment, i.e., don't do "----------------------".

> 710 systemInfoUserManagement    OBJECT IDENTIFIER ::=
> { systeminfoSystemManagement 1 }
> 711 --
> 712     usersTotalNumber OBJECT-TYPE
> 713         SYNTAX INTEGER
> 714         ACCESS read-only
> 715         STATUS current
> 716         DESCRIPTION
> 717              "users Total Number."
> 718         ::= { systemInfoUserManagement 1 }
> 719 --

	This is not commented out, if you thought it was.


	HTH,

Mike

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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.