mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-06-04 22:00:40 +02:00
Fix #794
This commit is contained in:
parent
b9c1a2662c
commit
e4afce1baf
@ -72,8 +72,6 @@ sub run {
|
|||||||
my $oid_hrPrinterDetectedErrorState = '.1.3.6.1.2.1.25.3.5.1.2';
|
my $oid_hrPrinterDetectedErrorState = '.1.3.6.1.2.1.25.3.5.1.2';
|
||||||
my $result = $self->{snmp}->get_table(oid => $oid_hrPrinterDetectedErrorState, nothing_quit => 1);
|
my $result = $self->{snmp}->get_table(oid => $oid_hrPrinterDetectedErrorState, nothing_quit => 1);
|
||||||
|
|
||||||
use Data::Dumper;
|
|
||||||
print Data::Dumper::Dumper($result);
|
|
||||||
foreach (keys %$result) {
|
foreach (keys %$result) {
|
||||||
# 16 bits value
|
# 16 bits value
|
||||||
my $value = unpack('S', $result->{$_});
|
my $value = unpack('S', $result->{$_});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user