You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fan Location Redundant Status Speed
Fan 1 System Yes OK 11%
Fan 2 System Yes OK 11%
Fan 3 System Yes OK 12%
Fan 4 System Yes OK 12%
Fan 5 System Yes OK 12%
Fan 6 System Yes OK 12%
check_hpasm:
CRITICAL - fan 1 (system) needs attention, fan 2 (system) needs attention, fan 3 (system) needs attention, fan 4 (system) needs attention, fan 5 (system) needs attention, fan 6 (system) needs attention, System: 'proliant dl380 gen10'
check_hpasm -v:
fan 1 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 2
fan 1 (system) needs attention
fan 2 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 3
fan 2 (system) needs attention
fan 3 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 4
fan 3 (system) needs attention
fan 4 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 5
fan 4 (system) needs attention
fan 5 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 6
fan 5 (system) needs attention
fan 6 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 1
fan 6 (system) needs attention
Fix:
# cpqHeFltTolFanSpeedValue => {
# 1 => "other",
# 2 => "normal",
# 3 => "high",
# },
sub check {
my $self = shift;
$self->blacklist('f', $self->{cpqHeFltTolFanIndex});
# $self->add_info(sprintf 'fan %d is %s, speed is %s, pctmax is %s%%, '.
$self->add_info(sprintf 'fan %d is %s, speed is %s%%, pctmax is %s%%, '.
'location is %s, redundance is %s, partner is %s',
$self->{cpqHeFltTolFanIndex}, $self->{cpqHeFltTolFanPresent},
$self->{cpqHeFltTolFanSpeed}, $self->{cpqHeFltTolFanPctMax},
$self->{cpqHeFltTolFanLocale}, $self->{cpqHeFltTolFanRedundant},
$self->{cpqHeFltTolFanRedundantPartner});
$self->add_extendedinfo(sprintf 'fan_%s=%d%%',
$self->{cpqHeFltTolFanIndex}, $self->{cpqHeFltTolFanPctMax});
if ($self->{cpqHeFltTolFanPresent} eq 'present') {
# if ($self->{cpqHeFltTolFanSpeed} eq 'high') {
if ($self->{cpqHeFltTolFanSpeed} > $self->{cpqHeFltTolFanPctMax}) {
$self->add_info(sprintf 'fan %d (%s) runs at high speed',
$self->{cpqHeFltTolFanIndex}, $self->{cpqHeFltTolFanLocale});
$self->add_message(CRITICAL, $self->{info});
# } elsif ($self->{cpqHeFltTolFanSpeed} ne 'normal') {
} elsif ($self->{cpqHeFltTolFanSpeed} == '0') {
$self->add_info(sprintf 'fan %d (%s) needs attention',
$self->{cpqHeFltTolFanIndex}, $self->{cpqHeFltTolFanLocale});
$self->add_message(CRITICAL, $self->{info});
}
check_hpasm:
OK - System: 'proliant dl380 gen10'
check_hpasm -v:
fan 1 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 2
fan 2 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 3
fan 3 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 4
fan 4 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 5
fan 5 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 6
fan 6 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 1
The text was updated successfully, but these errors were encountered:
Can you do me a favour? I plan a rewrite of this plugin, so it can be more easily be maintained. Can you run
snmpwalk -ObentU ... 1.3.6.1.2.1 > /tmp/hpilo.teanva.snmpwalk
snmpwalk -ObentU ... 1.3.6.1.4.1 >> /tmp/hpilo.teanva.snmpwalk
and mail me the snmpwalk-file to [email protected], so i can simulate the server. I currently have no access to any hp ilo.
SNMPv2-SMI::enterprises.232.6.2.6.7.1.6.0.1 = INTEGER: 12
SNMPv2-SMI::enterprises.232.6.2.6.7.1.6.0.2 = INTEGER: 12
SNMPv2-SMI::enterprises.232.6.2.6.7.1.6.0.3 = INTEGER: 12
SNMPv2-SMI::enterprises.232.6.2.6.7.1.6.0.4 = INTEGER: 12
SNMPv2-SMI::enterprises.232.6.2.6.7.1.6.0.5 = INTEGER: 12
SNMPv2-SMI::enterprises.232.6.2.6.7.1.6.0.6 = INTEGER: 14
ILO:
Fan Location Redundant Status Speed
Fan 1 System Yes OK 11%
Fan 2 System Yes OK 11%
Fan 3 System Yes OK 12%
Fan 4 System Yes OK 12%
Fan 5 System Yes OK 12%
Fan 6 System Yes OK 12%
check_hpasm:
CRITICAL - fan 1 (system) needs attention, fan 2 (system) needs attention, fan 3 (system) needs attention, fan 4 (system) needs attention, fan 5 (system) needs attention, fan 6 (system) needs attention, System: 'proliant dl380 gen10'
check_hpasm -v:
fan 1 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 2
fan 1 (system) needs attention
fan 2 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 3
fan 2 (system) needs attention
fan 3 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 4
fan 3 (system) needs attention
fan 4 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 5
fan 4 (system) needs attention
fan 5 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 6
fan 5 (system) needs attention
fan 6 is present, speed is value_12, pctmax is 50%, location is system, redundance is redundant, partner is 1
fan 6 (system) needs attention
Fix:
check_hpasm:
OK - System: 'proliant dl380 gen10'
check_hpasm -v:
fan 1 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 2
fan 2 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 3
fan 3 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 4
fan 4 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 5
fan 5 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 6
fan 6 is present, speed is 12%, pctmax is 50%, location is system, redundance is redundant, partner is 1
The text was updated successfully, but these errors were encountered: