Antwort: RE: Getting Dell SNMP MIB to work on Debian?
Zembower, Kevin
kzembowe at jhuccp.org
Mon Jun 23 11:07:26 CDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20080623/49ac5971/attachment-0001.htm
More information about the Linux-PowerEdge
mailing list