Hi,
  Please note I am not using two different version. I have uninstalled
other unwanted versions. Find the output as follows,

1)$snmpgetnext -v 1 -c public localhost system
SNMPv2-MIB::sysDescr.0 = STRING: Linux ofrdev-india-infra 2.6.18-8.el5
#1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64

2)$snmpgetnext -v 1 -c public localhost sysORUpTime.8
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (24370325) 2 days,
19:41:43.25

3)$snmpgetnext -v 1 -c public localhost versiontag
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::versionTag


4)$snmpgetnext -v 2c -c public localhost system
SNMPv2-MIB::sysDescr.0 = STRING: Linux ofrdev-india-infra 2.6.18-8.el5
#1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64

5)$snmpgetnext -v 2c -c public localhost sysORUpTime.8
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (24380298) 2 days,
19:43:22.98

6)$snmpgetnext -v 2c -c public localhost versiontag
UCD-SNMP-MIB::versionTag = No more variables left in this MIB View (It
is past the end of the MIB tree)

6) Any thing I need to update the following file ?
     $ cat /etc/cups/snmp.conf
        #Address @LOCAL
        #Community public
        #DebugLevel 0
        #HostNameLookups off
 



Thanks & Regards,
ElayaRaja 
_________________________________________________________________
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Thursday, May 08, 2008 2:20 PM
To: Sathasivam, Elayaraja
Cc: [email protected]
Subject: Re: End of MIB

2008/5/8 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> I can able to do snmpwalk with the help of command "snmpwalk  -v 2c -c
> public localhost system" why its not working with the "snmpwalk -v 1
-c
> public localhost versiontag" please find the output as follows,

Firstly, you are using two different versions of SNMP.
That's probably not relevant, but it might be.

What are the results of the following requests:

   snmpgetnext -v 1 -c public localhost system
   snmpgetnext -v 1 -c public localhost sysORUpTime.8
   snmpgetnext -v 1 -c public localhost versiontag

   snmpgetnext -v 2c -c public localhost system
   snmpgetnext -v 2c -c public localhost sysORUpTime.8
   snmpgetnext -v 2c -c public localhost versiontag

?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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

Reply via email to