Getting Dell SNMP MIB to work on Debian?

Zembower, Kevin kzembowe at jhuccp.org
Mon Jun 23 09:45:24 CDT 2008


Jonas, thanks so much for your suggestion. I wouldn't have thought of
this on my own.

Unfortunately, it still doesn't seem to work. Here's what I've done; can
you see any errors I've made?

# Just testing here before any changes are made:
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
# The www host is RHEL4 with the Dell MIB running; just for comparison
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:~$ sudo vi /etc/default/snmpd 
<snip>
# snmpd options (use syslog, close stdin/out/err).
# Removed -I smux to allow use of Dell 10892 MIB. Per
http://article.gmane.org/gmane.linux.hardware.dell.poweredge/33060/match
=jonas+snmpd
#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
127.0.0.1'
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -p /var/run/snmpd.pid 127.0.0.1'
<snip>
"/etc/default/snmpd" 22L, 890C written

kevinz at centernet:~$ sudo /etc/init.d/snmpd restart
Restarting network management services: snmpd.
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:~$ sudo /etc/init.d/snmpd stop   
Stopping network management services: snmpd snmptrapd.
kevinz at centernet:~$ sudo /etc/init.d/snmpd start
Starting network management services: snmpd.
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:~$ cat /etc/default/snmpd 
<snip>
# snmpd options (use syslog, close stdin/out/err).
# Removed -I smux to allow use of Dell 10892 MIB. Per
http://article.gmane.org/gmane.linux.hardware.dell.poweredge/33060/match
=jonas+snmpd
#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
127.0.0.1'
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -p /var/run/snmpd.pid 127.0.0.1'
<snip>
kevinz at centernet:/etc/snmp$ ls -la /usr/share/snmp/mibs/10892.mib 
lrwxrwxrwx 1 root root 38 Jun 11 12:17 /usr/share/snmp/mibs/10892.mib ->
/opt/dell/srvadmin/omsa/mibs/10892.mib
kevinz at centernet:/etc/snmp$

Here are what seem like relevant entries in /var/log/daemon.log:
Jun 23 10:27:47 cn2 snmpd[23328]: Connection from UDP: [127.0.0.1]:41067

Jun 23 10:31:33 cn2 snmpd[23328]: Received TERM or STOP signal...
shutting down... 
Jun 23 10:31:35 cn2 snmpd[19053]: cache has existing timer id. 
Jun 23 10:31:35 cn2 snmpd[19053]: NET-SNMP version 5.2.3 
Jun 23 10:31:35 cn2 snmpd[19053]: [smux_accept] accepted fd 13 from
127.0.0.1:38485 
Jun 23 10:31:35 cn2 snmpd[19053]: accepted smux peer: oid
SNMPv2-SMI::enterprises.674.10892.1, descr Systems Management SNMP MIB
Plug-in Manager 
Jun 23 10:31:40 cn2 snmpd[19053]: Connection from UDP: [127.0.0.1]:41067

Jun 23 10:31:40 cn2 snmpd[19053]: Got trap from peer on fd 13 
Jun 23 10:31:58 cn2 last message repeated 18 times
Jun 23 10:32:15 cn2 snmpd[19053]: Received TERM or STOP signal...
shutting down... 
Jun 23 10:32:21 cn2 snmpd[19099]: cache has existing timer id. 
Jun 23 10:32:21 cn2 snmpd[19099]: NET-SNMP version 5.2.3 
Jun 23 10:32:24 cn2 snmpd[19099]: [smux_accept] accepted fd 13 from
127.0.0.1:38493 
Jun 23 10:32:24 cn2 snmpd[19099]: accepted smux peer: oid
SNMPv2-SMI::enterprises.674.10892.1, descr Systems Management SNMP MIB
Plug-in Manager 
Jun 23 10:32:29 cn2 snmpd[19099]: Connection from UDP: [127.0.0.1]:41067

These entries suggest to me that it's reading the Dell 10982 MIB.

Thanks, again for your suggestion and help.

-Kevin

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


> I thought that this was the correct entry in /etc/snmp/snmpd.conf:
> centernet:/var/log# tail -2 /etc/snmp/snmpd.conf 
> # Allow Systems Management Data Engine SNMP to connect to snmpd using
> SMUX
> smuxpeer .1.3.6.1.4.1.674.10892.1
> centernet:/var/log#

on debian etch the smuxpeer is disabled by default. You have to remove
'-I -smux' from /etc/default/snmpd and restart your snmpd service.

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



More information about the Linux-PowerEdge mailing list