diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index b66f32b1ed..7d5cbcb3f8 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2014-04-03 Ramon Novoa + + * util/recon_scripts/snmp-recon.pl: Remove the symbolic labels from + enumeration values. + 2014-04-03 Ramon Novoa * util/recon_scripts/snmp-recon.pl: Fixed a typo. diff --git a/pandora_server/util/recon_scripts/snmp-recon.pl b/pandora_server/util/recon_scripts/snmp-recon.pl index a6fb4697bb..81bffb9af6 100755 --- a/pandora_server/util/recon_scripts/snmp-recon.pl +++ b/pandora_server/util/recon_scripts/snmp-recon.pl @@ -163,7 +163,7 @@ sub responds_to_snmp($) { my ($target) = @_; foreach my $community (@SNMP_COMMUNITIES) { - `snmpwalk -t0.1 -v1 -On -c $community $target .0 2>/dev/null`; + `snmpwalk -t0.1 -v1 -On -Oe -c $community $target .0 2>/dev/null`; if ($? == 0) { $COMMUNITIES{$target} = $community; return $community; @@ -180,7 +180,7 @@ sub snmp_get($$$) { my ($target, $community, $oid) = @_; my @output; - @output = `snmpwalk -t0.1 -v1 -On -c $community $target $oid 2>/dev/null`; + @output = `snmpwalk -t0.1 -v1 -On -Oe -c $community $target $oid 2>/dev/null`; return @output; }