Re: UCD-SNMP-MIB returns Empty

malar vizhi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,

      This is my result If I execute walk on system group

C:\>snmpwalk -v 1 -c public 192.168.1.172 system
RFC1213-MIB::sysDescr.0 = STRING: "Hardware: x86 Family 15 Model 6 Stepping
5 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195
Multiprocessor Free)"
RFC1213-MIB::sysObjectID.0 = OID: MSSQLSERVER-MIB::software.1.3.1.2
RFC1213-MIB::sysUpTime.0 = Timeticks: (1889062) 5:14:50.62
RFC1213-MIB::sysContact.0 = ""
RFC1213-MIB::sysName.0 = STRING: "MALAR"
RFC1213-MIB::sysLocation.0 = ""
RFC1213-MIB::sysServices.0 = INTEGER: 76

My sysObjectID is "OID: MSSQLSERVER-MIB::software.1.3.1.2"

Am trying to get details from ucdavis tree for three machines which are
HP-UX, Linux & windows...But these three machines giving same empty result
with ucdavis. So I execute walk on system group on these three.

For HP-UX the result is,

C:\>snmpwalk -v 1 -c public 192.168.1.105 system
RFC1213-MIB::sysDescr.0 = STRING: "HP-UX hpux B.11.23 U 9000/800 537550485"
RFC1213-MIB::sysObjectID.0 = OID: RFC1155-SMI::enterprises.11.2.3.2.3
RFC1213-MIB::sysUpTime.0 = Timeticks: (10039745) 1 day, 3:53:17.45
RFC1213-MIB::sysContact.0 = ""
RFC1213-MIB::sysName.0 = STRING: "hpux"
RFC1213-MIB::sysLocation.0 = ""
RFC1213-MIB::sysServices.0 = INTEGER: 72
RFC1213-MIB::system.8.0 = Timeticks: (0) 0:00:00.00

For Linux,

C:\>snmpwalk -v 1 -c public 192.168.1.203 system
RFC1213-MIB::sysDescr.0 = STRING: "Linux RAMA-IN-NAS 2.4.18-3smp #1 SMP Thu
Apr 18 07:27:31 EDT 2002 i686"
RFC1213-MIB::sysObjectID.0 = OID: RFC1155-SMI::enterprises.2021.250.10
RFC1213-MIB::sysUpTime.0 = Timeticks: (541) 0:00:05.41
RFC1213-MIB::sysContact.0 = STRING: "Root <root@localhost> (configure
/etc/snmp/snmp.local.conf)"
RFC1213-MIB::sysName.0 = STRING: "RAMA-IN-NAS"
RFC1213-MIB::sysLocation.0 = STRING: "Unknown (edit /etc/snmp/snmpd.conf)"
RFC1213-MIB::system.8.0 = Timeticks: (5) 0:00:00.05
RFC1213-MIB::system.9.1.2.1 = OID: RFC1213-MIB::mib-2.31
RFC1213-MIB::system.9.1.2.2 = OID: RFC1155-SMI::internet.6.3.1
RFC1213-MIB::system.9.1.2.3 = OID: RFC1213-MIB::mib-2.49
RFC1213-MIB::system.9.1.2.4 = OID: RFC1213-MIB::ip
RFC1213-MIB::system.9.1.2.5 = OID: RFC1213-MIB::mib-2.50
RFC1213-MIB::system.9.1.2.6 = OID: RFC1155-SMI::internet.6.3.16.2.2.1
RFC1213-MIB::system.9.1.2.7 = OID: RFC1155-SMI::internet.6.3.10.3.1.1
RFC1213-MIB::system.9.1.2.8 = OID: RFC1155-SMI::internet.6.3.11.3.1.1
RFC1213-MIB::system.9.1.2.9 = OID: RFC1155-SMI::internet.6.3.15.2.1.1
RFC1213-MIB::system.9.1.3.1 = STRING: "The MIB module to describe generic
objects for network interface sub-layers"
RFC1213-MIB::system.9.1.3.2 = STRING: "The MIB module for SNMPv2 entities"
RFC1213-MIB::system.9.1.3.3 = STRING: "The MIB module for managing TCP
implementations"
RFC1213-MIB::system.9.1.3.4 = STRING: "The MIB module for managing IP and
ICMP implementations"
RFC1213-MIB::system.9.1.3.5 = STRING: "The MIB module for managing UDP
implementations"
RFC1213-MIB::system.9.1.3.6 = STRING: "View-based Access Control Model for
SNMP."
RFC1213-MIB::system.9.1.3.7 = STRING: "The SNMP Management Architecture
MIB."
RFC1213-MIB::system.9.1.3.8 = STRING: "The MIB for Message Processing and
Dispatching."
RFC1213-MIB::system.9.1.3.9 = STRING: "The management information
definitions for the SNMP User-based Security Model."
RFC1213-MIB::system.9.1.4.1 = Timeticks: (3) 0:00:00.03
RFC1213-MIB::system.9.1.4.2 = Timeticks: (3) 0:00:00.03
RFC1213-MIB::system.9.1.4.3 = Timeticks: (3) 0:00:00.03
RFC1213-MIB::system.9.1.4.4 = Timeticks: (3) 0:00:00.03
RFC1213-MIB::system.9.1.4.5 = Timeticks: (3) 0:00:00.03
RFC1213-MIB::system.9.1.4.6 = Timeticks: (3) 0:00:00.03
RFC1213-MIB::system.9.1.4.7 = Timeticks: (5) 0:00:00.05
RFC1213-MIB::system.9.1.4.8 = Timeticks: (5) 0:00:00.05
RFC1213-MIB::system.9.1.4.9 = Timeticks: (5) 0:00:00.05


