This is a discussion on RE: (no subject) within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C5A73D.D2EC129C Content-Type: text/plain; charset="us-ascii&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C5A73D.D2EC129C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi net-snmp support, =20 I am using net-snmp for my project; I found that there was case sensitive for the input that I passed. Is there any way to ignore the case for the input in my command line without making change in our MIB file? =20 Eg: Mib file can only recognize cmmDeviceID, so, if I did the following command by passing all in small case "cmmdeviceid", it couldn't find the object. Thus, is there any way to ignore case in my command line below? I have tried out -Ib but it couldn't work.=20 =20 snmpget -v 1 -c public -M /usr/local/share/snmp/mibs svg-a6-1.co.intel.com -Ib INTELCORPORATION-ATCA-MIB::cmmdeviceid.0 =20 Thanks. =20 Regards, YM ------_=_NextPart_001_01C5A73D.D2EC129C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = 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:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"\@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; 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:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} @page Section1 {size:8.5in 11.0in; margin:1.0in 77.95pt 1.0in 77.95pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'>Hi net-snmp support,<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'><o:p> </o:p></span></font></p= > <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'>I am using net-snmp for my = project; I found that there was case sensitive for the input that I passed. Is there any = way to ignore the case for the input in my command line without making change = in our MIB file?<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'><o:p> </o:p></span></font></p= > <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'>Eg:<o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'>Mib file can only recognize = </span></font><font color=3Dred><span style=3D'color:red'>cmmDeviceID, </span></font>so, if = I did the following command by passing all in small case “<font = color=3Dred><span style=3D'color:red'>cmmdeviceid</span></font>”, it couldn’t = find the object. Thus, is there any way to ignore case in my command line below? = I have tried out <font color=3Dblue><span = style=3D'color:blue'>–Ib</span></font> but it couldn’t work. <o:p></o:p></p> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span = style=3D'font-size: 10.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:blue'>snmpget -v 1 -c public -M /usr/local/share/snmp/mibs svg-a6-1.co.intel.com -Ib INTELCORPORATION-ATCA-MIB::</span></font><font color=3Dred><span style=3D'color:red'>cmmdeviceid.0</span></font><font color=3Dblack><span style=3D'color:black'><o:p></o:p></span></font></p> <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'><o:p> </o:p></span></font></p= > <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'>Thanks.<o:p></o:p></span></font></= p> <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'><o:p> </o:p></span></font></p= > <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'>Regards,<o:p></o:p></span></font><= /p> <p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier = New"><span style=3D'font-size:10.0pt;color:black'>YM<o:p></o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C5A73D.D2EC129C-- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |