Re: End of MIB

2008-05-08 Thread Dave Shield
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: End of MIB

2008-05-08 Thread Sathasivam, Elayaraja
# enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.3 = 0
# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.1 = 
# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.2 = 
# enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.3 = 

#

-



###
# Extensible sections.
#

# This alleviates the multiple line output problem found in the
# previous executable mib by placing each mib in its own mib table:

# Run a shell script containing:
#
# #!/bin/sh
# echo hello world
# echo hi there
# exit 35
#
# Note:  this has been specifically commented out to prevent
# accidental security holes due to someone else on your system writing
# a /tmp/shtest before you do.  Uncomment to use it.
#
# exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest

# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.50
# enterprises.ucdavis.50.1.1 = 1
# enterprises.ucdavis.50.2.1 = shelltest
# enterprises.ucdavis.50.3.1 = /bin/sh /tmp/shtest
# enterprises.ucdavis.50.100.1 = 35
# enterprises.ucdavis.50.101.1 = hello world.
# enterprises.ucdavis.50.101.2 = hi there.
# enterprises.ucdavis.50.102.1 = 0

# Now the Output has grown to two lines, and we can see the 'hi
# there.' output as the second line from our shell script.
#
# Note that you must alter the mib.txt file to be correct if you want
# the .50.* outputs above to change to reasonable text descriptions.

# Other ideas:
#
# exec .1.3.6.1.4.1.2021.51 ps /bin/ps
# exec .1.3.6.1.4.1.2021.52 top /usr/local/bin/top
# exec .1.3.6.1.4.1.2021.53 mailq /usr/bin/mailq

#

-



###
# Pass through control.
#

# Usage:
#   pass MIBOID EXEC-COMMAND
#
# This will pass total control of the mib underneath the MIBOID
# portion of the mib to the EXEC-COMMAND.
#
# Note:  You'll have to change the path of the passtest script to your
# source directory or install it in the given location.
#
# Example:  (see the script for details)
#   (commented out here since it requires that you place the
#   script in the right location. (its not installed by
default))

# pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/local/passtest

# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.255
# enterprises.ucdavis.255.1 = life the universe and everything
# enterprises.ucdavis.255.2.1 = 42
# enterprises.ucdavis.255.2.2 = OID: 42.42.42
# enterprises.ucdavis.255.3 = Timeticks: (363136200) 42 days, 0:42:42
# enterprises.ucdavis.255.4 = IpAddress: 127.0.0.1
# enterprises.ucdavis.255.5 = 42
# enterprises.ucdavis.255.6 = Gauge: 42
#
# % snmpget -v 1 localhost public .1.3.6.1.4.1.2021.255.5
# enterprises.ucdavis.255.5 = 42
#
# % snmpset -v 1 localhost public .1.3.6.1.4.1.2021.255.1 s New string
# enterprises.ucdavis.255.1 = New string
#

# For specific usage information, see the man/snmpd.conf.5 manual page
# as well as the local/passtest script used in the above example.

# Added for support of bcm5820 cards.
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat


###
# Further Information
#
#  See the snmpd.conf manual page, and the output of snmpd -H.

rocommunity public




Thanks  Regards,
ElayaRaja 
_

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Thursday, May 08, 2008 2:36 PM
To: Sathasivam, Elayaraja
Cc: Net-snmp-users@lists.sourceforge.net
Subject: Re: End of MIB

2008/5/8 Sathasivam, Elayaraja [EMAIL PROTECTED]:
  Please note I am not using two different version.

Not two versions of the software
Two versions of SNMP requests.

The working command used SNMPv2c,
the failing one used SNMPv1.

It was never likely that this would be relevant, but it was worth
checking.


 1)$snmpgetnext -v 1 -c public localhost system
 SNMPv2-MIB::sysDescr.0 = 
 2)$snmpgetnext -v 1 -c public localhost sysORUpTime.8
 HOST-RESOURCES-MIB::hrSystemUptime.0 = 
 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

Yup - that's pretty much what I expected.

This is definitely an access control problem.


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

Nope.  That file is not relevant here.

What is the output from  'cat /etc/snmp/snmpd.conf'  ?

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

Re: End of MIB

2008-05-08 Thread Dave Shield
2008/5/8 Sathasivam, Elayaraja [EMAIL PROTECTED]:
 $cat /etc/snmp/snmpd.conf'