And Dave...Should I use Snmp-Informant to fetch data from ucdavis?...Untill
now I didnt install Snmp-Informant....in my machine...only net-snmp is
installed...

Thanks & Regards,
Malar



On Wed, Mar 4, 2009 at 4:19 PM, Dave Shield <[email protected]>wrote:

> 2009/3/4 malar vizhi <[email protected]>:
> > C:\>snmpwalk -d -v 1 -c public 192.168.1.172 UCD-SNMP-MIB:ucdavis
> >
> > Sending 40 bytes to UDP: [0.0.0.0]->[192.168.1.172]:161
> > 0000: 30 26 02 01  00 04 06 70  75 62 6C 69  63 A1 19 02
> 0&.....public¡..
> > 0016: 02 21 D9 02  01 00 02 01  00 30 0D 30  0B 06 07 2B
> .!U......0.0...+
> > 0032: 06 01 04 01  8F 65 05 00                              .....e..
>
> i.e.   GETNEXT .1.3.6.1.4.1.2021
>
> > Received 50 bytes from UDP: [0.0.0.0]->[192.168.1.172]:161
> > 0000: 30 30 02 01  00 04 06 70  75 62 6C 69  63 A2 23 02
> 00.....public¢#.
> > 0016: 02 21 D9 02  01 00 02 01  00 30 17 30  15 06 0F 2B
> .!U......0.0...+
> > 0032: 06 01 04 01  CB 00 01 01  01 01 01 02  43 3A 04 02
> ....E.......C:..
> > 0048: 43 3A                                                 C:
>
> i.e. RESPONSE .1.3.6.1.4.1.9600.1.1.1.1.2.67.58
>
> I might have got the enterprise number wrong, but it's
> certainly not within the ucdavis tree.
>
> You can ignore the second pair of packets - that's just snmpwalk
> running a GET request on the same OID, to make sure there's no
> information to be retrieved.
>
>
>
> > Plzz tell me...where exactly the problem..
>
> The remote agent doesn't support anything under the ucdavis tree.
> (Or if it does, then access control is preventing you from seeing it).
>
>
> >192.168.1.172 is a windows 2000 machine...net-snmp 5.4.2 is running...
>
> Are you sure?
> Enterprise no 9600 is assigned to "SNMP Informant"
> (http://www.snmp-informant.com/),
> which would tend to indicate that the remote agent is probably theirs,
> rather
> than the Net-SNMP agent.
>
> Try running snmpwalk on "system".
> What does that report?
>   In particular - what value does sysObjectID have?
>
> Dave
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.