(Nagios)-check_openmanage [Dell],
Nagios-> check_openmanage [Dell R7 *] Requirement Description at on June 14: monitoring the hardware status and environment information of the Dell R7 Series servers through Nagios: Nagios monitoring host: xxx. xxx. xxx. xxxNagios version: 3.2.3NagioSQL: 3.2.0Dell R710: xxx. xxx. xxx. xxx monitoring logic: 1. nagios uses the plugin check_nrpe to call check_openmange to receive hardware information. 2. The Server SNMP Service obtains the hardware status through the Openmanage software. Nagios: requires the check_openmange plug-in Dell R7: requires the installation of the SNMP service, Openmanage software, and Naiogs proxy (only monitoring hardware is not installed)
Plug-in: http://folk.uio.no/trondham/software/check_openmanage.html
Install the agent on the Nagios monitoring host: [root @ nagios ~] # Tar zxvf check_openmanage-3.7.12.tar.gz [root @ nagios check_openmanage-3.7.12] #./install. sh/usr/local/nagios/libexec/usr/local/nagios [root @ nagios ~] # Rmp-ivh perl-Net-SNMP-5.2.0-1.el5.1.noarch.rpm [root @ nagios ~] # Rpm-ivh perl-Config-Tiny-2.10-1.el5.noarch.rpmsnmp protocol access snmpwalk-OS-c public-v 1 192.168.x.x monitored side install SNMP and Dell Openamge [Windows] monitored side install SNMP services need to enable hardware information push
The SNMP Service sets public names and Nagios host addresses to improve security.
Install Dell Openmanage (default port 1311)
OM-DRAC-Dell-Web-WINX64-8.4.0-2193_A00 installation package (dell official website to download)
Unzip the package and install Openmanage.
After the installation is complete, test access. Enter the current user name or password (low IE support) to access: https: // server IP Address: 1311/
Monitor install Nagios proxy NSCP-0.4.1.73-x64
Update Nagios agent software configuration C: \ Program Files \ NSClient (installation path)
Add the following information at the end of nsclinet. ini: ';' indicates that the comment does not take effect.
[/Settings/NRPE/server]; command argument processing-This option determines whether or not the we will allow clients to specify arguments to commands that are executed. allow arguments = true; command allow nasty meta chars-This option determines whether or not the we will allow clients to specify nasty (as in | '&> <' "\ [] {}) characters in arguments. allow nasty characters = trueallow_nasty_meta_chars = 1; allowed hosts-A comaseparated list of allowed hosts. you can use netmasks (/syntax) or * to create ranges. parent for this key is found under:/settings/default this is marked as advanced in favor of the parent .; allowed hosts = 192.168.xx.xx/24 (access network segments can be restricted); port number-Port to use for NRPE. port = 5666 [/settings/NRPE/server] allow arguments = true [/settings/external scripts] allow arguments = true; (you can also set the script such as vbs here) [/settings/external scripts/scripts] timevbs = cscript.exe // T: 30 // NoLogo scripts \ lib \ check_time.vbs $ ARG1 $ ARG2 $ ARG3 $
Restart nagios proxy service
Restart service
Monitor host test [root @ nagios libexec] #. /check_openmanage-H monitored Host ip OK-System: 'poweredge R710 II', SN: 'hxxd3x ', 24 GB ram (6 dimms), 2 logical drives, 14 physical drives check the hardware log Voltage Probes (Voltage) in the Dell Server [root @ nagios libexec] #. /check_openmanage-H Host IP address monitored -- only voltage voltage OK-22 voltage probes checked openmanage & SNMP must be installed in Windows, add SNMP in Server2003 (Control Center --- add or delete programs --- add or delete --- Management and monitoring tools -- Details ---- Simple Network Management Protocol) [root @ nagios libexec] #. /check_nrpe-H 1 monitored Host IP-p 5666-c check_openmanage-t 60 OK-System: 'poweredge r720', SN: '6dxx2 ', 16 GB ram (2 dimms), 2 logical drives, 6 physical drives Nagios monitoring Dell Server hardware is ignoring the Server firmware version [root @ nagios libexec] #. /check_openmanage-H monitored Host IP Controller 0 [PERC H700 Integrated]: Firmware '12. 10.1-0001 'is out of date Controller 1 [PERC H800 Adapter]: Firmware' 12. 10.1-0001 'is out of date [root @ nagios libexec] #. /check_openmanage-H monitored Host IP-B ctrl_fw = all-B ctrl_driver = all-B ctrl_stdr = all OK-System: 'poweredge R710 II', SN: '8dxxx3x ', 24 GB ram (6 dimms), 2 logical drives, 14 physical drives Esx client-side installation of SNMP & OMSA Components
- Make sure ESXi has patch 1 installed (at least build 175625 )... If not, update it.
- Make sure the root user has a password.
- Download and install vSphere remote CLI from VMware's website.
- Http://downloads.vmware.com/d/details/vcli40/ZHcqYmRkJSpidGR3
- Download oem-dell-openmanage-esxi_6.1-0000.zip from the Dell Support web site and copy it to C: \ Program Files \ VMware vSphere CLI \ bin on the system you installed the vSphere remote CLI.
- Http://ftp.us.dell.com/sysman/oem-dell-openmanage-esxi_6.1-0000.zip
- On the system where you installed the vSphere remote CLI, open a command prompt and change directory to C: \ Program Files \ VMware vSphere CLI \ bin
- Type the following command:
- Vihostupdate. pl -- server <esxhost> -- username root-I-B c: \ oem-dell-openmanage-esxi_6.1-0000.zip
- Enter the root password at the prompt and after a few minutes you shoshould see "Host updated successfully ".
- Reboot the server.
- From the vSphere client:
- Choose the Configuration tab on the host
- Click Advanced Settings under the Software section
- In the dialog that appears click "UserVars" on the left
- Change the value of CIMOEMProvidersEnabled to 1
- Click OK.
- From the DCUI: Restart Management Agents
RedHat5.9 install the SNMP & OMSA package on the customer service client. You can download the installation package from the Dell official website [root @ localhost ~] # Tar OM-SrvAdmin-Dell-Web-LX-7.3.0-350_A00.RHEL5.x86_64.tar.gz zxvf [root @ localhost ~] # Cd linux/RPMS/supportRPMS/opensource-components/RHEL5/[root @ localhost RHEL5] # cd x86_64/[root @ localhost x86_64] # ls libcmpiCppImpl0-2.0.0Dell-4.1.6.el5.x86_64.rpm libwsman1-2.2.3.9-4.1.7.el5.x86_64.rpm openwsman-client-2.2.3.9-4.1.7.el5.x86_64.rpm openwsman-server-2.2.3.9-4.1.7.el5.x86_64.rpm sblim-sfcb-1.3.7-4.13.1.el5.x86_64.rpm sblim-sfcc-2.2.1-4.7.1.el5.x86_64.rpm [root @ localhost x86_64] # r Pm-ivh libcmpiCppImpl0-2.0.0Dell-4.1.6.el5.x86_64.rpm [root @ localhost x86_64] # rpm-ivh libwsman1-2.2.3.9-4.1.7.el5.x86_64.rpm openwsman-client-2.2.3.9-4.1.7.el5.x86_64.rpm sblim-sfcb-1.3.7-4.13.1.el5.x86_64.rpm [root @ localhost1 x86_64] # rpm-ivh sblim-sfcc-2.2.1-4.7.1.el5.x86_64.rpm [root @ localhost x86_64] # rpm-ivh [root @ localhost x86_64] # rpm-ivh openwsman-server-2.2.3.9-4.1.7.el5.x86_64.rpm [Root @ localhost suppscripscripts] # pwd/root/linux/supportscripts [root @ localhost supportscripts] #./srvadmin-install.sh-x [root @ localhost ~] # Vim/etc/snmp/snmpd. conf
[Root @ xxxx suppscripscripts] #. /srvadmin-services.sh start Starting Systems Management Device Drivers: Starting dell_rbu: [OK] Starting ipmi driver: [OK] Starting Systems Management Data Engine: Starting dsm_sa_datamgrd: [OK] Starting dsm_sa_eventmgrd: [OK] Starting dsm_sa_snmpd: [OK] Starting dsm sa Shared Services: [OK] Starting dsm sa Connection Service: [OK] [root @ anagios libexec] #. /Check_openmanage-H monitored service ip OK-System: 'poweredge R720xd ', SN: 'ftlxxxxx2', 8 GB ram (2 dimms), 14 logical drives, 12 physical drives can access and manage Openmanage management via web interface. Enter https: // server IP: 1311 in IE, and log in with the operating system username and password. Https: // server IP Address: 1311/OMSALogin? MsgStatus = null specify the IP address to access SNMP [root @ localhost suppscripscripts] # vim/etc/snmp/snmpd. conf # sec. name source community com2sec notConfigUser [guest master] public [root @ localhost supportscripts] #/etc/init. d/snmpd restart Stopping snmpd: [OK] Starting snmpd: [OK]
Install agent esxcli software vib install-d/<installation package. Zip> (absolute path required)
~ # Esxcli system snmp set-e true
~ # Esxcli system snmp set-t Server IP address @ 162/public ~ # Esxcli system snmp get
Common SNMP commands: esxcli system snmp-help # help Command esxcli system snmp get # get configuration esxcli system snmp set <parameter> <parameter value> esxcli system snmp set-r # reset esx test esxcli software vib list | grep hp/etc # esxcli software vib list | grep hp char-hpcru 5.0.6.6-1OEM. 500.0.0.434156 Hewlett-Packard PartnerSupported 2014-11-19 char-hpilo 500.9.0.2.3-1OEM. 500.0.0.434156 Hewlett-Packard PartnerSupported 2014-11-19 hp-ams 500.10.0.1-07.434156 Hewlett-Packard PartnerSupported 2014-11-19 hp-esxi-fc-enablement 500.2.1.8-434156 Hewlett-Packard 2014-11-19 hp-smx-limited limit-434156 hewlett-Packard VMwareAccepted 2014-11-19 ata-pata-hpt3x2n 0.3.4-3vmw. 510.0.0.799733 VMware VMwareCertified 2013-09-18 scsi-hpsa 5.0.0-21vmw. 510.0.0.799733 VMware VMwareCertified 2013-09-18 exception reference ERROR: (SNMP) OpenManage is not installed or is not working correctly Windows cause exception: Install OMSA first and then install SNMP solution: uninstall OMSA and reinstall it once, install SNMP before installing OMSA Linux sed-r-I's/^ (SNMP) = disable $/\ 1 = enable/'/opt/dell/srvadmin/etc/srvadmin-omilcore/install. ini rm/opt/dell/srvadmin/var/lib/srvadmin-deng/dcsnmp. off srvadmin-services.sh restart service snmpd restart http://en.community.dell.com/techcenter/systems-management/f/4494/t/19597153