(Nagios)-check_openmanage[dell]

Source: Internet
Author: User
Tags snmp dell openmanage

Nagios->check_openmanage[dell r7*]2014 November 13 07:44 Requirements: Monitor Dell R7 series server hardware status environment information through Nagios: Nagios Monitoring host: Xxx.xxx.xxx.xxxNagios use version: 3.2.3nagiosql:3.2.0dell R710:xxx.xxx.xxx.xxx monitoring logic: 1.Nagios via plug-in Check_nrpe call   Check_openmange Receive hardware information.   2. The server-side SNMP service obtains the hardware status through the OpenManage software. Nagios: Need to install Check_openmange plug-in Dell R7: Need to install SNMP service, OpenManage software, naiogs agent (only monitor hardware not installed)

Plugin: http://folk.uio.no/trondham/software/check_openmanage.html

    

  

Nagios Monitoring Host Installation plugin: [[email protected] ~]# tar zxvf check_openmanage-3.7.12.tar.gz[[email protected] Check_ openmanage-3.7.12]#./install.sh/usr/local/nagios/libexec/usr/local/nagios[[email protected] ~]# RMP-IVH Perl-net-snmp-5.2.0-1.el5.1.noarch.rpm[[email protected] ~]# RPM-IVH PERL-CONFIG-TINY-2.10-1.EL5.NOARCH.RPMSNMP protocol Access snmpwalk-os-c PUBLIC-V 1 192.168.x.x installed SNMP and Dell openamge[windows on the monitored side ] The SNMP SNMP service installed on the monitored side needs to turn on the hardware information push

SNMP Service sets public name and Nagios Monitor host address for increased security

  

Install Dell Openmanage (default port 1311)

Om-drac-dell-web-winx64-8.4.0-2193_a00 installation package (download by Dell website)

Install OpenManage after decompression

  

  

Test access after installation, enter the current user name or password (ie support is not high) can access address: https://server IP address: 1311/

Install Nagios Agent nscp-0.4.1.73-x64 on the monitored side

  

Update Nagios agent software configuration C:\Program files\nsclient (Installation path)

  

Add the following information to the tail of the Nsclinet.ini: '; ' Number indicates that the comment does not take effect
[/settings/nrpe/server]; COMMAND ARGUMENT processing-this option determines whether or not the we'll allow clients to specify arguments to Comm ANDs that is executed.allow arguments = true; COMMAND Allow nasty META chars-this option determines whether or not the we'll 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 the Netmasks (/syntax) or * to create ranges. The parent for this key is found under:/settings/default This is marked as advanced in favour of the parent.; Allowed hosts = 192.168.XX.XX/24 (can restrict access to network segments); PORT Number-port to use for nrpe.port = 5666 [/settings/nrpe/server]allow arguments=true [/settings/external scripts]al Low Arguments=true;(can also set its own script such as VBS) [/settings/external scripts/scripts]timevbs = cscript.exe//t:30//nologo scripts \\lib\\check_time.vbs $ARG 1$ $ARG 2$ $ARG 3$

Restarting the Nagios Proxy service

  

Restart Service

  

Monitor host test [[email protected] libexec]#./check_openmanage-h Monitored host IPok-system: ' PowerEdge R710 II ', SN: ' Hxxd3x ', GB RAM (6 DIMMs), 2 logical drives, + physical drives Check the hardware logs in Dell serverVoltage Probes (voltage)  [[email protected] libexec]#./check_openmanage-h monitored host IP--only voltage voltage OK-22 Voltage Probes checked Windows system needs to install OpenManage &AMP;SNMP Two program, add SNMP in Server2003 (Control center---Add or Remove Programs---Add or remove---Management and monitoring Tools--details----Simple Network Management Protocol)  naiogs end uses Check_nrpe mode monitoring [[email protected] libexec] #./check_nrpe-h 1 Monitored host ip -P 5666-c check_openmanage-t ok-system: ' PowerEdge R720 ', SN: ' 6dxx2 ', up to GB RAM (2 DIMMs), 2 logical drives, 6 physical drives Nagios monitoring Dell server hardware is ignoring the server firmware version [[email protected] libexec]#./ch eck_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 [[email protected] 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 ', GB RAM (6 DIMMs), 2 logical drives, physicAl Drives  esx Customer Terminal installation SNMP&AMP;OMSA components  
    1. Make sure ESXi have patch 1 installed (at least build 175625) ... if not, update it.
    1. Make sure the root user has a password.
    1. Download and install VSphere remote CLI from VMware ' s website.
      • Http://downloads.vmware.com/d/details/vcli40/ZHcqYmRkJSpidGR3
    1. Download Oem-dell-openmanage-esxi_6.1-0000.zip from the Dell support Web site and copy it to C : \program Files\vmware\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
    1. On the system where do you installed the VSphere remote CLI, open a command prompt and change directory to C:\Program Files\v Mware\vmware VSphere Cli\bin
    2. Type the following command:
      • vihostupdate.pl--server <esxhost>--username root-i-B c:\oem-dell-openmanage-esxi_6.1-0000.zip
    1. Enter the root password at the prompt and after a few minutes your should see "Host updated successfully".
    2. Reboot the server.
  1. From the VSphere client:
      1. Choose the Configuration tab on the host
      1. Click Advanced Settings under the software section
      1. In the dialog so appears click "uservars" on the left
      1. Change the value of cimoemprovidersenabled to 1
      1. Click OK.
    1. From the Dcui:restart Management Agents

