(Nagios)-check_hpasm [HP], nagios-check_hpasm
Nagios Check_hp November 18, 2014 https: // IP: 2381 [root @ nagios ~] # Tar check_hp_bladechassis-1.0.1.tar.gz zxvf [root @ nagios check_hp_bladechassis-1.0.1] #. /check_hp_bladechassis-H xxx. xxx. xxx. xxx snmp error: Can't determine model name [root @ nagios check_hp_bladechassis-1.0.1] # snmpwalk-OS-c public-v 1 xxx. xxx. xxx [root @ nagios libexec] #. /check_hpasm-H xxx. xxx. xxx-C public CRITICAL-snmpwalk returns no product name (cpqsinfo-mib), wrong device installs il on windows O Driver (), install snmpand then agent(cp024529_log_th.exe cp024617_ilo_th.exe cp022559_hp_agents_w2008.exe) [root @ nagios libexec] #. /check_hpasm-H xxx. xxx. xxx OK-System: 'proliant dl1_p gen8', S/N: '********', ROM: 'p70 03/01/2013 ', hardware working fine, da: 2 logical drives, 16 physical drivesRedhat system install agent [root @ localhost ~] # Rpm-ivh hpacucli-9.40-12.0.x86_64.rpm (not required) rpm-ivh hp-health-9.50-1631.33.rhel5.x86_64.rpm (required) rpm-ivh hp-snmp-agents-9.50-2564.34.rhel5.x86_64.rpm (required)/etc/init. d/hp-snmp-agents start must be configured with snmp/sbin/hpsnmpconfig/etc/init. d/hp-health restart/etc/init. d/hp-asrd restart/etc/init. d/hp-snmp-agents restart other servers cannot access [root @ nagios libexec] #. /check_hpasm-H xxx. xxx. xxx CRITICAL-snmpwalk return S no product name (cpqsinfo-mib), wrong device can check data locally, so the snmp configuration is incorrect. [Root @ localhost plugins-scripts] #. /check_hpasm OK-System: 'proliant dl1_p gen8', S/N: '********', ROM: 'p70 03/01/2013 ', configure snmp in hardware working fineLinux (which can be copied from other hosts) [root @ localhost plugins-scripts] # vim/etc/snmp/snmpd. conf # add (online reference)