(Nagios)-check_hpasm[HP]

來源:互聯網
上載者:User

標籤:1.3   com   community   error:   device   init.d   安裝   mail   其他   

Nagios Check_hp HP2014年11月18日下午 08:49 https://IP:2381    [[email protected] ~]# tar zxvf check_hp_bladechassis-1.0.1.tar.gz  [[email protected] check_hp_bladechassis-1.0.1]# ./check_hp_bladechassis -H xxx.xxx.xxx.xxx  SNMP ERROR: Can‘t determine model name  [[email protected] check_hp_bladechassis-1.0.1]# snmpwalk -Os -c public -v 1 xxx.xxx.xxx  [[email protected] libexec]# ./check_hpasm -H xxx.xxx.xxx -C public  CRITICAL - snmpwalk returns no product name (cpqsinfo-mib), wrong device在windows端安裝ilo驅動 (必須),先安裝SNMP再Agent(cp024529_log_th.exe  cp024617_ilo_th.exe  cp022559_hp_agents_w2008.exe)  [[email protected] libexec]# ./check_hpasm -H xxx.xxx.xxx  OK - System: ‘proliant dl380p gen8‘, S/N: ‘*******‘, ROM: ‘P70 03/01/2013‘, hardware working fine, da: 2 logical drives, 16 physical drivesRedhat系統下安裝agent  [[email protected] ~]# rpm -ivh hpacucli-9.40-12.0.x86_64.rpm(不必須)  rpm -ivh hp-health-9.50-1631.33.rhel5.x86_64.rpm(必須)  rpm -ivh hp-snmp-agents-9.50-2564.34.rhel5.x86_64.rpm(必須)  /etc/init.d/hp-snmp-agents start  需要配置snmp  /sbin/hpsnmpconfig  /etc/init.d/hp-health restart  /etc/init.d/hp-asrd restart  /etc/init.d/hp-snmp-agents restart其他Server訪問不了  [[email protected] libexec]# ./check_hpasm -H xxx.xxx.xxx  CRITICAL - snmpwalk returns no product name (cpqsinfo-mib), wrong device但本地能檢查出資料,所以是snmp配置有誤。  [[email protected] plugins-scripts]# ./check_hpasm  OK - System: ‘proliant dl380p gen8‘, S/N: ‘*******‘, ROM: ‘P70 03/01/2013‘, hardware working fineLinux下配置snmp(可從其他機台copy過來)  [[email protected] plugins-scripts]# vim /etc/snmp/snmpd.conf  #add (網上參考) <http://javatechnology.iteye.com/blog/768001>  #       sec.name  source          community  com2sec notConfigUser  [監控主機]      public   .1表示所有裝置資訊  view    systemview    included   .1  修改process checks(去掉注釋)  # proc mountd  # proc ntalkd 4  # proc sendmail 10 1  修改Executables/scripts配置(去掉注釋)  #exec echotest /bin/echo hello world  修改disk checks配置(去掉注釋)  #disk / 10000  修改load average checks配置(去掉注釋)  #load 12 14 14  [[email protected] plugins-scripts]# service snmpd restart  其他Server擷取資訊ok  [[email protected] libexec]# ./check_hpasm -H xxx.xxx.xxx  OK - System: ‘proliant dl380p gen8‘, S/N: ‘*******‘, ROM: ‘P70 03/01/2013‘, hardware working fine, da: 1 logical drives, 14 physical drives   注意:proliant dl380 gen9  rpm -ivh hp-health-10.10-1710.30.rhel6.x86_64.rpm  rpm -ihv hp-snmp-agents-10.10-2732.25.rhel6.x86_64.rpm cp029394_ilo_Interface.exe cp029429_ilo_Management.exe  cp030048_Agent.exe    http://www.hpiss.com/7740.html      

(Nagios)-check_hpasm[HP]

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.