RedHat5.9 customer-side mounted SNMP&OMSA kit Required Installation Kit Dell's website is available for download by itself   [[email protected] ~]# tar zxvf om-srvadmin-dell-web-lx-7.3.0-350_a00. RHEL5.x86_64.tar.gz [[email protected] ~]# cd linux/rpms/supportrpms/opensource-components/rhel5/[email  protected] rhel5]# cd x86_64/[[email protected] 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  [[email protected] x86_64]# RPM-IVH libcmpicppimpl0-2.0.0dell-4.1.6.el5.x86_64.rpm [[email protected] 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  [[email  Protected] x86_64]# RPM-IVH sblim-sfcb-1.3.7-4.13.1.el5.x86_64.rpm [[email protected] x86_64]# RPM-IVH sblim-sfcc-2.2.1-4.7.1.el5.x86_64.rpm [[email protected] x86_64]# RPM-IVH openwsman-server-2.2.3.9-4.1.7.el5.x86_64.rpm  [[email protected] supportscripts]# pwd/root/linux/supportscripts [[email protected]   supportscripts]#./srvadmin-install.sh-x [[email protected] ~]# vim/etc/snmp/snmpd.conf

  [[email protected] supportscripts]#./srvadmin-services.sh start starting Systems Management Device Drivers:star Ting dell_rbu:                                           [  ok ] starting IPMI driver:                                        [  ok ] Starting Systems Management Data engine:starting dsm_sa_datamgrd:                                    [  ok ] Starting DSM_SA_EVENTMGRD:&NBSP;&NBSP;&NBSP;&NBSP;&NBsp;                             [  ok ] Starting dsm_sa_snmpd:                                       [  OK  ] Starting DSM SA Shared services:                             [  ok ]  Starting DSM SA Connection service:                         [  ok ] [[email protected] libexec]#./ check_openmanage -h Monitored service IP ok-system: ' PowerEdge r720xd ', SN: ' FTLxxxxx2 ', 8 GB RAM (2 DIMMs), loGical drives, physical drives can go through the Web Access to the OpenManage Management page in IE input https://server ip:1311, with the operating system user name and password login can be normal access management. https://Server IP address:1311/omsalogin?msgstatus=null  Specify IP address to access SNMP [[email protected] supportscripts]# vim/etc/ snmp/snmpd.conf #       sec.name  source           Community com2sec notconfiguser  [Control master]      public  [email& Nbsp;protected] supportscripts]#/etc/init.d/snmpd restart stopping snmpd:                                               [  ok ] starting snmpd:                                             [  OK ]   

ESX system Installation Agent ESXCLI software Vib install–d/< offline installation package .zip> (be sure to absolute path)

~ # 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 #帮助命令 esxcli system SNMP get #获取配置 ESXCLI system SNMP Set < parameters > < parameter values > ESXCLI system SNMP set-r #重置   ESX test esxcli software vib list |grep hp/etc # esxcli software vib list |grep hp Ch ar-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  partnersupported  2014-11-19 hp-smx-limited                  500.03.06.00.21-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 are not installed or are not working correctly Windows causes exceptions: Install OMSA before installing SNMP workaround: Uninstall OMSA Reinstall, 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

(Nagios)-check_openmanage[dell]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.