Added check in _global() for NOSUCHOBJECT response from SNMP
This commit is contained in:
4
Info.pm
4
Info.pm
@@ -1152,6 +1152,10 @@ sub _global{
|
|||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (defined $val and $val eq 'NOSUCHOBJECT'){
|
||||||
|
$DEBUG and print "SNMP::Info::_global($attr) NOSUCHOBJECT\n";
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
# Get the callback hash for data munging
|
# Get the callback hash for data munging
|
||||||
my $munge = $self->munge();
|
my $munge = $self->munge();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user