enh(pdu/apc): tune some labels (#2965)
This commit is contained in:
parent
dfb40890d6
commit
7a7f360e99
|
@ -249,7 +249,7 @@ sub check_rpdu2 {
|
|||
my $instance = $1;
|
||||
my $result = $options{snmp}->map_instance(mapping => $mapping_phase, results => $snmp_result->{$oid_rPDU2PhaseStatusEntry}, instance => $instance);
|
||||
|
||||
my $name = 'module ' . $result->{rPDU2PhaseStatusModule} . ' phase ' . $result->{rPDU2PhaseStatusNumber};
|
||||
my $name = 'mod' . $result->{rPDU2PhaseStatusModule} . 'phase' . $result->{rPDU2PhaseStatusNumber};
|
||||
$self->{phase}->{$name} = {
|
||||
display => $name,
|
||||
status => $result->{rPDU2PhaseStatusLoadState},
|
||||
|
@ -263,7 +263,7 @@ sub check_rpdu2 {
|
|||
my $instance = $1;
|
||||
my $result = $options{snmp}->map_instance(mapping => $mapping_bank, results => $snmp_result->{$oid_rPDU2BankStatusEntry}, instance => $instance);
|
||||
|
||||
my $name = 'module ' . $result->{rPDU2BankStatusModule} . ' num ' . $result->{rPDU2BankStatusNumber};
|
||||
my $name = 'mod' . $result->{rPDU2BankStatusModule} . 'bank' . $result->{rPDU2BankStatusNumber};
|
||||
$self->{bank}->{$name} = {
|
||||
display => $name,
|
||||
status => $result->{rPDU2BankStatusLoadState},
|
||||
|
|
Loading…
Reference in New Issue