Re: Net-snmp extend functionality

This is a discussion on Re: Net-snmp extend functionality within the SNMP Users forums, part of the Networking and Network Related category; On 27/07/06, Baltazar Francois <bfrancois@edisoft.pt> wrote: > The last OID numbers represents the name ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-28-2006
Dave Shield
 
Posts: n/a
Default Re: Net-snmp extend functionality

On 27/07/06, Baltazar Francois <bfrancois@edisoft.pt> wrote:
> The last OID numbers represents the name of the command in
> decimal form, but I don=B4t understand how to calculate the number after
> .1.3.6.1.4.1.8072.1.3.2.3.1.2. for starttomcat it=B4s 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 OI=
D.
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?p...orge&CID=3DDE=
VDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0