Stripping out all the comments leaves:


 com2sec notConfigUser  default   public
 group   notConfigGroup v1   notConfigUser
 group   notConfigGroup v2c   notConfigUser
 viewsystemviewincluded   .1.3.6.1.2.1.1
 viewsystemviewincluded   .1.3.6.1.2.1.25.1.1
 access  notConfigGroup   any   noauthexact  systemview none none

 syslocation Unknown (edit /etc/snmp/snmpd.conf)
 syscontact Root [EMAIL PROTECTED] (configure /etc/snmp/snmp.local.conf)

 rocommunity public




The first block sets up access to the systemview  (system +  hrSystem)
for the community public.
   Which is exactly what you are seeing.

The final line tries to set up another access setting for public, but
this will be ignored, because you've already got settings for public.

Try replacing this file with one that *just* contains rocommunity public
and you should be fine.

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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: End of MIB

2008-05-08 Thread Dave Shield
2008/5/8 Sathasivam, Elayaraja [EMAIL PROTECTED]:
  Please note I am not using two different version.

Not two versions of the software
Two versions of SNMP requests.

The working command used SNMPv2c,
the failing one used SNMPv1.

It was never likely that this would be relevant, but it was worth checking.


 1)$snmpgetnext -v 1 -c public localhost system
 SNMPv2-MIB::sysDescr.0 = 
 2)$snmpgetnext -v 1 -c public localhost sysORUpTime.8
 HOST-RESOURCES-MIB::hrSystemUptime.0 = 
 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

Yup - that's pretty much what I expected.

This is definitely an access control problem.


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

Nope.  That file is not relevant here.

What is the output from  'cat /etc/snmp/snmpd.conf'  ?

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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: End of MIB

2008-05-08 Thread Sathasivam, Elayaraja

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: Net-snmp-users@lists.sourceforge.net
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: End of MIB

2008-04-29 Thread Dave Shield
2008/4/29 Sathasivam, Elayaraja [EMAIL PROTECTED]:

 1) $snmpget -v 1 -c public localhost   sysUpTime.0
 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (21168) 0:03:31.68

 3)$snmpwalk -v 1 -c public localhost versiontag
 End of MIB

What is in the file /etc/snmp/snmpd.conf ?


 But its working fine with remote host.

What do you mean by that?
Are you querying *from* the remote host to the system above?
Or are you querying from this system *to* the remote host?

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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: End of MIB

2008-04-29 Thread Sathasivam, Elayaraja
 

1)  But its working fine with remote host.

   $ snmpwalk -v 1 -c public remote ip versiontag

 Output:  UCD-SNMP-MIB::versionTag.0 = STRING: 5.0.9

 

   $ snmpwalk -v 1 -c public remote ip system

Output:

SNMPv2-MIB::sysDescr.0 = STRING: SunOS BILL2 5.10 Generic_118833-33
sun4u

SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.3

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2121314354) 245 days,
12:32:23
.54

SNMPv2-MIB::sysContact.0 = STRING: System administrator

SNMPv2-MIB::sysName.0 = STRING: BILL2

SNMPv2-MIB::sysLocation.0 = STRING: System administrators office

SNMPv2-MIB::sysServices.0 = INTEGER: 72

SNMPv2-MIB::sysORLastChange.0 = Timeticks: (25) 0:00:00.25

SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB

SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB

SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB

SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip

SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB

SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup

SNMPv2-MIB::sysORID.7 = OID:
SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance

SNMPv2-MIB::sysORID.8 = OID: SNMP-MPD-MIB::snmpMPDCompliance

SNMPv2-MIB::sysORID.9 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance

SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module to describe generic
objects fo
r network interface sub-layers

SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities

SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP
implementatio
ns

SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and
ICMP imple
mentations

SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP
implementatio
ns

SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for
SNMP.

SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB.

SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and
Dispatchin
g.

SNMPv2-MIB::sysORDescr.9 = STRING: The management information
definitions for th
e SNMP User-based Security Model.

SNMPv2-MIB::sysORUpTime.1 = Timeticks: (22) 0:00:00.22

SNMPv2-MIB::sysORUpTime.2 = Timeticks: (22) 0:00:00.22

SNMPv2-MIB::sysORUpTime.3 = Timeticks: (22) 0:00:00.22

