Nagios check_hp HP2014 November 18 pm 08:49 https://IP:2381 [[email protected] ~]# tar zxvf check_hp_bladechassis-1.0.1.tar.g z [[email protected] check_hp_bladechassis-1.0.1]#./check_hp_bladechassis-h xxx.xxx.xxx.xxx SNMP error:can ' t determin e 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 Devic EInstall The ILO Driver (required) on the Windows side , first install the 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, physical drives installation agent under Redhat system [email protected] ~]# RPM-IVH hpacucli-9.40-12.0.x86_64.rpm( not required ) RPM-IVH hp-health-9.50-1631.33.rhel5.x86_64.rpm (MUST) RPM-IVH hp-snmp-agents-9.50-2564.34.rhel5.x86_64.rpm (must)/etc/ Init.d/hp-snmp-agents startneed to configure SNMP /sbin/hpsnmpconfig/etc/init.d/hp-health RESTART/ETC/INIT.D/HP-ASRD restart/etc/init.d/hp-snmp-agents Restartother servers cannot access [Email protected] libexec]#./check_hpasm-h xxx.xxx.xxx Critical-snmpwalk returns no product name (CPQSINFO-MIB), WRO ng devicebut the local can check out the data, so the SNMP configuration is incorrect. [Email protected] plugins-scripts]#/check_hpasm ok-system: ' ProLiant dl380p gen8 ', S/n: ' ******* ', ROM: ' P70 03/01/2 013 ', hardware working fine Configuring SNMP under Linux(can be copied from other consoles ) [Email protected] plugins-scripts]# vim/etc/snmp/snmpd.conf#add (online reference) # Sec.name Source Communitycom2sec notconfiguser [ control main machine ] Public. 1 indicates all device information View SystemView included. 1Modify Process checks(remove comments) # proc Mountd # proc NTALKD 4 # proc SendMail 10 1Modify the Executables/scripts configuration (remove comments) #exec Echotest/bin/echo Hello WorldModify Disk Checks configuration (remove comments) #disk/10000Modify the Load average checks configuration (remove comments) #load [[Email protected] plugins-scripts]# service snmpd restartother servers get information 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, + physical drivesNote : 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.rpmCp029394_ilo_interface.exeCp029429_ilo_management.exeCp030048_agent.exeHttp://www.hpiss.com/7740.html
(Nagios)-CHECK_HPASM[HP]