Re: Reg: net-snmp usage
Mayukh Das <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, If I want to snmpwalk on a table/object say entPhysicalTable, then I need to give the OID of this table: like this way bash-3.00$ snmpwalk -v 2c -c "public" 10.135.33.34 1.3.6.1.2.1.47.1.1.1 Then it displays the correct data. But If I put the snmpwalk syntax with the table name, I get error: bash-3.00$ snmpwalk -v 2c -c "public" 10.135.33.34 entPhysicalTable entPhysicalTable: Unknown Object Identifier (Sub-id not found: (top) -> entPhysicalTable) bash-3.00$ So to work for this, what I need to do? As Table name is much more comfortable to do in stead of using OID as each time, I need to search the OID. So is there any way to use this object name in stead of this OID? With regards, Biswajit ________________________________ From: Dave Shield <[email protected]> To: Mayukh Das <[email protected]> Cc: [email protected] Sent: Tuesday, 26 May, 2009 3:27:28 PM Subject: Re: Reg: net-snmp usage 2009/5/24 Mayukh Das <[email protected]>: > I am new to net-snmp. When doing snmpwalk I usually use the OID of the > object to retrieve the data, like: > snmpwalk -v 2c -c "public" <IP> <OID>, > But if I specify the object name, then it throws error. What error? What object name? If you want us to help you, you *must* give us something to work with. "Things don't work" isn't a lot of use. Details please. > Is there any way to specify the object name (like entPhysicalName) instead > of specifying OID. Have you installed the relevant MIB files? See the FAQ entry "How do I add a MIB" Dave Explore and discover exciting holidays and getaways with Yahoo! India Travel http://in.travel.yahoo.com/ ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ 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