enhance cisco standard sensor walk
This commit is contained in:
parent
7b4320cdee
commit
96dbed88bf
|
@ -115,7 +115,8 @@ my $oid_entPhysicalDescr = '.1.3.6.1.2.1.47.1.1.1.1.2';
|
||||||
sub load {
|
sub load {
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
|
|
||||||
push @{$self->{request}}, { oid => $oid_entSensorValueEntry }, { oid => $oid_entSensorThresholdEntry };
|
push @{$self->{request}}, { oid => $oid_entSensorValueEntry, end => $mapping->{entSensorStatus}->{oid} },
|
||||||
|
{ oid => $oid_entSensorThresholdEntry, end => $mapping2->{entSensorThresholdValue}->{oid} };
|
||||||
}
|
}
|
||||||
|
|
||||||
sub get_default_warning_threshold {
|
sub get_default_warning_threshold {
|
||||||
|
|
Loading…
Reference in New Issue