SNMPv2-MIB::sysORUpTime.4 = Timeticks: (22) 0:00:00.22

SNMPv2-MIB::sysORUpTime.5 = Timeticks: (22) 0:00:00.22

SNMPv2-MIB::sysORUpTime.6 = Timeticks: (22) 0:00:00.22

SNMPv2-MIB::sysORUpTime.7 = Timeticks: (24) 0:00:00.24

SNMPv2-MIB::sysORUpTime.8 = Timeticks: (24) 0:00:00.24

SNMPv2-MIB::sysORUpTime.9 = Timeticks: (25) 0:00:00.25

 

  3)$snmpwalk -v 1 -c public localhost versiontag

  End of MIB

 

 

 

2) $ cat /etc/snmp/snmpd.conf

 

# Other ideas:

#

# exec .1.3.6.1.4.1.2021.51 ps /bin/ps

# exec .1.3.6.1.4.1.2021.52 top /usr/local/bin/top

# exec .1.3.6.1.4.1.2021.53 mailq /usr/bin/mailq

 

#

-

 

 


###

# Pass through control.

#

 

# Usage:

#   pass MIBOID EXEC-COMMAND

#

# This will pass total control of the mib underneath the MIBOID

# portion of the mib to the EXEC-COMMAND.

#

# Note:  You'll have to change the path of the passtest script to your

# source directory or install it in the given location.

#

# Example:  (see the script for details)

#   (commented out here since it requires that you place the

#   script in the right location. (its not installed by
default))

 

# pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/local/passtest

 

# % snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.255

# enterprises.ucdavis.255.1 = life the universe and everything

# enterprises.ucdavis.255.2.1 = 42

# enterprises.ucdavis.255.2.2 = OID: 42.42.42

# enterprises.ucdavis.255.3 = Timeticks: (363136200) 42 days, 0:42:42

# enterprises.ucdavis.255.4 = IpAddress: 127.0.0.1

# enterprises.ucdavis.255.5 = 42

# enterprises.ucdavis.255.6 = Gauge: 42

#

# % snmpget -v 1 localhost public .1.3.6.1.4.1.2021.255.5

# enterprises.ucdavis.255.5 = 42

#

# % snmpset -v 1 localhost public .1.3.6.1.4.1.2021.255.1 s New string

# enterprises.ucdavis.255.1 = New string

#

 

# For specific usage information, see the man/snmpd.conf.5 manual page

# as well as the local/passtest script used in the above example.

 

# Added for support of bcm5820 cards.

pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

 


###

# Further Information

#

#  See the snmpd.conf manual page, and the output of snmpd -H.

 

rocommunity public

 

 

 

 

 

 

 

Thanks  Regards,

ElayaRaja 

_

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, April 29, 2008 6:48 PM
To: Sathasivam, Elayaraja
Cc: Net-snmp-users@lists.sourceforge.net
Subject: Re: End of MIB

 

2008/4/29 Sathasivam

RE: End of MIB

2008-04-29 Thread Mike Ayers
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Sathasivam, Elayaraja
 Sent: Tuesday, April 29, 2008 9:18 PM

 1)  But its working fine with remote host.
 
$ snmpwalk -v 1 -c public remote ip versiontag
 
  Output:  UCD-SNMP-MIB::versionTag.0 = STRING: 5.0.9

   3)$snmpwalk -v 1 -c public localhost versiontag
 
   End of MIB

Try:

$snmpgetnext -v 1 -c public localhost .1.3

If that does not return End of MIB, the implication is that you do 
not have the UCD MIB compiled into that agent.


HTH,

Mike

-
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: End of MIB

2008-04-29 Thread Sathasivam, Elayaraja

1) $snmpgetnext -v 1 -c public localhost .1.3
Outpu: Timeout: No Response from localhost.

Need to install separate rpm UCD MIB (net-snmp-5.3.1-14) which is not
available from the following package,

net-snmp-5.3.1-14.el5.x86_64.rpm
net-snmp-libs-5.3.1-14.el5.x86_64.rpm
net-snmp-utils-5.3.1-14.el5.x86_64.rpm


Thanks  Regards,
ElayaRaja 
_

-Original Message-
From: Mike Ayers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 30, 2008 10:06 AM
To: Sathasivam, Elayaraja; Net-snmp-users@lists.sourceforge.net
Subject: RE: End of MIB

 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Sathasivam, Elayaraja
 Sent: Tuesday, April 29, 2008 9:18 PM

 1)  But its working fine with remote host.
 
