parent
88502e2caa
commit
66363fbadf
|
@ -88,7 +88,7 @@ sub check {
|
|||
return if (scalar(keys %$result2) <= 0);
|
||||
|
||||
foreach my $key ($self->{snmp}->oid_lex_sort(keys %$result)) {
|
||||
/\.(\d+)$/;
|
||||
$key =~ /\.(\d+)$/;
|
||||
my $cpu_Index = $1;
|
||||
|
||||
my $cpu_Status = $result->{$_};
|
||||
|
|
|
@ -70,7 +70,7 @@ sub check {
|
|||
return if (scalar(keys %$result2) <= 0);
|
||||
|
||||
foreach my $key ($self->{snmp}->oid_lex_sort(keys %$result)) {
|
||||
/(\d+)\.(\d+)$/;
|
||||
$key =~ /(\d+)\.(\d+)$/;
|
||||
my ($chassis_Index, $fan_Index) = ($1, $2);
|
||||
my $instance = $chassis_Index . '.' . $fan_Index;
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ sub check {
|
|||
return if (scalar(keys %$result2) <= 0);
|
||||
|
||||
foreach my $key ($self->{snmp}->oid_lex_sort(keys %$result)) {
|
||||
/(\d+)\.(\d+)$/;
|
||||
$key =~ /(\d+)\.(\d+)$/;
|
||||
my ($chassis_Index, $psu_Index) = ($1, $2);
|
||||
my $instance = $chassis_Index . '.' . $psu_Index;
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ sub check {
|
|||
return if (scalar(keys %$result2) <= 0);
|
||||
|
||||
foreach my $key ($self->{snmp}->oid_lex_sort(keys %$result)) {
|
||||
/(\d+)\.(\d+)$/;
|
||||
$key =~ /(\d+)\.(\d+)$/;
|
||||
my ($chassis_Index, $temperature_Index) = ($1, $2);
|
||||
my $instance = $chassis_Index . '.' . $temperature_Index;
|
||||
|
||||
|
|
Loading…
Reference in New Issue