Getting Dell SNMP MIB to work on Debian?

Bas Roos broos at unet.nl
Mon Jun 23 13:49:10 CDT 2008


Kevin,

As I've been experimenting with SNMP on Debian last week, I took one of 
our servers that didn't have SNMP installed and running and checked what 
steps I have to take to configure it to work. Hope this gives you an idea 
of what might be going wrong in your setup:

Situation before I start (done from another server in our serverpark):
username at mgmt-server:~$ snmpwalk -v 2c -c public 192.168.2.71 
.1.3.6.1.4.1.674.10892.1.300.10.1.11.1
Timeout: No Response from 192.168.2.71

Steps I take to install and configure snmpd:
* apt-get install snmpd
* Edit /etc/snmp/snmpd.conf
        - Comment out 'com2sec paranoid  default         public
        - Uncomment out '#com2sec readonly  default         public'
        - Change 'default' into our management IP range in the previous 
step (resulting in 'com2sec readonly  192.168.2.0/24         public')
* Edit /etc/default/snmpd
        - Change SNMPDOPTS
                - Before: SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux 
-p /var/run/snmpd.pid 127.0.0.1'
                - After: SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -p 
/var/run/snmpd.pid 0.0.0.0' (this enabled smux and made snmpd listen on 
all interfaces, instead of lo)
* /etc/init.d/dataeng enablesnmp (this should enable SNMP for both dataeng 
itself, as it adds a line to /etc/snmp/snmpd.conf)
* /etc/init.d/dataeng restart (restarts dataeng and starts dsm_sa_snmp32d)
* /etc/init.d/snmpd restart

After this, SNMP seems to be working:
username at mgmt-server:~$ snmpwalk -v 2c -c public 192.168.2.71 
.1.3.6.1.4.1.674.10892.1.300.10.1.11.1
SNMPv2-SMI::enterprises.674.10892.1.300.10.1.11.1 = STRING: "<our tag was 
here>"

Met vriendelijke groet / With kind regards,

Bas Roos
Network Engineer

UNET B.V.
Landdrostdreef 100
1314 SK Almere
T. +31 36 8 45 45 45
F. +31 36 8 45 45 98
E. broos at unet.nl



"Zembower, Kevin" <kzembowe at jhuccp.org> 
Sent by: linux-poweredge-bounces at dell.com
23-06-2008 20:40

To
<linux-poweredge at dell.com>
cc

Subject
RE: Getting Dell SNMP MIB to work on Debian?






Jonas, Here's what I get with both 10892 and 10893:
kevinz at centernet:~$ snmpwalk -v2c -c xxxxxxxx localhost
1.3.6.1.4.1.674.10893
SNMPv2-SMI::enterprises.674.10893 = No more variables left in this MIB
View (It is past the end of the MIB tree)
kevinz at centernet:~$ snmpwalk -v2c -c xxxxxxxx localhost
1.3.6.1.4.1.674.10892
SNMPv2-SMI::enterprises.674.10892 = No more variables left in this MIB
View (It is past the end of the MIB tree)
kevinz at centernet:~$

The query I'm using should return the Dell service tag, as it does on
the Dell PE www.jhuccp.org server:
kevinz at centernet:~$ snmpget -v2c localhost -c xxxxxxxx
.1.3.6.1.4.1.674.10892.1.300.10.1.11.1
SNMPv2-SMI::enterprises.674.10892.1.300.10.1.11.1 = No Such Object
available on this agent at this OID
kevinz at centernet:~$ snmpget -v2c www.jhuccp.org -c xxxxxxxx
.1.3.6.1.4.1.674.10892.1.300.10.1.11.1
SNMPv2-SMI::enterprises.674.10892.1.300.10.1.11.1 = STRING: "14DC491"
kevinz at centernet:~$ 

This query should return the ambient temperature in tenths of a degree
Celsius:
kevinz at centernet:~$ snmpget -v1 localhost -c xxxxxxxx
.1.3.6.1.4.1.674.10892.1.700.20.1.6.1.3
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.674.10892.1.700.20.1.6.1.3

kevinz at centernet:~$ snmpget -v1 www.jhuccp.org -c xxxxxxxx
.1.3.6.1.4.1.674.10892.1.700.20.1.6.1.3
SNMPv2-SMI::enterprises.674.10892.1.700.20.1.6.1.3 = INTEGER: 210
kevinz at centernet:~$

Thanks for your suggestion. I welcome any ideas or thoughts.

-Kevin

-----Original Message-----
From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of Jonas Genannt
Sent: Monday, June 23, 2008 2:08 PM
To: linux-poweredge at dell.com
Subject: Re: Getting Dell SNMP MIB to work on Debian?


> kevinz at centernet:/var/www/centernet$ snmpget -v2c localhost -c
> xxxxxxxx .1.3.6.1.4.1.674.10892.1.300.10.1.11.1
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

are you sure that this OID is correct? 

I'm using for testing omsa with snmp (on PE2950) this OID: 
snmpwalk -v2c -c xxxxxxxx localhost 1.3.6.1.4.1.674.10893

Greets,
                 Jonas

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq




More information about the Linux-PowerEdge mailing list