Introduction
Dell server hardware can be remotely monitored via SNMP. The plugin used here comes with the OP5 Monitor plugin package as default. To monitor your Dell server, you need to have the following installed:
Dell openmanage Server Administrator" (Managed Node), a.k.a 'OMSA' >= 5.1.0
Verify OMSA
First verify the Dell server you are trying to monitor has 'OMSA' installed and running. (This may require installation and network security configuration of SNMP in Windows.)
A good test is to browse to https://dell-server:1311/
If you don't have OMSA installed, do the following:
Linux
- Set up the Dell OpenManage Repository
# wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
- Install OMSA
# yum install srvadmin-all
- Start OMSA Services
# service snmpd restart
# /opt/dell/srvadmin/sbin/srvadmin-services.sh restart
- You may want to add this script to your server start, so next time you reboot it, the service starts automatically.
- Run the following command to enable autostart of the service after reboot:
# /opt/dell/srvadmin/sbin/srvadmin-services.sh enable
Corner Cases
On rare occasions, the snmp daemon won's start because of the package net-snmp missing. This was encountered on a RHEL 6.4 installation.
If so, just run the following command:
# yum install net-snmp
The package tog-pegasus may conflict with the packages listed above and can safely be removed if not used with the following command:
# yum remove tog-pegasus
Windows
- Go to DELL support website -> click Support -> "Drivers & Downloads" -> type your server model in the search box (in my case, I typed "PowerEdge 2850") -> choose the operating system -> select Category - 'Systems Management' -> Locate "Dell OpenManage Server Administrator Managed Node (Windows - 32bit)" you should see 'OM-SrvAdmin-Dell-Web-WIN*.exe' when you expand the entry and Click on 'Download'.
- Install the file you downloaded and follow the wizard.
- The OMSA services will start automatically in the background.
Verify SNMP
Second, verify that you have SNMP network connectivity to the Dell-server from the Monitor-server, and that the Dell openmanage agent is responding:
# snmpwalk -v 1 -c snmp-community-string dell-server |head -n20
This should output the first 20 lines of info from the openmanage-storage-agent.
If you don't get an answer, you may need to open some ports in the iptables/firewall or stop it.
Verify the plugin version
Make sure that you have the latest version of the plugin. The plugin can be found in GitHub here.
If you are not using the latest version of this plugin, this needs to be downloaded to /opt/plugins/custom
Also, the check command needs to be updated. Go to Configure -> Commands.
Add a new check command:
command_name: check_openmange_new
command_line: $USER1$/custom/check_openmanage -H $HOSTADDRESS$ -C $ARG1$ ?perfdata ?info ?state
Add the service
When you have confirmed connectivity from your OP5 Monitor server to OMSA, you need to add one service on the host-object you want to monitor.
The required check-command, if not found in the web-config, can be imported using the function "Check Command Import" which you'll find under 'Configure' -> 'Commands' -> 'Related Items:'.
Add the following service:
service_description | Hardware status |
check_command |
check_openmanage |
check_command_args | snmp_community |
Note: If you have updated the check_command, please use check_openmanage_new instead.
If you have a full installation of OMSA you may add a link to the OMSA web-gui as an action_url which can be found under 'Extras' on the service you are about to add. This will give you an easy way to reach the OMSA web-gui directly from the Service information page.
Add the action_url like this:
action_url | https://$HOSTADDRESS$:1311/ |
Tip
Add a new Dell hardware service group and add your newly created services to the group.
Related article: OP5 Monitor - How to monitor the hardware of your OP5 Monitor server
Known issues
On CentOS 6.5 64bit some have reported when installing the "srvadmin-all" package, it will fail with a dependency error. This will help you get around the error:
More information: http://en.community.dell.com/techcenter/systems-management/f/4469/t/19490204.aspx