Page 1 of 2

Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Tue Nov 03, 2015 10:47 pm
by Pikmin
Hi all,
Has anyone had any problems installing the Dell OpenManage plugin

I installed all the prerequisites - snmptt, wsman

I am able to monitor using snmptt

Code: Select all

 /usr/local/nagios/dell/scripts/./dell_device_discovery.pl -H 192.168.101.102 -P 1
Starting Dell device discovery...

The following services are configured for the Dell device(s) to be discovered, as applicable.
Dell Chassis Information
Dell Chassis Overall Health Status
Dell Chassis Traps
Dell Server Information
Dell Server Overall Health Status
Dell Server Traps
Dell Storage Compellent Controller Information
Dell Storage Compellent Controller Overall Health Status
Dell Storage Compellent Controller Traps
Dell Storage Compellent Information
Dell Storage Compellent Management Traps
Dell Storage Compellent Overall Health Status
Dell Storage EqualLogic Group Information
Dell Storage EqualLogic Member Information
Dell Storage EqualLogic Member Overall Health Status
Dell Storage EqualLogic Member Traps
Dell Storage PowerVault MD Information
Dell Storage PowerVault MD Overall Health Status
Dell Storage PowerVault MD Traps

        Press Y and then press Enter to continue.
        Press any other key and then press Enter or press Enter to exit.
y

Dell device discovery is in progress...

Total number of Dell device(s) attempted               :1
Total number of Dell device(s) unreachable             :0
Total number of Dell device(s) with error response     :0
Total number of Dell device(s) with no response        :0
Total number of Dell device(s) already discovered      :0
Total number of Dell Agent-free Server(s) discovered   :1
Total number of Dell Chassis discovered                :0
Total number of Dell Storage Arrays discovered         :0
Total number of Dell device(s) discovered successfully :1

Dell device discovery completed.

Please verify the Nagios configuration and restart the Nagios service.
but when i chose option 2 (WSMAN) I get an error message

Does anyone have a guide to properly monitor using WSMAN?

I am using the following command
./dell_device_discovery.pl -H 192.168.101.102 -P 2

This is the log file of the failed attempt

Code: Select all

2015-11-04 14:42:05 DellDiscovery 5539: INFO: condition for doing discovery based on protocol:wsman ,SNMP flag:false device details return:fail for 192.168.101.102
2015-11-04 14:42:37 DellDiscovery 5539: ERROR: Failed to enumerate http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_iDRACCardView. ->fault->reason
2015-11-04 14:42:37 DellDiscovery 5539: ERROR: Retrieved sysName is null/failed to retrieve sysName. Cannot discover 192.168.101.102
2015-11-04 14:42:37 DellDiscovery 5539: INFO: Failed to retrieve iDRAC details. Skipping 192.168.101.102 discovery.
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell device(s) attempted               :1
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell device(s) unreachable             :0
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell device(s) with error response     :1
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell device(s) with no response        :0
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell device(s) already discovered      :0
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell Agent-free Server(s) discovered   :0
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell Chassis discovered                :0
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell Storage Arrays discovered         :0
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Total number of Dell device(s) discovered successfully :0
2015-11-04 14:42:37 DellDiscovery 5410: INFO: Dell device discovery completed.

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Wed Nov 04, 2015 12:10 am
by Box293
Do you have a link to where you downloaded the plugin from?

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Wed Nov 04, 2015 4:24 am
by Pikmin

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Wed Nov 04, 2015 3:53 pm
by jdalrymple
Pikmin wrote:

Code: Select all

2015-11-04 14:42:37 DellDiscovery 5539: ERROR: Failed to enumerate http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_iDRACCardView. ->fault->reason
I can't retrieve this URL, I bet it's necessary. Maybe chat up Dell?

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Wed Nov 04, 2015 10:51 pm
by Pikmin
Thanks for the suggestion. I failed to mention this server is running RedHat 6.4 and does not have Dell Open Manage installed. I will try to call Dell Support, to confirm if that might be an issue but it does say from the notes this is an agentless method through iDRAC

Release Notes

Dell OpenManage Plug-in Version 2.0 for Nagios Core

-------------------------------------------------------------------------------
Dell OpenManage Plug-in version 2.0 for Nagios Core provides capabilities to
monitor 12th and later generations of Dell PowerEdge servers through an
agent-free method using Integrated Dell Remote Access Controller (iDRAC) with
Lifecycle Controller, Dell chassis and Dell storage devices in the Nagios Core
console. This plug-in provides comprehensive hardware-level visibility including
overall and component-level health monitoring of Dell PowerEdge servers through
SNMP and WS-MAN protocols, Dell chassis through WS-MAN protocol and Dell storage
through SNMP protocol. This plug-in provides basic information about the Dell
devices and its components and also monitors the events that are generated from
the Dell devices. This plug-in also supports
one-to-one web console launch for iDRAC, Chassis, and storage devices to perform
further troubleshooting, configuration, and management activities.

