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

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


Kevin,

Not sure if this is the cause, but I had the same problem as you and after 
a lot of trial and error, I ended up with a working configuration with an 
additional line in my snmpd.conf (though I'm not 100% sure this was the 
sollution or if I already fixed it a few steps before :P):

smuxsocket 127.0.0.1
smuxpeer .1.3.6.1.4.1.674.10892.1

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 18:15

To
<linux-poweredge at dell.com>
cc

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






Heiner, thanks for writing and suggesting this. You’re right, I did forget 
this. However, it didn’t seem to help:
 
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
SNMPv2-SMI::enterprises.674.10892.1.300.10.1.11.1 = No Such Object 
available on this agent at this OID
kevinz at centernet:/var/www/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:/var/www/centernet$ sudo /etc/init.d/dataeng enablesnmp
Password:
Data Engine SNMP enabled
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
SNMPv2-SMI::enterprises.674.10892.1.300.10.1.11.1 = No Such Object 
available on this agent at this OID
kevinz at centernet:/var/www/centernet$ sudo /etc/init.d/dataeng status 
dsm_sa_datamgr32d (pid 2425) is running
dsm_sa_eventmgr32d (pid 2456) is running
dsm_sa_snmp32d (pid 23819) is running
kevinz at centernet:/var/www/centernet$ sudo /etc/init.d/dataeng stop 
Stopping Systems Management Data Engine:
Stopping dsm_sa_snmp32d: 
Stopping dsm_sa_eventmgr32d: 
Stopping dsm_sa_datamgr32d: 
kevinz at centernet:/var/www/centernet$ sudo /etc/init.d/dataeng start
Starting Systems Management Data Engine:
Starting dsm_sa_datamgr32d: 
Starting dsm_sa_eventmgr32d: 
Starting dsm_sa_snmp32d: 
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
SNMPv2-SMI::enterprises.674.10892.1.300.10.1.11.1 = No Such Object 
available on this agent at this OID
kevinz at centernet:/var/www/centernet$
 
No real change in the log file /var/log/daemon.log. 
 
Thanks, again, it was something that I forgot. I’m hoping someone will be 
able to point out what I’m doing wrong.
 
-Kevin
 

From: heiner.wulfhorst at intermoves.de 
[mailto:heiner.wulfhorst at intermoves.de] 
Sent: Monday, June 23, 2008 11:02 AM
To: Zembower, Kevin
Cc: linux-poweredge at dell.com
Subject: Antwort: RE: Getting Dell SNMP MIB to work on Debian?
 

have you enabled snmp in the dataengine again? 

on CentOS:  /opt/dell/srvadmin/dataeng/bin/dataeng enablesnmp && 
srvadmin-services.sh restart 
i think i read something about "/etc/init.d/dataeng enablesnmp" in your 
first mail, assuming that's the debian way of the above ;o) 

I don't really know if it could work but it might eventually be a 
possibility... 


best regards, 
Heiner
---------------------------------------------------------------------------

Heiner Wulfhorst

Intermoves AG
Technologiepark 19
33100 Paderborn

* Tel.  + 49 (0) 52 51 16 13-0
* Fax  + 49 (0) 52 51 16 13-99
* mailto:heiner.wulfhorst at intermoves.de

Vorstand: Volker Herold
Aufsichtsratvorsitzender: Prof. Dr. Uwe Kern
Sitz der Gesellschaft: Paderborn
Registergericht: Paderborn, HRB 3592 


"Zembower, Kevin" <kzembowe at jhuccp.org> 
Gesendet von: linux-poweredge-bounces at dell.com 
23.06.2008 16:49 


An
<linux-poweredge at dell.com> 
Kopie
 
Thema
RE: Getting Dell SNMP MIB to work on Debian?
 


 
 




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

_______________________________________________
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