$ snmpwalk -v 1 -c public remote ip versiontag
 
  Output:  UCD-SNMP-MIB::versionTag.0 = STRING: 5.0.9

   3)$snmpwalk -v 1 -c public localhost versiontag
 
   End of MIB

Try:

$snmpgetnext -v 1 -c public localhost .1.3

If that does not return End of MIB, the implication is that
you do not have the UCD MIB compiled into that agent.


HTH,

Mike

-
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: End of MIB

2008-04-29 Thread Mike Ayers

 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Sathasivam, Elayaraja
 Sent: Tuesday, April 29, 2008 9:40 PM

 1) $snmpgetnext -v 1 -c public localhost .1.3
 Outpu: Timeout: No Response from localhost.

You forgot to start the server, I think.

 Need to install separate rpm UCD MIB (net-snmp-5.3.1-14) which is not
 available from the following package,
 
 net-snmp-5.3.1-14.el5.x86_64.rpm
 net-snmp-libs-5.3.1-14.el5.x86_64.rpm
 net-snmp-utils-5.3.1-14.el5.x86_64.rpm

I do not think it's available as an RPM.  If you have login access to 
the system with the UCD MIB on it, try checking what RPMs it is using, and 
perhaps you can find a net-snmp RPM with the UCD MIB.  If so, remember to 
remove your surrent packages before installing the new ones.


Good luck,

Mike

-
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: End of MIB

2008-04-29 Thread Sathasivam, Elayaraja
Yes, your right.

/etc/init.d/snmpd restart

 

$ snmpgetnext -v 1 -c public localhost .1.3

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

 

No issues with UCD MIB as you said. 

 

$snmpwalk -v 1 -c public localhost versiontag

 End of MIB

 

 

 

 

Thanks  Regards,

ElayaRaja 

_

 

-Original Message-
From: Mike Ayers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 30, 2008 10:37 AM
To: Sathasivam, Elayaraja; Net-snmp-users@lists.sourceforge.net
Subject: RE: End of MIB

 

 

 From: [EMAIL PROTECTED] 

 [mailto:[EMAIL PROTECTED] On 

 Behalf Of Sathasivam, Elayaraja

 Sent: Tuesday, April 29, 2008 9:40 PM

 

 1) $snmpgetnext -v 1 -c public localhost .1.3

 Outpu: Timeout: No Response from localhost.

 

You forgot to start the server, I think.

 

 Need to install separate rpm UCD MIB (net-snmp-5.3.1-14) which is not

 available from the following package,

 

 net-snmp-5.3.1-14.el5.x86_64.rpm

 net-snmp-libs-5.3.1-14.el5.x86_64.rpm

 net-snmp-utils-5.3.1-14.el5.x86_64.rpm

 

I do not think it's available as an RPM.  If you have login
access to the system with the UCD MIB on it, try checking what RPMs it
is using, and perhaps you can find a net-snmp RPM with the UCD MIB.  If
so, remember to remove your surrent packages before installing the new
ones.

 

 

Good luck,

 

Mike

-
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: END OF MIB

2008-03-26 Thread Dave Shield
On 25/03/2008, snmp girl [EMAIL PROTECTED] wrote:
 I want to know what that's mean END OF MIB because I get it while testing
 a snmpwalk

The snmpwalk command basically sends a sequence of GETNEXT requests,
to step through the values one at a time.

End of MIB means that the agent received a GETNEXT request
for a particular OID, but there wasn't another MIB value to return.
Think of this as asking the question

   what's the next letter after Z?

Dave

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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/listinfo/net-snmp-users


Re: END OF MIB

2008-03-26 Thread snmp girl
thanks , now I see what does mean.

2008/3/26, Dave Shield [EMAIL PROTECTED]:

 On 25/03/2008, snmp girl [EMAIL PROTECTED] wrote:
  I want to know what that's mean END OF MIB because I get it while
 testing
  a snmpwalk

 The snmpwalk command basically sends a sequence of GETNEXT requests,
 to step through the values one at a time.

 End of MIB means that the agent received a GETNEXT request
 for a particular OID, but there wasn't another MIB value to return.
 Think of this as asking the question

   what's the next letter after Z?

 Dave

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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/listinfo/net-snmp-users