Re: Net-snmp extend functionality

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 27/07/06, Baltazar Francois <[email protected]> wrote:
>             The last OID numbers represents the name of the command in
> decimal form, but I don´t understand how to calculate the number after
> .1.3.6.1.4.1.8072.1.3.2.3.1.2.  for starttomcat it´s 11, stoptomcat is 10,
> and bandwith is 8.
>
> Is this number really the length of the string command?

Yes.
That's how (variable-length) string-valued indexes are encoded within an OID.
The Net-SNMP tools know how to encode such indexes - try

   snmpget ....  nsExtendCommand.\"starttomcat\"

etc

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.