I feel a bit silly, just read the Installation Guide one more time

Before you install the plug-in, ensure that you meet the following requirements based on the protocol you are using:
Common prerequisites:•
Nagios Core version 3.5.0 or later is installed and all the Nagios Core components are functional.•
Perl version 5.8.8 or later is installed.•
The Net-IP Perl module version 1.26 or later is installed.•
(Optional) Java version 1.6 or later is installed to view Dell warranty information.•
(Optional) Socket6 Perl module version 0.23 or later is installed for monitoring managed systems using Internet Protocol version 6 (IPv6).•
(Optional) SNMP Trap Translator (SNMPTT) is installed to receive SNMP alerts. It is recommended to use the latest version.•
(Optional) The supported Dell Remote RACADM utility is installed to monitor component attribute information of Dell chassis such as:–Speed(RPM) of the Dell Chassis Fan Status.–InputCurrent(A) of the Dell Chassis PowerSupply Status.–InputVoltage(V) of the Dell Chassis PowerSupply Status.–OutputPower(W) of the Dell Chassis PowerSupply Status.–
Health of the Dell Chassis I/O Module Status.
For more information on downloading and installing the supported Dell Remote RACADM utility, go to “en.community.dell.com/techcenter/systems-management/w/wiki/3205.racadm-command-line-interface-for-drac”
For SNMP:
The Net-SNMP Perl module version 6.0.1 or later is installed.
For WS-MAN:
OpenWSMAN and its Perl binding are installed.NOTE: To discover iDRAC devices, you can opt for either SNMP or WS-MAN protocol based on your requirement. However, Dell storage is discovered using SNMP protocol and Dell chassis is discovered using WS-MAN protocol.
6

System requirements for management systems (my server is running 6.4)

Code: Select all

The requirements for the management systems are as follows:•
Red Hat Enterprise Linux (RHEL) 7 and RHEL 6.6 (32-bit and 64-bit)•
SUSE Linux Enterprise Server (SLES) 11 and SLES 10 (32-bit and 64-bit)
I also need to update the iDRAC firmware, mine is Firmware Version 1.51.51 (Build 01)

Code: Select all

System requirements for managed systems
The requirements for the managed systems are as follows:
Table 2. Supported firmware versions for Dell devicesDell Device
FirmwareSupported Firmware Versions
Dell 12th generation of PowerEdge servers
iDRAC7
2.20.20.20 and 2.15.10.10
Will have to try this when I upgrade the firmware
Thanks for you help!

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Thu Nov 05, 2015 12:05 am
by Box293
Let us know how this works once you update the firmware.

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Sun Nov 08, 2015 6:54 pm
by Pikmin
Updated the iDRAC7 firmware but still no joy

I think I need to find out more about the wsman protocol, this following command works but I need to specify an iDRAC username and password

I was looking at this guide here http://en.community.dell.com/techcenter ... conversion
First command is successful but the second one isn't :/ might be time to get Dell involved

Code: Select all

[root@ndnagios dell]# wsman identify -h 192.168.131.103 -P 443 -u root -p ***** -c Dummy -y basic -V -v
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsmid="http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd" xmlns:n1="http://schemas.dmtf.org/wbem/smash/1/smash.xsd" xmlns:n2="http://schemas.dell.com/wbem/wscim/1/cim-schema/2/wsmanidentity.xsd">
  <s:Header/>
  <s:Body>
    <wsmid:IdentifyResponse>
      <wsmid:ProtocolVersion>http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd</wsmid:ProtocolVersion>
      <wsmid:ProductVendor>Dell, Inc.</wsmid:ProductVendor>
      <wsmid:ProductVersion>iDRAC : System Type = 12G Monolithic : LC Version = 2.20.20.20 : Version = 2.20.20.20</wsmid:ProductVersion>
      <n1:SMASHVersion>2.0.0</n1:SMASHVersion>
      <n2:ProductName>iDRAC</n2:ProductName>
      <n2:SystemGeneration>12G Monolithic</n2:SystemGeneration>
      <n2:FirmwareVersion>2.20.20.20</n2:FirmwareVersion>
      <n2:LifecycleControllerVersion>2.20.20.20</n2:LifecycleControllerVersion>
      <wsmid:SecurityProfiles>
        <wsmid:SecurityProfileName>HTTP_TLS_1</wsmid:SecurityProfileName>
        <wsmid:SecurityProfileName>HTTP_TLS_2</wsmid:SecurityProfileName>
      </wsmid:SecurityProfiles>
    </wsmid:IdentifyResponse>
  </s:Body>
</s:Envelope>

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Sun Nov 08, 2015 8:21 pm
by Box293

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Tue Nov 10, 2015 3:50 pm
by Pikmin
I have opened a thread, will see what happens, thanks mate

Re: Dell OpenManage Plug- in Version 2.0 for Nagios Core

Posted: Tue Nov 10, 2015 4:05 pm
by rkennedy
Sounds good, I will leave this thread open for now and await your response.