Bluehost.com Web Hosting $6.95

how can I make the net-snmp do a operation use a variable name instead of an oid?

This is a discussion on how can I make the net-snmp do a operation use a variable name instead of an oid? within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C5BE84.E1820122 Content-Type: text/plain; charset="us-ascii&...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-21-2005
Ying Wang
 
Posts: n/a
Default how can I make the net-snmp do a operation use a variable name instead of an oid?

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5BE84.E1820122
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi list,

=20

For example,

1.3.6.1.4.1.XX.1 equals xxSystem

At present, I do like this: snmpwalk -v 1 -c public 127.0.0.1
1.3.6.1.4.1.XX.1, but now, I want to do like this: snmpwalk -v 1 -c
public 127.0.0.1 xxSystem.

=20

What should I do? Add the private mib to the net-snmp configure file,
and others?

=20

Thanks! Please help me!

=20

Yolanda

=20


------_=_NextPart_001_01C5BE84.E1820122
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:宋体;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:宋体;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
/* Page Definitions */
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 126.65pt 72.0pt 126.65pt;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DZH-CN link=3Dblue vlink=3Dpurple =
style=3D'text-justify-trim:punctuation'>

<div class=3DSection1 style=3D'layout-grid:15.6pt'>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:
9.0pt'>Hi list,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:
9.0pt'>For example,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:
9.0pt'>1.3.6.1.4.1.XX.1 equals xxSystem<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:
9.0pt'>At present, I do like this: snmpwalk -v 1 -c public 127.0.0.1
1.3.6.1.4.1.XX.1, but now, I want to do like this: snmpwalk -v 1 -c =
public
127.0.0.1 xxSystem.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:9.0pt;
font-family:宋体'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:9.0pt;
font-family:宋体'>What should I do? Add the private mib to =
the net-snmp configure
file, and others?<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:
9.0pt'>Thanks! Please help me!<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D1 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:
9.0pt'>Yolanda<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D宋体><span =
lang=3DEN-US style=3D'font-size:10.0pt;
font-family:宋体'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C5BE84.E1820122--


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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 09:52 AM.


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